• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • 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
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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