LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Image processing

Hello ,

I want to create a program that process an image. My main goal is to take a hazy picture and make it sharper.

Any ideas how can i perform it?

I'm familiar with the software but not an expert, so maybe there are helpful function that i don't know yet.

 

thanks

0 Kudos
Message 1 of 4
(2,865 Views)

There's two ways you can go about this.

 

First, NI has some vision processing support built for you already in what's called the Vision Development Module.  You can look to add that software to your license and get all of those processing algorithms.

 

Additionally, this is something that's been solved by lots of people.  You'd want to provide more information and likely look to other sources as well.  First, what language are you working in?  Each language will have its own libraries available and that either creates or restricts options available to you.  You'll also want to provide how your image is put together, even if that's just a file format.  Is this something you're wanting to be automatic or something you plan to do manually?  If you're looking at a manual solution, it might be easier to find a free image processing GUI like Gimp. 

0 Kudos
Message 2 of 4
(2,774 Views)

Thanks for your reply.

I'm working on C with cvi.

I am uploadin a photo via FileSelectPopup and GetBitmapFromFile. From this point and on my image is actually a 2D array compose of pixels. I want to do it manually, by find the hazy pixels and fix them. The thing is that i don't know how to do it.

 

0 Kudos
Message 3 of 4
(2,772 Views)

Hey Gabovich,

 

I feel your questions are better suited for another forum like stack overflow as the question you are asking is more "how do I program this is C" not so much "why isn't CVI working?".

 

I found some forums that may get you started on the programming you are looking for.

 

Blur and sharpen a bitmap

C code for sharpening filter

 
Good luck with your sharpening image code!
 
-Bear
 
Regards,

Ben Johnson
ʕง•ᴥ•ʔง
0 Kudos
Message 4 of 4
(2,765 Views)