Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

which functions should I use to convert matlab into opencv code?

Hi, I need to convert matlab code into c++ code. I decide to use opencv to deal with the functionality of imagine processing. In my matlab code, I use the functions below to draw images.

           figure();
            subplot();
            imagesc();
            colormap()); 
            caxis();
            ylim
            xlim
            xlabel
            ylabel

Could anyone tell me which functions in opencv I should learn or use? thank you.

which functions should I use to convert matlab into opencv code?

Hi, I need to convert matlab code into c++ code. I decide to use opencv to deal with the functionality of imagine processing. In my matlab code, I use the functions below to draw images.

           figure();
            subplot();
            imagesc();
            colormap()); 
            caxis();
            ylim
            xlim
            xlabel
            ylabel

Could anyone tell me which functions in opencv I should learn or use? thank you.

The first picture is what I get in Matlab, and I want get the similar result using opencv. All the data structures have been done. And the second picture is the code of using opencv to replace function imagesc, but I couldn't get result. I am a new learner to opencv, Could anyone help me solve this problem? Thank you. image description image description