Ask Your Question

Antonio C.'s profile - activity

2013-10-04 06:05:26 -0600 commented answer compiling on osx

i've done it but it seems that homebrew doesn't install the *.dylib files....

2013-10-03 11:34:10 -0600 received badge  Scholar (source)
2013-10-03 11:34:10 -0600 received badge  Supporter (source)
2013-10-03 11:34:09 -0600 received badge  Supporter (source)
2013-10-03 11:34:05 -0600 received badge  Supporter (source)
2013-10-02 06:30:23 -0600 asked a question compiling on osx

i'm experiencing some errors compiling opencv 2.4.6.1 on osx mountain lion:

/Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:164:19: error: multiple unsequenced modifications to 'temp3' [-Werror,-Wunsequenced] if( ( CV_IMAX3( srcdata1[j-3], srcdata1[j-2], srcdata1[j-1] ) - ^ /Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:79:33: note: expanded from macro 'CV_IMAX3'

define CV_IMAX3(a,b,c) ((temp3 = (a) >= (b) ? (a) : (b)),(temp3 >= (c) ? temp3 : (c)))

                            ^

/Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:169:19: error: multiple unsequenced modifications to 'temp3' [-Werror,-Wunsequenced] if( ( CV_IMAX3( srcdata2[j+3], srcdata2[j+2], srcdata2[j+1] ) - ^ /Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:79:33: note: expanded from macro 'CV_IMAX3'

define CV_IMAX3(a,b,c) ((temp3 = (a) >= (b) ? (a) : (b)),(temp3 >= (c) ? temp3 : (c)))

                            ^

/Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:322:19: error: multiple unsequenced modifications to 'temp3' [-Werror,-Wunsequenced] if( ( CV_IMAX3( src1[(y-1)widthStep+x], src1[ywidthStep+x], ^ /Users/stanzarossa/Downloads/opencv-2.4.6.1/modules/legacy/src/dpstereo.cpp:79:33: note: expanded from macro 'CV_IMAX3'

define CV_IMAX3(a,b,c) ((temp3 = (a) >= (b) ? (a) : (b)),(temp3 >= (c) ? temp3 : (c)))

                            ^

3 errors generated. make[2]: * [modules/legacy/CMakeFiles/opencv_legacy.dir/src/dpstereo.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 47%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/kernels.cpp.o [ 47%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/spinimages.cpp.o [ 47%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/stereovar.cpp.o make[1]: [modules/legacy/CMakeFiles/opencv_legacy.dir/all] Error 2 [ 47%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_thresh.cpp.o [ 47%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_watershed.cpp.o Linking CXX shared library ../../lib/libopencv_ocl.dylib [ 47%] Built target opencv_ocl Linking CXX shared library ../../lib/libopencv_contrib.dylib [ 47%] Built target opencv_contrib Linking CXX executable ../../bin/opencv_test_imgproc [ 47%] Built target opencv_test_imgproc make: * [all] Error 2

this is the output of the cmake command, some tips?

2013-07-02 11:30:20 -0600 commented answer How does cvhaardetectobjects c2g works

than you all for the answers. i use the c api because i already know it and i can't spend so much time to learn the cpp api now. as i've understood the function uses one channel of the image. what i son't understand is how the iplimage where i load my images (and can load any type of image) became a 1 channel immage when sent to the function for detection.

2013-06-12 04:53:17 -0600 asked a question How does cvhaardetectobjects c2g works

i'm doing some experiments with violajones algorithm for my digital imaging university course. i need to know how the CvHaarDetectObjects() function, that receives in input a color image, transforms it in a grey scale image. i can't find this information in the documentation and it's hard to find it in the code.

thanks in advance

Antonio Castellano