inampudi1
asked on
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.
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.
ASKER
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.
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.
ASKER
Hi Hypo,
Pl check the article in the link given below,
http://andreas.rick.free.fr/sane/dustremove.html
Pl check the article in the link given below,
http://andreas.rick.free.fr/sane/dustremove.html
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
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
ASKER
Hi Hypo,
If I want to Detect dust in the normal image (ie image created with out scanner)what is the procedure?
If I want to Detect dust in the normal image (ie image created with out scanner)what is the procedure?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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