c# - How to find the amount of pixels by which an image has moved? -


How do I test an absolute image stable camera here, every time the same place But to put the object on, there is a continuation of our setup.

In the question, a stamp is placed at the center of the object, which has a simple shape on it (see below). The camera only has a view of some square millimeters (~ 25). There may be other artifacts in such an image which will need to be cleaned, but whatever I can show at present is just a simple drawing.

What am I trying to calculate offset where lines are detected compared to the previous one in each row, in the picture given below, red lines show that Line 2 is dispersed in the image, i.e. how far they have gone.

My question is, using an image recognition C # library, preferably EmguCV, how can I calculate the dimensions of the green rectangle (offset)? I have followed some emu tutorials, and only two rows can be traced to software through misleading conversions, but I do not know that in the form of more than 500 mini lines by the library instead of two tall ones Where do they meet

Any help, ideas, and suggestions are appreciated. Thanks!

As a side note, if you are connecting a lot of pixels, you want To seriously consider using the 'unsafe' attribute - this will stop the Runtime from validating every entry you access to the pixel array, which will bring you back to the native display category - otherwise, your ElG will run very slowly Www.llllllyyyyyy: -)


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -