platform/upstream/opencv.git
10 years agoMerge pull request #2893 from ilya-lavrenov:tapi_vector_width_intel
Vadim Pisarevsky [Thu, 18 Sep 2014 12:05:24 +0000 (12:05 +0000)]
Merge pull request #2893 from ilya-lavrenov:tapi_vector_width_intel

10 years agoMerge pull request #3232 from Chuanbo-Weng:master
Vadim Pisarevsky [Thu, 18 Sep 2014 11:48:29 +0000 (11:48 +0000)]
Merge pull request #3232 from Chuanbo-Weng:master

10 years agoMerge pull request #3180 from mshabunin:java_ptr_support
Vadim Pisarevsky [Wed, 17 Sep 2014 12:07:43 +0000 (12:07 +0000)]
Merge pull request #3180 from mshabunin:java_ptr_support

10 years agoMerge pull request #3230 from znah:ipp_median_fix
Vadim Pisarevsky [Wed, 17 Sep 2014 12:06:31 +0000 (12:06 +0000)]
Merge pull request #3230 from znah:ipp_median_fix

10 years agoUse vload to read unaligned data instead of dereference operator.
Chuanbo Weng [Wed, 17 Sep 2014 11:28:07 +0000 (19:28 +0800)]
Use vload to read unaligned data instead of dereference operator.

According to opencl 1.2 spec 6.1.5:
    For arguments to a __kernel function declared to be a pointer to a
    data type, the OpenCL compiler can assume that the pointee is always
    appropriately aligned as required by the data type. The behavior of
    an unaligned load or store is undefined, except for the
    vloadn, vload_halfn, vstoren, and vstore_halfn functions defined in
    section 6.12.7.

Original code read data of type T from address not aligned by multiple
of sizeof(T), so the result is incorrect. With this patch, the cases
./opencv_perf_imgproc
--gtest_filter=OCL_ImgSize_TmplSize_Method_MatType_MatchTemplate.MatchTemplate/*
could work well with beignet 0.9.3.

Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
10 years agoMerge pull request #3231 from vpisarev:reenable_cpp_samples
Vadim Pisarevsky [Wed, 17 Sep 2014 10:53:21 +0000 (10:53 +0000)]
Merge pull request #3231 from vpisarev:reenable_cpp_samples

10 years agoMerge pull request #3229 from the-glu:master
Vadim Pisarevsky [Wed, 17 Sep 2014 10:02:36 +0000 (10:02 +0000)]
Merge pull request #3229 from the-glu:master

10 years agoMerge pull request #3220 from asmorkalov:ocv_gstreamer
Vadim Pisarevsky [Wed, 17 Sep 2014 09:55:49 +0000 (09:55 +0000)]
Merge pull request #3220 from asmorkalov:ocv_gstreamer

10 years agoMerge pull request #3215 from dmitrygribanov:dg/stitching-wave-correction-bugfix
Vadim Pisarevsky [Wed, 17 Sep 2014 09:52:34 +0000 (09:52 +0000)]
Merge pull request #3215 from dmitrygribanov:dg/stitching-wave-correction-bugfix

10 years agoMerge pull request #3226 from whoshuu:patch-1
Vadim Pisarevsky [Wed, 17 Sep 2014 09:52:01 +0000 (09:52 +0000)]
Merge pull request #3226 from whoshuu:patch-1

10 years agoMerge pull request #3227 from PhilLab:patch-3
Vadim Pisarevsky [Wed, 17 Sep 2014 09:50:43 +0000 (09:50 +0000)]
Merge pull request #3227 from PhilLab:patch-3

10 years agothe samples from the main repository should not depend on modules from opencv_contrib
Vadim Pisarevsky [Wed, 17 Sep 2014 09:49:48 +0000 (13:49 +0400)]
the samples from the main repository should not depend on modules from opencv_contrib

10 years agofix: ippiFilterMedianBorder sometimes crash when doing in-place filtering
Alexander Mordvintsev [Wed, 17 Sep 2014 09:26:39 +0000 (13:26 +0400)]
fix: ippiFilterMedianBorder sometimes crash when doing in-place filtering

10 years agoFix typo in error for extrinsic parameters
Maximilien Cuony [Wed, 17 Sep 2014 07:32:19 +0000 (09:32 +0200)]
Fix typo in error for extrinsic parameters

10 years agoDoc: Fixing indentation
Philipp Hasper [Wed, 17 Sep 2014 07:29:17 +0000 (09:29 +0200)]
Doc: Fixing indentation

10 years agoFix implicit narrowing error in initializer list
Huu Nguyen [Tue, 16 Sep 2014 22:30:10 +0000 (15:30 -0700)]
Fix implicit narrowing error in initializer list

The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: narrowing conversion of 'PyInt_AsLong(((PyObject*)o))' from 'long int' to 'double' inside { }".

Tested on Clang 5.1.0 and Mac OS X 10.9.4.

10 years agoMerge pull request #3208 from vbystricky:oclopt_Filter2D
Alexander Alekhin [Tue, 16 Sep 2014 13:03:45 +0000 (13:03 +0000)]
Merge pull request #3208 from vbystricky:oclopt_Filter2D

10 years agoCode review fixes.
Alexander Smorkalov [Tue, 16 Sep 2014 09:57:44 +0000 (13:57 +0400)]
Code review fixes.

10 years agoSeveral fixes for GStreamer support in OpenCV
Alexander Smorkalov [Wed, 10 Sep 2014 06:38:43 +0000 (10:38 +0400)]
Several fixes for GStreamer support in OpenCV

- Accurate ASYC task handling for both GStreamer generations.
- Correct video duration request for videos.
- More accurate pipeline destruction.
- Correct color space conversion plugin for GStreamer 1.0.

10 years agoMerge pull request #3218 from berak:docfix_colormap_30
Vadim Pisarevsky [Mon, 15 Sep 2014 07:34:16 +0000 (07:34 +0000)]
Merge pull request #3218 from berak:docfix_colormap_30

10 years agoMerge pull request #3175 from avdmitry:modern_doc_theme
Vadim Pisarevsky [Sun, 14 Sep 2014 20:10:36 +0000 (20:10 +0000)]
Merge pull request #3175 from avdmitry:modern_doc_theme

10 years agosmall corrections to applyColorMap docs
berak [Sun, 14 Sep 2014 08:56:22 +0000 (10:56 +0200)]
small corrections to applyColorMap docs

10 years agoMerge pull request #3126 from avdmitry:move_KDTree_to_ml
Vadim Pisarevsky [Sun, 14 Sep 2014 18:57:23 +0000 (18:57 +0000)]
Merge pull request #3126 from avdmitry:move_KDTree_to_ml

10 years agoMerge pull request #3200 from pierriko:master
Vadim Pisarevsky [Sun, 14 Sep 2014 18:50:33 +0000 (18:50 +0000)]
Merge pull request #3200 from pierriko:master

10 years agoMerge pull request #3201 from PhilLab:patch-3
Vadim Pisarevsky [Sun, 14 Sep 2014 18:49:35 +0000 (18:49 +0000)]
Merge pull request #3201 from PhilLab:patch-3

10 years agoMerge pull request #3206 from stonier:parallel_qt
Vadim Pisarevsky [Sun, 14 Sep 2014 18:48:51 +0000 (18:48 +0000)]
Merge pull request #3206 from stonier:parallel_qt

10 years agoMerge pull request #3209 from PhilLab:patch-5
Vadim Pisarevsky [Sun, 14 Sep 2014 18:47:21 +0000 (18:47 +0000)]
Merge pull request #3209 from PhilLab:patch-5

10 years agoMerge pull request #3205 from parafin:ximea_unix-3.0
Vadim Pisarevsky [Sun, 14 Sep 2014 18:44:41 +0000 (18:44 +0000)]
Merge pull request #3205 from parafin:ximea_unix-3.0

10 years agoMerge pull request #3203 from parafin:bug_3858-3.0
Vadim Pisarevsky [Sun, 14 Sep 2014 18:44:06 +0000 (18:44 +0000)]
Merge pull request #3203 from parafin:bug_3858-3.0

10 years agoMerge pull request #3207 from jamoque:more-better-fixes
Vadim Pisarevsky [Sun, 14 Sep 2014 18:41:05 +0000 (18:41 +0000)]
Merge pull request #3207 from jamoque:more-better-fixes

10 years agoMerge pull request #3213 from mshabunin:png_iccp_strip
Vadim Pisarevsky [Sun, 14 Sep 2014 18:39:33 +0000 (18:39 +0000)]
Merge pull request #3213 from mshabunin:png_iccp_strip

10 years agominor change: moved algorithm type to the end of params
Dmitriy Anisimov [Sat, 13 Sep 2014 11:06:07 +0000 (15:06 +0400)]
minor change: moved algorithm type to the end of params

10 years agoFeature based stitching's wave correction bugfix.
Dmitry Gribanov [Fri, 12 Sep 2014 14:07:54 +0000 (18:07 +0400)]
Feature based stitching's wave correction bugfix.

When we have similar matrices in input, then algorithm returns matrices
with NaN values.

10 years agoStripped iCCP chunk from png files
Maksim Shabunin [Fri, 12 Sep 2014 12:24:26 +0000 (16:24 +0400)]
Stripped iCCP chunk from png files

10 years agoMerge pull request #3198 from mshabunin:java_test_fix
Andrey Pavlenko [Thu, 11 Sep 2014 16:15:25 +0000 (16:15 +0000)]
Merge pull request #3198 from mshabunin:java_test_fix

10 years agoOptimization OpenCL version of Filter2D
vbystricky [Wed, 10 Sep 2014 11:02:51 +0000 (15:02 +0400)]
Optimization OpenCL version of Filter2D

10 years agoFixed some failing java tests
Maksim Shabunin [Thu, 11 Sep 2014 07:56:05 +0000 (11:56 +0400)]
Fixed some failing java tests

- fixed lena.png extension
- fixed getTextSize wrapper
- added junit html report generation

10 years agoVisual Studio tutorial: updated library names
Philipp Hasper [Wed, 10 Sep 2014 17:12:06 +0000 (19:12 +0200)]
Visual Studio tutorial: updated library names

10 years agoMerge pull request #3189 from mshabunin:python_cross_build
Vadim Pisarevsky [Wed, 10 Sep 2014 07:57:09 +0000 (07:57 +0000)]
Merge pull request #3189 from mshabunin:python_cross_build

10 years agoMerge pull request #3196 from PhilLab:patch-4
Vadim Pisarevsky [Wed, 10 Sep 2014 07:56:13 +0000 (07:56 +0000)]
Merge pull request #3196 from PhilLab:patch-4

10 years agochanging many instances of the same grammar error in documentation
jeremy [Tue, 9 Sep 2014 22:03:59 +0000 (17:03 -0500)]
changing many instances of the same grammar error in documentation

10 years agofixed support for parallelised imshows with qt via the gui receiver.
Daniel Stonier [Mon, 8 Sep 2014 18:20:32 +0000 (03:20 +0900)]
fixed support for parallelised imshows with qt via the gui receiver.

10 years agoXIMEA cam support: allow on OS X too
Igor Kuzmin [Tue, 9 Sep 2014 15:25:14 +0000 (19:25 +0400)]
XIMEA cam support: allow on OS X too

10 years agoXIMEA cam support: use correct library for 64 bit Linux
Igor Kuzmin [Tue, 9 Sep 2014 15:24:16 +0000 (19:24 +0400)]
XIMEA cam support: use correct library for 64 bit Linux

10 years agofix for issue 3858 (remove unneeded #include's)
Igor Kuzmin [Tue, 9 Sep 2014 15:22:20 +0000 (19:22 +0400)]
fix for issue 3858 (remove unneeded #include's)

also use correct include path on Linux

10 years agoUpdated PnP parameter documentation
Philipp Hasper [Tue, 9 Sep 2014 10:24:05 +0000 (12:24 +0200)]
Updated PnP parameter documentation

10 years agoMerge pull request #3199 from apavlenko:fix_docs_typo
Alexander Alekhin [Tue, 9 Sep 2014 09:18:43 +0000 (09:18 +0000)]
Merge pull request #3199 from apavlenko:fix_docs_typo

10 years ago[samples/pyhton] fix common {LINE->CV}_AA
Pierrick Koch [Tue, 9 Sep 2014 09:04:24 +0000 (11:04 +0200)]
[samples/pyhton] fix common {LINE->CV}_AA

10 years agotypo: rect -> roi
Andrey Pavlenko [Tue, 9 Sep 2014 08:25:14 +0000 (12:25 +0400)]
typo: rect -> roi

10 years agoFixed android samples build
Maksim Shabunin [Mon, 8 Sep 2014 18:34:55 +0000 (22:34 +0400)]
Fixed android samples build

10 years agoFixed android java test build
Maksim Shabunin [Mon, 8 Sep 2014 15:21:32 +0000 (19:21 +0400)]
Fixed android java test build

10 years agoFixed java tests build
Maksim Shabunin [Mon, 8 Sep 2014 13:35:55 +0000 (17:35 +0400)]
Fixed java tests build

- disabled xfeature2d dependency for java wrappers
- fixed java wrappers build after cmake rerun
- disabled opencv_ml tests temporarily
- fixed Imgproc usage in java tests

10 years agodisabling java bindings for xfeatures2d module due to build errors
Andrey Pavlenko [Thu, 4 Sep 2014 14:32:48 +0000 (18:32 +0400)]
disabling java bindings for xfeatures2d module due to build errors

10 years agoFixing documentation links
Philipp Hasper [Mon, 8 Sep 2014 12:41:29 +0000 (14:41 +0200)]
Fixing documentation links

10 years agoMerge pull request #3192 from jkua:master
Alexander Alekhin [Mon, 8 Sep 2014 11:02:16 +0000 (11:02 +0000)]
Merge pull request #3192 from jkua:master

10 years agoMerge pull request #3195 from akarsakov:ocl_rm_mul24
Alexander Alekhin [Mon, 8 Sep 2014 11:00:59 +0000 (11:00 +0000)]
Merge pull request #3195 from akarsakov:ocl_rm_mul24

10 years agoRemove mul24 since id can be larger 2^23
Alexander Karsakov [Mon, 8 Sep 2014 09:02:50 +0000 (13:02 +0400)]
Remove mul24 since id can be larger 2^23

10 years agott & header background colors changed
Dmitriy Anisimov [Sat, 6 Sep 2014 10:15:04 +0000 (14:15 +0400)]
tt & header background colors changed

10 years agomoving algorithm type to param
Dmitriy Anisimov [Sat, 6 Sep 2014 05:29:32 +0000 (09:29 +0400)]
moving algorithm type to param

10 years agofixed all known issues
Dmitriy Anisimov [Fri, 5 Sep 2014 17:56:25 +0000 (21:56 +0400)]
fixed all known issues

10 years agoFixed bad non-ASCII character in how_to_scan_images.cpp which causes a compile error
John Kua [Thu, 4 Sep 2014 23:36:36 +0000 (16:36 -0700)]
Fixed bad non-ASCII character in how_to_scan_images.cpp which causes a compile error

10 years agoMerge pull request #3182 from berak:videowriter_docfix_30
Vadim Pisarevsky [Thu, 4 Sep 2014 17:09:18 +0000 (17:09 +0000)]
Merge pull request #3182 from berak:videowriter_docfix_30

10 years agoMerge pull request #3167 from akarsakov:ocl_rm_clFinish
Vadim Pisarevsky [Thu, 4 Sep 2014 17:00:10 +0000 (17:00 +0000)]
Merge pull request #3167 from akarsakov:ocl_rm_clFinish

10 years agoadding fourcc to VideoWriter docs
berak [Thu, 4 Sep 2014 12:59:44 +0000 (14:59 +0200)]
adding fourcc to VideoWriter docs

underline

10 years agoChanged cmake python library search startegy for crosscompiling
Maksim Shabunin [Thu, 4 Sep 2014 12:28:11 +0000 (16:28 +0400)]
Changed cmake python library search startegy for crosscompiling

10 years agoMerge pull request #3186 from akarsakov:ocl_fixes
Vadim Pisarevsky [Thu, 4 Sep 2014 08:54:24 +0000 (08:54 +0000)]
Merge pull request #3186 from akarsakov:ocl_fixes

10 years agoMerge pull request #3185 from ElenaGvozdeva:ocl_norm
Vadim Pisarevsky [Thu, 4 Sep 2014 08:53:47 +0000 (08:53 +0000)]
Merge pull request #3185 from ElenaGvozdeva:ocl_norm

10 years agochanged optimal vector width for Intel
Ilya Lavrenov [Wed, 3 Sep 2014 09:04:24 +0000 (13:04 +0400)]
changed optimal vector width for Intel

10 years agodisabled IPP acceleration for 3-channel norms and for CV_8S only for APPLE
Elena Gvozdeva [Tue, 2 Sep 2014 11:44:07 +0000 (15:44 +0400)]
disabled IPP acceleration for 3-channel norms and for CV_8S only for APPLE

10 years agodifferent enhancements
Dmitriy Anisimov [Wed, 3 Sep 2014 18:25:08 +0000 (22:25 +0400)]
different enhancements

10 years agoFixed calculation of l_stack_size
Alexander Karsakov [Tue, 2 Sep 2014 13:25:25 +0000 (17:25 +0400)]
Fixed calculation of l_stack_size

10 years agoMerge pull request #3187 from akarsakov:ocl_disabled_minmaxidx
Alexander Alekhin [Wed, 3 Sep 2014 12:56:24 +0000 (12:56 +0000)]
Merge pull request #3187 from akarsakov:ocl_disabled_minmaxidx

10 years agoRemoved redundant clFinish() after clEnqueueUnmapMemObject()
Alexander Karsakov [Thu, 28 Aug 2014 14:30:05 +0000 (18:30 +0400)]
Removed redundant clFinish() after clEnqueueUnmapMemObject()

sss

10 years agoDisabled minMaxIdx for 32FC1 since it occasionally fails on AMD devices (e.g. A10...
Alexander Karsakov [Wed, 3 Sep 2014 07:40:20 +0000 (11:40 +0400)]
Disabled minMaxIdx for 32FC1 since it occasionally fails on AMD devices (e.g. A10-6800K)

10 years agoMerge pull request #3184 from ilya-lavrenov:arm
Vadim Pisarevsky [Wed, 3 Sep 2014 05:40:19 +0000 (05:40 +0000)]
Merge pull request #3184 from ilya-lavrenov:arm

10 years agoMerge pull request #3174 from rokm:samples-fix
Vadim Pisarevsky [Tue, 2 Sep 2014 15:52:56 +0000 (15:52 +0000)]
Merge pull request #3174 from rokm:samples-fix

10 years agoMerge pull request #3181 from akarsakov:ocl_mul_scale_test_fix
Alexander Alekhin [Tue, 2 Sep 2014 13:46:46 +0000 (13:46 +0000)]
Merge pull request #3181 from akarsakov:ocl_mul_scale_test_fix

10 years agoChanged check to NORM_RELATIVE for OCL.Mat_Scalar_Scale tests
Alexander Karsakov [Mon, 1 Sep 2014 13:21:13 +0000 (17:21 +0400)]
Changed check to NORM_RELATIVE for OCL.Mat_Scalar_Scale tests

10 years agoAdded workaround for Nvidia: take into account that 3-channel vector type takes 4...
Alexander Karsakov [Tue, 2 Sep 2014 08:38:02 +0000 (12:38 +0400)]
Added workaround for Nvidia: take into account that 3-channel vector type takes 4*elem_size in local memory.

10 years agoFixed BORDER_REFLECT and BORDER_REFLECT_101 extrapolation for case x > 2*maxV
Alexander Karsakov [Tue, 2 Sep 2014 07:53:31 +0000 (11:53 +0400)]
Fixed BORDER_REFLECT and BORDER_REFLECT_101 extrapolation for case x > 2*maxV

10 years agoMerge pull request #3169 from znah:py_wrap
Vadim Pisarevsky [Mon, 1 Sep 2014 18:01:12 +0000 (18:01 +0000)]
Merge pull request #3169 from znah:py_wrap

10 years agoMerge pull request #3179 from alekcac:update_in_youtube_url
Vadim Pisarevsky [Mon, 1 Sep 2014 18:00:13 +0000 (18:00 +0000)]
Merge pull request #3179 from alekcac:update_in_youtube_url

10 years agoNEON impl on cv::convertScaleAba CV_32f
Ilya Lavrenov [Sun, 31 Aug 2014 10:54:12 +0000 (10:54 +0000)]
NEON impl on cv::convertScaleAba CV_32f

10 years agoMerge pull request #3170 from ElenaGvozdeva:ocl_fix
Vadim Pisarevsky [Mon, 1 Sep 2014 10:40:02 +0000 (10:40 +0000)]
Merge pull request #3170 from ElenaGvozdeva:ocl_fix

10 years agoMerge pull request #3173 from rokm:cuda-6.5
Vadim Pisarevsky [Mon, 1 Sep 2014 10:38:43 +0000 (10:38 +0000)]
Merge pull request #3173 from rokm:cuda-6.5

10 years agoMerge pull request #3166 from akarsakov:ocl_native_sqrt
Vadim Pisarevsky [Mon, 1 Sep 2014 10:36:50 +0000 (10:36 +0000)]
Merge pull request #3166 from akarsakov:ocl_native_sqrt

10 years agoMerge pull request #3176 from ilya-lavrenov:ipp_arm
Alexander Alekhin [Mon, 1 Sep 2014 09:56:34 +0000 (09:56 +0000)]
Merge pull request #3176 from ilya-lavrenov:ipp_arm

10 years agoremove structured_edge_detection.hpp from blacklist
Alexander Mordvintsev [Thu, 28 Aug 2014 15:15:43 +0000 (19:15 +0400)]
remove structured_edge_detection.hpp from blacklist
don't discard pure virtual methods in hdr_parser.py (was broken anyway)

10 years agodon't use IPP on ARM
Ilya Lavrenov [Sun, 31 Aug 2014 10:54:12 +0000 (10:54 +0000)]
don't use IPP on ARM

10 years agoupdated links to the official OpenCV youtube channel
Alexander Shishkov [Mon, 1 Sep 2014 07:28:43 +0000 (11:28 +0400)]
updated links to the official OpenCV youtube channel

10 years agoAdded Ptr<T> support to Java wrappers
Maksim Shabunin [Fri, 29 Aug 2014 14:06:16 +0000 (18:06 +0400)]
Added Ptr<T> support to Java wrappers

10 years agoMerge pull request #3177 from PhilLab:patch-3
Vadim Pisarevsky [Mon, 1 Sep 2014 06:16:29 +0000 (06:16 +0000)]
Merge pull request #3177 from PhilLab:patch-3

10 years agoremoved kdtree declaration from interface
Dmitriy Anisimov [Sun, 31 Aug 2014 17:39:47 +0000 (21:39 +0400)]
removed kdtree declaration from interface

10 years agoslight changes, theme become more similar with current
Dmitriy Anisimov [Sun, 31 Aug 2014 14:12:34 +0000 (18:12 +0400)]
slight changes, theme become more similar with current

10 years agoFixing Matx ostream operator
Philipp Hasper [Sun, 31 Aug 2014 12:37:43 +0000 (14:37 +0200)]
Fixing Matx ostream operator

cv::Matx could not be converted to c::Mat automatically

10 years agoinitial commit
Dmitriy Anisimov [Sat, 30 Aug 2014 08:55:45 +0000 (12:55 +0400)]
initial commit

10 years agosamples: gpu: performance: SURF is now part of opencv_xfeatures2d
Rok Mandeljc [Fri, 29 Aug 2014 22:58:36 +0000 (00:58 +0200)]
samples: gpu: performance: SURF is now part of opencv_xfeatures2d

10 years agosamples: gpu: performance: BackgroundSubtractorMOG is now part of opencv_bgsegm module
Rok Mandeljc [Fri, 29 Aug 2014 22:55:06 +0000 (00:55 +0200)]
samples: gpu: performance: BackgroundSubtractorMOG is now part of opencv_bgsegm module

10 years agosamples: gpu: performance: fix include path for opencv_xfeatures2d
Rok Mandeljc [Fri, 29 Aug 2014 22:49:56 +0000 (00:49 +0200)]
samples: gpu: performance: fix include path for opencv_xfeatures2d

As opencv_xfeatures2d is part of opencv-contrib and not opencv repository,
${OpenCV_SOURCE_DIR}/modules/modules/include is not a correct include
path - use ${opencv_xfeatures2d_SOURCE_DIR}/include instead

10 years agosamples: gpu: super_resolution: disable simple optical flow
Rok Mandeljc [Fri, 29 Aug 2014 22:15:23 +0000 (00:15 +0200)]
samples: gpu: super_resolution: disable simple optical flow

The cv::superres::createOptFlow_Simple() function along with the
simple optical flow class implementation is currently commented out
in the superres module's code, so comment it out in the example as well.