NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Selp
Posts: 7
0 Kudos
Accepted Solution

Pixel intensity array, pass or fail

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

Thanks

Member
lcady
Posts: 10
0 Kudos

Re: Pixel intensity array, pass or fail

[ Edited ]

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.

BadGoodHistogram.jpg

Active Participant
Silver_Shaper
Posts: 338
0 Kudos

Re: Pixel intensity array, pass or fail

Hey which function are you used? Check this which gives you the pixel intensity info on a defined rectangle.

Sasi.
Certified LabVIEW Associate Developer
If you can DREAM it, You can DO it - Walt Disney
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page