1 | initial version |
Hi,I think your problem can be solved by defining a global variable.
something like this:
void main void() { Mat img=imread("Nature.jpg"); for(;;) //for loop #1 { //use img here }
for(;;) //for loop #2 { //use img here } and so on...
return 0; }
2 | No.2 Revision |
Hi,I think your problem can be solved by defining a global variable.
something like this:
void main void()
{
Mat img=imread("Nature.jpg");
for(;;) //for loop #1
{
//use img here