Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

System indicates"Some memory can'nt be read",please why?

when a image processing program containing a CIN is executed,system will indicate mistakes that some memory can not be read,then shut down my program,The CIN mainly deal with a two-dimension array come from the image pixel data,certainly the input array's size is more than 10*10,but if I use an array which size is less than 10*10 as input ,the program work conrectly,I was so confused,thank for your helping!
0 Kudos
Message 1 of 2
(3,014 Views)
Make sure that you are not changing the dimensions of the array inside your CIN. Also, double check your code to make sure it is expecting an array this large. It sounds like you are overstepping your memory bounds when you feed the larger arrays into the CIN.
0 Kudos
Message 2 of 2
(3,014 Views)