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: 

Remove dark portion from Image

Solved!
Go to solution

Hi,

 

I have just started working with NI VISION. I have attached one image with this post.

 

Can some one tell me how I can remove dark part in image? I read about histogram, which gives total number of pixels at each grayscale level.

 

But I don't know how I can use this information to improve image quality or in my case how I can use it to equalize the pixel values encircled with rest of the image.

 

I hope I have explained my problem properly.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 1 of 6
(3,639 Views)

Hi,

 

What kind of camera do you have? FireWire, GigE, CameraLink?

 

If it's a CameraLink one, you could take a look at the example VI : C:\Program Files\National Instruments\LabVIEW 2010\examples\IMAQ\IMAQ Color.llb\Color Processing.vi

 


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 6
(3,625 Views)

I have USB camera of Imaging source

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 3 of 6
(3,601 Views)
Solution
Accepted by Gak

I found the solution of the problem. I used "Pixel Manipulation".

 

If anyone has any better ideas then please share.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 6
(3,579 Views)

Probably not a "better" idea, but mybe a source of idea, here's an example to manipulate color planes of an RGB image. It's very basic, it lets you amplify of reduce a color plane by multiplying it by a number between 0 and 2.

 

LV2010.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 5 of 6
(3,570 Views)

Thanks I will try this.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 6 of 6
(3,559 Views)