Obtaining intensity/irradiance in an image

  • Thread starter Thread starter fog37
  • Start date Start date
  • Tags Tags
    Image
Click For Summary
SUMMARY

This discussion focuses on obtaining intensity or irradiance measurements from digital images using ImageJ software. Users can effectively analyze pixel data by exporting images in RAW format to preserve per-pixel information. Calibration is essential, often requiring a radiometer or known light source for accurate measurements. The conversation emphasizes the importance of using non-compressed bitmap formats for analysis to avoid data corruption.

PREREQUISITES
  • Understanding of ImageJ software for image analysis
  • Familiarity with RAW image formats and their advantages
  • Knowledge of photometry and calibration techniques
  • Basic principles of digital camera operation and pixel data
NEXT STEPS
  • Research calibration techniques for digital cameras using radiometers
  • Explore advanced functions of ImageJ for photometric analysis
  • Learn about the impact of image compression on data integrity
  • Investigate methods for comparing image brightness in different ROIs
USEFUL FOR

Photographers, researchers in photometry, astronomers, and anyone interested in analyzing image intensity and irradiance data using digital cameras and ImageJ software.

fog37
Messages
1,566
Reaction score
108
TL;DR
Find intensity/irradiance of the pixels in a picture
Hello,

Is it possible to take a picture/image using a digital camera and then obtain the intensity/irradiance (##W/m^2##) of the composing pixels? Should the image be exported in a particular format into a graphics software like photoshop to be able to obtain the irradiance information? Or should some simple code (say Python) be written and applied to the image to access its irradiance information?

Thanks!
 
Computer science news on Phys.org
First of all I recommend ImageJ
You can do pretty good photometry using most cameras. The voltage on a pixel is usually quite linear with photon number. One needs to be cognizant of manipulations done by the camera however, both optically and post processing. Also the flatness of the field.

ImageJ allows you to look in detail at the files and manipulate them ad infinitum. It's free from NIH so play with it some. Obviously you want a bitmap format of some kind. Play.
 
  • Like
Likes   Reactions: fog37
Thanks.

I just used ImageJ and I am exploring its functions.
As you mention, an image is made of pixels and the brightness of each pixel (which corresponds to the amount of reflected light) is collected as a electric voltage that should be linear with brightness. Once the image is imported in ImageJ, I wonder if the pixel values must be scaled and multiplied by factor to obtain the energy in Joule at each pixel...
 
Yes. On high end (often cooled) astronomical/fluorescence cameras they will often provide you the number (usually the quantum yield i.e. electrons per photon ) for the average pixel and then describe any amplifiers. You will need some way to calibrate your camera...either a good radiometer/photometer for comparison or a known source. One way to do it is to use the moon on a clear night.
Astronomers are often interested in doing these kinds of calibrations so you might research that area. Also there are some good amateur astronomers here. I have never done it for an ordinary camera.
 
  • Like
Likes   Reactions: fog37
hutchphd said:
Obviously you want a bitmap format of some kind.
Compression will greatly corrupt the per-pixel information: you need both a camera and software that will handle a RAW image.
 
  • Like
Likes   Reactions: fog37
I see how the data needs to be raw. A raw image is such that each pixels records the amount of light that hits it as a voltage level. Wouldn't a good digital camera provide, in the documentation, the conversion factor between voltage level and light energy on each pixel?

The calibration does not seem trivial...

thanks
 
hutchphd said:
Yes. On high end (often cooled) astronomical/fluorescence cameras they will often provide you the number (usually the quantum yield i.e. electrons per photon ) for the average pixel and then describe any amplifiers. You will need some way to calibrate your camera...either a good radiometer/photometer for comparison or a known source. One way to do it is to use the moon on a clear night.
Astronomers are often interested in doing these kinds of calibrations so you might research that area. Also there are some good amateur astronomers here. I have never done it for an ordinary camera.

Hello hutchphd, thanks again for bring ImageJ to my attention :) Very easy to use.

I may need one more piece of advice: assuming same illumination, etc. I am take two images of the two similar objects with a digital camera and would to compare the image brightness (mean intensity, integrated intensity, easy to get in ImageJ) in the same ROIs. I can do that.

But before I do the comparison analysis, so the comparison is fair, should I convert the two images from jpg to some other format inside ImageJ? For example, should I first convert both two images to 8-bit before comparing them (Image-> Type-> 8-bit> save)?

Thanks
 
It would be better if you could get a non compressed raw bitmap image from your camera (bmp). If jpeg you want the least compression possible and you might want to compare some images at different compression. I do not know exactly what jpeg does. For manipulation just keep it bmp until you are finished. Have fun
 
  • Like
Likes   Reactions: fog37
hutchphd said:
It would be better if you could get a non compressed raw bitmap image from your camera (bmp). If jpeg you want the least compression possible and you might want to compare some images at different compression. I do not know exactly what jpeg does. For manipulation just keep it bmp until you are finished. Have fun

Thanks!
I will borrow the camera tomorrow (a Canon ). Based on the camera instruction manual, I believe it can only save images either as jpeg or RAW. I guess I would save them as RAW and then import them into ImageJ. Instead of using Open..., I will import them using Import -> Raw..., unless I am making some mistake doing that...

1611876857265.png
 

Similar threads

Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
927
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 152 ·
6
Replies
152
Views
11K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
1
Views
3K