02-10-2015 12:31 AM
hi Bruce,
I have another Doubt .
i am doing machine vision project .. in ni froum they asked me to use Producer and consumer loop for processing.
in this method i need to grab image continuosly
but i need process like
[move axis(motion control)] - [ sanp image] - [ pattern match] - [ result]
Do you have any Design Pattern for this ?
02-10-2015 10:49 AM
Does the motion control depend on the image results? Is this a feedback system, or just a processing loop?
If it is a feedback system, you need to process it as fast as possible to get the next move. In that case, I would do everything in one loop in sequence - read image, process image, move stage. In that case, you would read the next available image every time through the loop.
If you are trying to process every single image, you could do a producer consumer loop, but it isn't really necessary. In this case, you want a large image buffer and use the loop index to tell it which buffer to read next. This way, even if your processing gets a little behind, it can catch up. Of course, your processing has to be faster than your image acquisition, or you will just get further and further behind and eventually overrun the buffer.
It really depends on the application when you are deciding your acquisition and processing strategy.
Bruce
02-11-2015 12:19 AM
hi Bruce,
You gave a very good information .. thanks ..
02-12-2015 12:34 AM
HI all,
I NEED TO DO 9 POINT CALIBRATION LIKE COGNEX VISION SYSTEM.
I THINK POINT COORDINATE CALIBRATION IS SAME AS 9 POINT CALIBRATION ,,
I NEED TO DO THIS POINT COORDINATE CALIBRATION USING VI FILE WIHTOUT VISION ASSISTANT .
SO THAT USER CAN DO CALIBRATION WITHOUT VISION ASSISTANT ,,
IS IT POSSIBLE TO DO ?
02-12-2015 08:14 PM
hi Bruce,
i need to do POINT COORDINATES CALIBRATION for camera . (XY TABLE)
using vi file ... so that user can do Calirbation when ever they wish ...