ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Image processing

Solved!
Go to solution

Hi,.

I need to extract region of interest and intensity plot from an image. I am attaching my algorithm and labview program below. Please help me to do that...

Download All
0 Kudos
Message 1 of 2
(3,294 Views)
Solution
Accepted by topic author arunamv12

Here are some comments:

  • The part of your code where you extract the Image looks (more or less) OK.  The problem is your implementation of the algorithm shown in the attachment.
  • The Gxx and Gyy matrices are Controls, so their values are not "fixed".  I would make them Constants, and put the values ((0,0,0), (-1,2,-1), (0,0,0)) for Gxx, for example) in them.
  • You skip part of Step 4 -- you don't take Absolute Values.
  • I don't understand "Take the average of the sum matrix twice", unless it means "Average the rows to make a 1D vector, then average the Vector".  You almost do this -- the Sigma function adds up all the elements, but the Array Size function needs a Product (Pi) function to multiply the number of rows times the number of columns = number of 2D array elements.

Bob Schor

0 Kudos
Message 2 of 2
(3,209 Views)