07-11-2012 12:31 PM
I am having issues creating a VI that inspects the pixtel intesity within a given rectangle.
One of the problems I have is that in between the solar cells (see picture attached) there is a lead that appears black under SWIR imaging. So I would need two rectangles to inspect the system, and I havent been able to succeed in creating such program.
The second issue I have, I need a VI that checks within the rectangle(s) region specified all the pixel intensity. If there is an amount of pixels that is not within that region (broken solar cell), assign a fail inspection. (see attachement).
Any help would be appreciated
Solved! Go to Solution.
07-11-2012 03:58 PM - edited 07-11-2012 03:58 PM
You should look into the Histogram tool. I've attached a VI as an example. It doesn't solve your ROI question, but it shows how to cut out the area as a rectangle.
Here's an image of the results of the histogram. You could use the "Mean Value" as a measure of good/bad.
07-11-2012 11:19 PM
Hey which function are you used? Check this which gives you the pixel intensity info on a defined rectangle.