Hello everybody i am writing a Program using C++ with OpenCV library! and I am using a function generated by Matlab Mex which takes an image and returns values! it look something like this array=findsomething(image);//matlab function the image is a OpenCV variable which called Mat! this Mat stores the pixels in a unsigned char array as BGR. while Matlab function stores the pixels in RGB array. converting the data between the OpenCV variable and the Matlab Function variable means copying each pixel from the first variable Mat into Unsigned Char *array(this is the Matlab function Variable) which takes a really long time for each i call an image from the camera. is there a way to change how Matlab stores and handles the image data to become BGR ? NOTE:- Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Co
Welcome to top Matlab Articles Provider in World. We are a team of Matlab Experts available online 24x7. Get help in your Matlab Projects. matlabsolutions.com