Ask Your Question

tenspd137's profile - activity

2019-10-04 10:50:30 -0500 asked a question Is there an error in the color conversion components?

Is there an error in the color conversion components? When I have an Lab value of [ 0, .74838874, -1.27087235 ] and I us

2014-12-08 16:28:31 -0500 answered a question Urgent!!! help with feature detection.

CV3 isn't probably baked yet, but a workaround I found was to create a dummy array to send to the function since it thinks it needs it:

img3 = np.zeros((1,1)) and then

im4 = cv2.drawMatches(im1,kp1,ig2,kp2,matches[:10],img3,flags=2)

then imshow(im4/255.0) to view

Obviously, it probably isn't supposed to work this way, but since CV3 is in development it is probably a bug that needs to be worked out in the python interface still.

Your mileage may vary - but it worked for me pretty well. Once the python/C++ interface gets cleaned up, you shouldn't have to make that img3 to fill in the function.

2014-08-04 01:15:17 -0500 received badge  Student (source)
2014-08-01 12:10:12 -0500 asked a question Adding custom file formats to OpenCV

I have Googled around and can't seem to find anything on how to do this. I have some custom file formats that I would like to make compatible with imread. How do you "teach" OpenCV to read custom image formats? If I understand correctly, you basically read the image into a matrix, so somewhere in the OpenCV code there are file handlers, usually they refer to the appropriate library (libjpeg, libtiff, rtc). How would I integrate my own?