LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary to gray scale image

I'm processing a gray scale image.

First I'm converting into binary image to get a ROI.
When I try to extract the ROI from the original image, I'm into problems.

Thanks
CodeWarrior
Take life as it comes! you may never know what's gonna happen Tommorrow
0 Kudos
Message 1 of 5
(3,360 Views)
Could you elaborate what kind of problems you are experiencing?
0 Kudos
Message 2 of 5
(3,354 Views)


@CODE WARRIOR wrote:
I'm processing a gray scale image.

First I'm converting into binary image to get a ROI.
When I try to extract the ROI from the original image, I'm into problems.

Thanks
CodeWarrior


I'm trying to get a particular portion (ROI) of the image that I need to extract it from the original image.
To select an ROI I need to do some preprocessing such as binary thresholding, etc. The problem that I'm facing is that when I extract the image from the original image, I'm not able to get the image in gray scale.

Thanks
Code Warrior
Take life as it comes! you may never know what's gonna happen Tommorrow
0 Kudos
Message 3 of 5
(3,336 Views)
Your binary image is composed of 1 and O. Just multiply the two images (there is an operator for that) : this will not affect the values of the ROI'ed portions, and will set to black all the others.

CC

Message Edited by chilly charly on 05-03-2005 07:55 AM

Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
Message 4 of 5
(3,332 Views)
Maybe you are having this situation because you are making the threshold at the same picture reference as you wan't to extract your greyscale picture from. Have you tryed to create an other image destination to the binary picture?
0 Kudos
Message 5 of 5
(3,327 Views)