简体   繁体   中英

Apply the active MSR filters on camera frame

I use OpenCV for detect eyes in my project and I intend to use Catalano library for use MultiScaleRetinex(for illumination enhancement) but there is problem when I passed camera frame to library, the library just accepted bitmap parameters and I don't know what to do...

Any help will be appreciated

PS:I attache screen shot

screen shot android studio

Hi everybody or nobody I solve this with:

Bitmap b21 =  Bitmap.createBitmap(mRgba.cols(), mRgba.rows(),Bitmap.Config.ARGB_8888);

Utils.matToBitmap(mRgba, b21);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM