I want to compare two pictures with respect to edges.
I have a slit that moves over lens and camera takes pictures for each step on lens.
To detection of starting point of lens, i want to take pictures continuously and use edge detection to compare with old picture until having a picture with edges.
For example the first picture is completely dark (completely zero on binary) and the next picture has some 1s on binary. How can i compare and tell to program if an edge occurs?
Best Answer