Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

What happened to LightMeterRectangle in Vision .NET class library?

There was a very useful function in the CWMachineVision library called LightMeterRectangle. Is the equivalent function available in the 2009 Vision .NET class library?

 

Thanks!

0 Kudos
Message 1 of 3
(3,445 Views)

Hello Steverino,

 

Most of the functions that used to be in CWMachineVision were not ported over to .NET,however, they will be moved to .dll in the future. Nevertheless, You can take the existing VB code that we ship and convert it. C:\Program Files\National Instruments\Vision\Examples\dotNET\3. Applications\Meter\vb

Andy Chang
National Instruments
0 Kudos
Message 2 of 3
(3,428 Views)

The light meter rectangle function in the CW library returned a report containing information about the intensities in the selected region.

  • Histogram
  • IntensityRange
  • Interval
  • Meanintensity
  • StandardDeviation
  • StartValue

 

I am a little suprised that NI didn't port it over yet. It is a very fast way to check for the absence or presence of a part if there is a large enough difference in intensity relative to the background.

 

0 Kudos
Message 3 of 3
(3,418 Views)