How to load image data from resource bitmap file for directshow filter ?

Posted by Forrest on Stack Overflow See other posts from Stack Overflow or by Forrest
Published on 2010-03-14T08:27:51Z Indexed on 2010/03/14 8:35 UTC
Read the original article Hit count: 244

Filed under:
|
|

I need put one bitmap image to my directshow filter. Then user can use this bitmap image and do not care where is it.

First, I import this bitmap file into resource bundle, and get one IDB_BITMAP1.

Then, I need to read this IDB_BITMAP1 using opencv cvLoadImage or some windows image API to load this image into buffer.

So question is how to do this ?

Or is that possible ?

Thanks

© Stack Overflow or respective owner

Related posts about opencv

Related posts about directshow