Solved

How to extract infrared channel from image?

Posted on 2009-04-15
6
225 Views
Last Modified: 2012-05-06
Hi,

  I am working on Delphi-7.

   I want to extract the infrared channel from RGB image . How can I do it by using delphi. Even if code is available in c++ also ok for me.
0
Comment
Question by:inampudi1
  • 3
  • 3
6 Comments
 
LVL 12

Expert Comment

by:Hypo
ID: 24147026
Hi,
I'm a bit confused over what you are asking about... do you mean the red chanel of rgb, or do you want to extract actual infrared colours from an image? Because unless the camera that recorded the image can detect infrared light, it will not be possible since the information is just not there. However... I'm aware of that some cameras detect some infrared light as other colours, but I'm not sure if that's what you are looking for? Can you give us an example of an rgb-source image and another image that shows the result you want? That would help a lot.

regards
Hypo

0
 

Author Comment

by:inampudi1
ID: 24148303
Hi Hypo,


   I want infrared colours from an image. I got from some article that infrared channel will give information about the DUST in the image. My aim is to seperste dust from image.

0
 

Author Comment

by:inampudi1
ID: 24148319
Hi Hypo,

  Pl check the article  in the link  given below,

http://andreas.rick.free.fr/sane/dustremove.html
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 12

Expert Comment

by:Hypo
ID: 24148576
Hi,
when reading the article, it states the following in the first sentence: "The recent film scanners from Nikon (LS-30 and LS-2000) are four colour scanners: Red, Green, Blue and Infrared (RGBI).".

Do you have access to such a scanner, or an image that was created using such a scanner? because if you do, then the infrared channel will probably just be stored in the highest 8 bits of each 32-bit color (commonly used as alpha channel), and then getting the Infrared value can be done by just extracting those 8 bits from each pixel. (let med know if you want an example of that code).

If you do not have such an image, then I would say that you don't have access to the infrared information, since there is no such data in the image to extract.

regards
Hypo
0
 

Author Comment

by:inampudi1
ID: 24148701
Hi Hypo,

   If I want to Detect dust in the normal image (ie image created with out scanner)what is the procedure?
0
 
LVL 12

Accepted Solution

by:
Hypo earned 500 total points
ID: 24148901
I think that's a bit more complicated than when you have access to the infrared channel (as the article stated), but I (and any other experts here) can certanly have a look into it...

regards
Hypo
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't connect to Outlook via TOutlookApplication component 15 123
PDF library for Delphi 2 107
Find and Replace Stream with 0s 8 57
Delphi: Connect to running MS Outlook 4 50
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now