简体   繁体   English

将活动的MSR滤镜应用于相机框架

[英]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... 我使用OpenCV检测项目中的眼睛,我打算使用Catalano库使用MultiScaleRetinex(用于照明增强),但是当我将摄像机框架传递给库时出现问题,该库只接受位图参数,我不知道该怎么做。做...

Any help will be appreciated 任何帮助将不胜感激

PS:I attache screen shot PS:我附上屏幕截图

screen shot android studio 屏幕截图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);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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