08-11-2015 04:02 AM
hi i have a vi which makes use of vision acquisition and which undergoes several image processing functions like imaq extract single color plane, imaq gray morphology, auto b threshold, imaq equalize. i wanted to achieve something like a black and white image with the subject as white and the background as black. i was somehow able to get my expected output but i want it to be clearer. it is easier to achieve if the background is plain white. but i also want to get the right result even if the background is complex.
hope you can help me. thanks
08-11-2015 07:32 AM
08-11-2015 06:44 PM
Just as a recommendation you should use the error lines to control de data flow. I will recommend you not to do all the processing in the same loop that the acquisition. For that you could use the producer/consumer architecture:
http://www.ni.com/white-paper/3023/en/