LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Masking data

A current project of mine involves creating a mask. The mask edge is defined in polar coordinates (r, theta) so for each r there are two theta values. The mask is designed to filter points that are given in polar coordinates. If a point falls within the mask it has an associated 0 value. The difficulty lies in comparing the data points to the mask as the data r values for the data points are not the same as the r values for the mask points.

 

The way that I see it now, I need to step thru each data point and first compare it's r value to the nearest r value of the mask then compare the theta value of the data point to the two theta values of the mask edge. If the data point theta value is between the two theta values for the mask then it is masked, otherwise it is not.

 

If you see another way to do this, please recommend it.

 

thanks.

 

brian

0 Kudos
Message 1 of 1
(2,029 Views)