Ask Your Question

Farshad's profile - activity

2013-10-06 17:56:50 -0600 received badge  Student (source)
2013-10-06 15:40:25 -0600 asked a question GoodFeaturesToTrack Not Honoring the Max Corner Count

I am seeing something strange with GoodFeaturesToTrack() function in C++. When in Debug mode, the function works as expected, returning the number of features I am asking it via maxCorners argument. But when I run it in release mode, the function returns much larger number of features, none of which correlate with the output in debug mode. I have initialized the input image and properly allocated for the number of maxCorners I need. Has anyone seen this behavior before? I am also trying to step into the code but could not find the source file in the bundle I downloaded. I am using OCV 2.4.9 in windows 64 bit.

2013-09-17 11:22:25 -0600 commented question Reading greyscale video files

I convert the original video to RGB outside OpenCV using VLC Media Player.

2013-09-17 11:10:24 -0600 commented answer Reading greyscale video files

Additional information possibly relevant to this discussion (extracted from VLC Media Player)

Stream 0 Type: Video Code: 8 bits greyscale (GREY) Resolution: 1280x720 Display Resolution: 1280x720 Frame Rate: 30.096

thanks, Farshad.

2013-09-17 10:38:36 -0600 commented answer Reading greyscale video files

Thanks Steven. In doing this, I get segmentation fault in FFMPEG_proxy (CvCapture_FFMPEG_proxy class). Is there any special setting for the FFMPEG decoder I have to implement? I am completely baffled with the complexity of this decoder so any help is greatly appreciated.

2013-09-16 14:05:00 -0600 asked a question Reading greyscale video files

Hi, I was wondering if there was a way to read in greyscale video files in OpenCV. I currently have to convert greyscale video into RGB format outside OpenCV, read it in and again convert it to greyscale using cvtColor() function... Is there anyway I can omit these counterintuitive steps and just grab greyscale frames from original video files?

2013-07-19 16:49:55 -0600 asked a question Vector and Memory Management

I am trying to read a video file into a vector up to free memory into the system. As the content of the vector is being pulled out by a separate thread additional frames are to be read in by the loop reading the video file. The issue I am running into is that I do not see any means to put the loop on hold until the vector size reduces to certain size. Is there a better way to implement this concurrency?