Skip to content

OpenCL based HLS and HSV conversions fail with "Invalid number of channels in output image" #22770

@kallaballa

Description

@kallaballa

System Information

OpenCV version: OpenCV 4.x branch (2aad039)
Operating System / Platform: openSUSE Tumbleweed (Version: 20221102)
Compiler & compiler version: g++ (SUSE Linux) 12.2.1 20221020 [revision 0aaef83351473e8f4eb774f8f999bbe87a4866d7]

Detailed description

I'd like to do color conversions between BGR/HLS and BGR/HSV using OpenCL but the OclHelper raises an error.

In short:

OpenCV(4.6.0-dev) Error: Unspecified error (> Invalid number of channels in output image:
>     'VDcn::contains(dcn)'
> where
>     'dcn' is 0
) in cv::OclHelper<VScn, VDcn, VDepth, sizePolicy>::OclHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<3>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = cv::impl::<unnamed>::NONE; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&], file /home/elchaschab/devel/opencv/modules/imgproc/src/color.hpp, line 229

The full log with debug logging enabled:

OpenCV build configuration is:

General configuration for OpenCV 4.6.0-dev =====================================
  Version control:               4.6.0-516-g9a73f5664d

  Extra modules:
    Location (extra):            /home/elchaschab/devel/opencv_contrib-4.x/modules
    Version control (extra):     unknown

  Platform:
    Timestamp:                   2022-10-26T21:10:43Z
    Host:                        Linux 6.0.3-1-default x86_64
    CMake:                       3.24.2
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/gmake
    Configuration:               Debug

  CPU/HW features:
    Baseline:                    SSE SSE2 SSE3
      requested:                 SSE3
    Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
      requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
      SSE4_1 (16 files):         + SSSE3 SSE4_1
      SSE4_2 (1 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
      FP16 (0 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
      AVX (4 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
      AVX2 (32 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
      AVX512_SKX (5 files):      + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

  C/C++:
    Built as dynamic libs?:      YES
    C++ standard:                11
    C++ Compiler:                /usr/bin/c++  (ver 12.2.1)
    C++ flags (Release):         -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  /usr/bin/cc
    C flags (Release):           -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined  
    Linker flags (Debug):        -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined  
    ccache:                      NO
    Precompiled headers:         NO
    Extra dependencies:          dl m pthread rt
    3rdparty dependencies:

  OpenCV modules:
    To be built:                 aruco barcode bgsegm bioinspired calib3d ccalib core cvv datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
    Disabled:                    world
    Disabled by dependency:      -
    Unavailable:                 alphamat cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev hdf java julia matlab ovis python2 sfm ts viz
    Applications:                apps
    Documentation:               NO
    Non-free algorithms:         NO

  GUI:                           QT5
    QT:                          YES (ver 5.15.6 )
      QT OpenGL support:         YES (Qt5::OpenGL 5.15.6)
    GTK+:                        YES (ver 3.24.34)
      GThread :                  YES (ver 2.74.0)
      GtkGlExt:                  YES (ver 1.2.0)
    OpenGL support:              YES (/lib64/libGL.so /lib64/libGLU.so)
    VTK support:                 NO

  Media I/O: 
    ZLib:                        /lib64/libz.so (ver 1.2.12)
    JPEG:                        /lib64/libjpeg.so (ver 62)
    WEBP:                        /lib64/libwebp.so (ver encoder: 0x020f)
    PNG:                         /lib64/libpng.so (ver 1.6.38)
    TIFF:                        /lib64/libtiff.so (ver 42 / 4.4.0)
    JPEG 2000:                   OpenJPEG (ver 2.5.0)
    OpenEXR:                     build (ver 2.3.0)
    HDR:                         YES
    SUNRASTER:                   YES
    PXM:                         YES
    PFM:                         YES

  Video I/O:
    DC1394:                      YES (2.2.6)
    FFMPEG:                      YES
      avcodec:                   YES (59.37.100)
      avformat:                  YES (59.27.100)
      avutil:                    YES (57.28.100)
      swscale:                   YES (6.7.100)
      avresample:                NO
    GStreamer:                   YES (1.20.4)
    v4l/v4l2:                    YES (linux/videodev2.h)

  Parallel framework:            pthreads

  Trace:                         YES (with Intel ITT)

  Other third-party libraries:
    Intel IPP:                   2020.0.0 Gold [2020.0.0]
           at:                   /home/elchaschab/devel/opencv/build/3rdparty/ippicv/ippicv_lnx/icv
    Intel IPP IW:                sources (2020.0.0)
              at:                /home/elchaschab/devel/opencv/build/3rdparty/ippicv/ippicv_lnx/iw
    VA:                          YES
    Lapack:                      YES (/lib64/libopenblas.so)
    Eigen:                       NO
    Custom HAL:                  NO
    Protobuf:                    build (3.19.1)

  OpenCL:                        YES (SVM INTELVA)
    Include path:                /home/elchaschab/devel/opencv/3rdparty/include/opencl/1.2
    Link libraries:              Dynamic load

  Python 3:
    Interpreter:                 /usr/bin/python3 (ver 3.10.7)
    Libraries:                   /lib64/libpython3.10.so (ver 3.10.7)
    numpy:                       /usr/lib64/python3.10/site-packages/numpy/core/include (ver 1.21.6)
    install path:                lib/python3.10/site-packages/cv2/python-3.10

  Python (for build):            /usr/bin/python2.7

  Java:                          
    ant:                         NO
    JNI:                         NO
    Java wrappers:               NO
    Java tests:                  NO

  Install to:                    /usr/local
-----------------------------------------------------------------


void cv::ocl::setUseOpenCL(bool)
    static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrentRef()
bool cv::ocl::haveOpenCL()
    Init_OpenCL_Runtime
[ INFO:0@0.007] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (1186) haveOpenCL Initialize OpenCL runtime...
[ INFO:0@0.036] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (1192) haveOpenCL OpenCL: found 1 platforms
static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrent()
    bool cv::ocl::haveOpenCL()
[ INFO:0@0.036] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (984) getInitializedExecutionContext OpenCL: initializing thread execution context
[ INFO:0@0.036] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (994) getInitializedExecutionContext OpenCL: creating new execution context...
[ INFO:0@0.037] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (1012) getInitializedExecutionContext OpenCL: device=Intel(R) Iris(R) Xe Graphics [0x9a40]
[ INFO:0@0.037] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (5370) __init_buffer_pools OpenCL: Initializing buffer pool for context@0 with max capacity: poolSize=134217728 poolSizeHostPtr=134217728
cv::UMat& cv::UMat::setTo(cv::InputArray, cv::InputArray)
    void (* cv::getConvertFunc(int, int))(const uchar*, size_t, const uchar*, size_t, uchar*, size_t, Size, void*)
[DEBUG:0@0.041] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (324) OpenCLBinaryCacheConfigurator Initializing OpenCL cache configuration...
[ INFO:0@0.041] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (410) OpenCLBinaryCacheConfigurator Successfully initialized OpenCL cache directory: /home/elchaschab/.cache/opencv/4.6-dev/opencl_cache/
[ INFO:0@0.041] global /home/elchaschab/devel/opencv/modules/core/src/ocl.cpp (434) prepareCacheDirectoryForContext Preparing OpenCL cache configuration for context: Intel_R__Corporation--Intel_R__Iris_R__Xe_Graphics__0x9a40_--22_44_18857
void cv::cvtColor(InputArray, OutputArray, int, int)
    static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrent()
OpenCV(4.6.0-dev) Error: Unspecified error (> Invalid number of channels in output image:
>     'VDcn::contains(dcn)'
> where
>     'dcn' is 0
) in cv::OclHelper<VScn, VDcn, VDepth, sizePolicy>::OclHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<3>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = cv::impl::<unnamed>::NONE; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&], file /home/elchaschab/devel/opencv/modules/imgproc/src/color.hpp, line 229
void cv::cvtColor(InputArray, OutputArray, int, int)
    static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrent()
[DEBUG:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (107) createDefaultParallelForAPI core(parallel): Initializing parallel backend...
[DEBUG:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/registry_parallel.impl.hpp (69) ParallelBackendRegistry core(parallel): Builtin backends(3): ONETBB(1000); TBB(990); OPENMP(980)
[DEBUG:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/registry_parallel.impl.hpp (94) ParallelBackendRegistry core(parallel): Available backends(3): ONETBB(1000); TBB(990); OPENMP(980)
[ INFO:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/registry_parallel.impl.hpp (96) ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
[DEBUG:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (65) createParallelForAPI core(parallel): trying backend: ONETBB (priority=1000)
[DEBUG:0@0.045] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (219) getPluginCandidates core(parallel): ONETBB plugin's glob is 'libopencv_core_parallel_onetbb*.so', 1 location(s)
[DEBUG:0@0.046] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (229) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.046] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (233) getPluginCandidates Found 0 plugin(s) for ONETBB
global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (74) createParallelForAPI core(parallel): not available: ONETBB
[DEBUG:0@0.046] global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (65) createParallelForAPI core(parallel): trying backend: TBB (priority=990)
[DEBUG:0@0.046] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (219) getPluginCandidates core(parallel): TBB plugin's glob is 'libopencv_core_parallel_tbb*.so', 1 location(s)
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (229) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (233) getPluginCandidates Found 0 plugin(s) for TBB
global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (74) createParallelForAPI core(parallel): not available: TBB
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (65) createParallelForAPI core(parallel): trying backend: OPENMP (priority=980)
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (219) getPluginCandidates core(parallel): OPENMP plugin's glob is 'libopencv_core_parallel_openmp*.so', 1 location(s)
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (229) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.047] global /home/elchaschab/devel/opencv/modules/core/src/parallel/plugin_parallel_wrapper.impl.hpp (233) getPluginCandidates Found 0 plugin(s) for OPENMP
global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (74) createParallelForAPI core(parallel): not available: OPENMP
[DEBUG:0@0.048] global /home/elchaschab/devel/opencv/modules/core/src/parallel/parallel.cpp (93) createParallelForAPI core(parallel): fallback on builtin code
[DEBUG:0@0.048] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.055] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.055] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.056] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.062] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.063] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.063] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.063] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.063] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.064] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.064] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.070] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.070] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.067] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.071] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.068] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.069] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.070] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.073] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.073] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.073] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.078] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.078] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.080] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.080] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.080] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.080] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.084] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.085] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.088] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.088] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.091] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.091] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.093] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.093] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.093] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.093] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.088] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.094] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.098] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.098] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.099] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.099] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.101] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.101] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.103] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.103] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.104] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.104] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.107] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.107] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.111] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.111] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.113] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.114] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.114] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.120] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.124] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.124] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
void cv::cvtColor(InputArray, OutputArray, int, int)
    static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrent()
OpenCV(4.6.0-dev) Error: Unspecified error (> Invalid number of channels in output image:
>     'VDcn::contains(dcn)'
> where
>     'dcn' is 0
) in cv::OclHelper<VScn, VDcn, VDepth, sizePolicy>::OclHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<3>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0, 5>; cv::impl::{anonymous}::SizePolicy sizePolicy = cv::impl::<unnamed>::NONE; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&], file /home/elchaschab/devel/opencv/modules/imgproc/src/color.hpp, line 229
void cv::cvtColor(InputArray, OutputArray, int, int)
    static cv::ocl::OpenCLExecutionContext& cv::ocl::OpenCLExecutionContext::getCurrent()
[DEBUG:0@0.354] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.354] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.354] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.354] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.355] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.355] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.355] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.355] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.362] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.363] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.370] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.370] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.371] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.378] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.378] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.379] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.380] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.380] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.381] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.381] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.386] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.387] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.389] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (120) createDefaultUIBackend UI: Initializing backend...
[DEBUG:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/registry.impl.hpp (87) UIBackendRegistry UI: Builtin backends(3): GTK(1000); GTK3(990); GTK2(980) + BUILTIN(QT5)
[DEBUG:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/registry.impl.hpp (112) UIBackendRegistry UI: Available backends(3): GTK(1000); GTK3(990); GTK2(980) + BUILTIN(QT5)
[ INFO:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/registry.impl.hpp (114) UIBackendRegistry UI: Enabled backends(3, sorted by priority): GTK(1000); GTK3(990); GTK2(980) + BUILTIN(QT5)
[DEBUG:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (78) createUIBackend UI: trying backend: GTK (priority=1000)
[DEBUG:0@0.389] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (220) getPluginCandidates UI: GTK plugin's glob is 'libopencv_highgui_gtk*.so', 1 location(s)
void cv::imshow(const String&, InputArray)
    void cv::glob(String, std::vector<std::__cxx11::basic_string<char> >&, bool)
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (230) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (234) getPluginCandidates Found 0 plugin(s) for GTK
global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (87) createUIBackend UI: not available: GTK
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (78) createUIBackend UI: trying backend: GTK3 (priority=990)
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (220) getPluginCandidates UI: GTK3 plugin's glob is 'libopencv_highgui_gtk3*.so', 1 location(s)
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (230) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (234) getPluginCandidates Found 0 plugin(s) for GTK3
global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (87) createUIBackend UI: not available: GTK3
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (78) createUIBackend UI: trying backend: GTK2 (priority=980)
[DEBUG:0@0.390] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (220) getPluginCandidates UI: GTK2 plugin's glob is 'libopencv_highgui_gtk2*.so', 1 location(s)
[DEBUG:0@0.391] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (230) getPluginCandidates     - /usr/local/lib64: 0
[DEBUG:0@0.391] global /home/elchaschab/devel/opencv/modules/highgui/src/plugin_wrapper.impl.hpp (234) getPluginCandidates Found 0 plugin(s) for GTK2
global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (87) createUIBackend UI: not available: GTK2
[DEBUG:0@0.391] global /home/elchaschab/devel/opencv/modules/highgui/src/backend.cpp (106) createUIBackend UI: fallback on builtin code: QT5
init done
opengl support available
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:6@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:6@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:2@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:7@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:4@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:3@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:1@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:2@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:6@0.500] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
[DEBUG:0@0.501] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa1
[DEBUG:5@0.499] global /home/elchaschab/devel/opencv/modules/core/src/system.cpp (2887) restoreFPDenormalsState core: restore FP mxcsr flags = 0x00001fa0
int cv::waitKey(int)
    int cv::waitKeyEx(int)
[ INFO:0@1.623] global /home/elchaschab/devel/opencv/modules/core/src/trace.cpp (882) ~TraceManager Trace: Total events: 16
[ WARN:0@1.623] global /home/elchaschab/devel/opencv/modules/core/src/trace.cpp (886) ~TraceManager Trace: Total skipped events: 11037

Steps to reproduce

Build OpenCV 4.x with:

ccmake -DCMAKE_BUILD_TYPE=Debug -DWITH_OPENGL=ON -DWITH_FFMPEG=ON -DWITH_QT=ON -DOPENCV_FFMPEG_SKIP_BUILD_CHECK=ON -DWITH_VA=ON -DWITH_VA_INTEL=ON -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.x/modules/ ..

Clone and build my example:

git clone https://github.com/kallaballa/OpenCV-Issues.git
cd OpenCV-Issues
make

Run it:

src/hls-hsv-opencl/hls-hsv-opencl

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions