Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to define a function using image as the input argument

Hello, I am new to opencv so I ask a simple question. I want to define a function using the image as the input argument. How should I define it? Likevoid compute(int a , char b). If the image is named Im1, could I define it like void compute(cv:Mat Im1, int a )? Thanks for your help