2017-06-26 13:24:21 -0600 | commented question | cvtColor and inRange in single pass? I am guessing that a single pass through the frame data is faster than 2 passes. Also, it certainly saves some memory, since you don't need to keep the hsvFrame data. |
2017-06-26 11:46:33 -0600 | asked a question | cvtColor and inRange in single pass? Hi, I am new to OpenCV, but have plenty of programming experience. I have played around with image detection based on color. Everyone's code does something like: This does work, but seems inefficient. At least for my task (and others I saw on the web), the HSV frame is only needed to do the thresholding. My question is: why is there no standard routine to combine cvtColor and inRange in a single pass? Has it been tried? Is it not efficient enough? Just trying to get an idea. Thanks. |