LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

segment .tif image

Hello all,

I am using LV 7.1 and IMAQ vision.  I am trying to make an automated vi. that will segment a .tif file based on the imputed coordinates of the user.  I would then like to save the segmented file.  I have tried to work off of the examples and the region of interest vi's but have been unable to output the segmented image.  As of now I can only ouput a mask of the  my region of interest which does not include the actual image only a blank image of my specified size.  I am also having trouble hard wiring the cordinate system, and can currently only select a ROI with the mouse drag rectangle.  I have attaced a .tif file as an example image to work off of.  Thanks for the help in advance as I am sure this should be easy, but can not crack the problem.  I tried attaching a .tif file but the forum doesn't allow that extension.

Thanks,

Azazel
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 3
(2,485 Views)

Good morning Azazel,

When you say "segment an image", can you clarify what this means?  Does it mean to take that portion of the image inside of a rectangle defined by the coordinates you specify, and write it to a new image or image file?  Does it mean to mask the image based off of that rectangle, where the image size remains the same, but everything else outside of that rectangle is black?  Does it mean something else altogether?

If you can specify what you mean by segment an image, I will we better armed to answer your questions!

Respectfully,

0 Kudos
Message 2 of 3
(2,480 Views)
Thank you for your inquiries, I found a function in IMAQ that allows you to extract regions of interest based on a rectangle. This accomplished my original problem.

Beau
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 3 of 3
(2,476 Views)