Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

How to extract infrared channel from image?

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
inampudi1
Asked:
inampudi1
  • 3
  • 3
1 Solution
 
HypoCommented:
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
 
inampudi1Author Commented:
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
 
inampudi1Author Commented:
Hi Hypo,

  Pl check the article  in the link  given below,

http://andreas.rick.free.fr/sane/dustremove.html
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
HypoCommented:
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
 
inampudi1Author Commented:
Hi Hypo,

   If I want to Detect dust in the normal image (ie image created with out scanner)what is the procedure?
0
 
HypoCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now