- #1
- 7,529
- 3,332
I had mentioned that I dropped the idea of posting a lens testing lab I am trying to develop for class here because the technical details got out of control, but I didn't post any images showing why I came to that conclusion.
Here are 4 images of the central region of a Richardson test slide, using 1) Point Grey Research 'Flea' camera, a monochrome camera with pixels 4.6 microns on a side; 2) QImaging Rolera-MGI plus, an EMCCD monochrome camera with pixels 15 microns on a side, and two images (RAW and JPG) using the Sony Exmor chip which has a Bayer filter. All camera processing (sharpening, contrast, etc) was turned off.
The test slide is a black-and-white transmission object (chrome on glass), and was illuminated at full condenser aperture. The pattern was carefully aligned to the pixels in order to emphasize the sampling artifacts. The Flea camera outputs 8-bit BMPs, the QImaging camera outputs 16-bit TIFFs, and the Sony RAW was handled via Gimp2- no image was adjusted other than cropping.
To review, the Bayer filter is a color filter array printed directly on the chip to enable color imaging using a single sensor:
http://en.wikipedia.org/wiki/Bayer_filter
I was trying to generate artifacts due to the pixels, this can most easily be done by using a low-magnification, high numerical aperture lens- I used my 10X NA 0.3 objective. The size of the Airy disk, at the image plane, is about 10 microns in diameter. This means the QImaging camera is not appropriate- the pixel size is much larger than the PSF, so there will be errors due to undersampling the image.
I enlarged each image 8x (no interpolation) to more easily visualize the individual pixels, and uploaded the images to imageshack as TIFs, because I recently realized that imageshack compresses JPGs on its own. Hopefully the images will be displayed here as I see them on my own display...
Ok- here's the Flea camera:
[PLAIN]http://img249.imageshack.us/img249/6112/flea1.png
(note- this looks correct, so I think all the images will come across as intended)
And here's the QImaging:
[PLAIN]http://img406.imageshack.us/img406/8496/qimaging1.png
It's clear what the artifacts from undersampling are- not only are the test bars not resolved, the top row/right-most column of bars are not of equal intensity- those bars are 4 microns across, incommensurate with a 15-micron sized pixel.
Even so, both of these images could be analyzed in terms of a contrast transfer function because they are both from a regular array of sensor elements, and can be analyzed using some version of linear-shift invariance:
http://spie.org/x648.html?product_id=853462
Now to the Exmor: here's the JPG (top) and the RAW (bottom):
[PLAIN]http://img256.imageshack.us/img256/7332/dsc14331.png
[PLAIN]http://img820.imageshack.us/img820/606/dsc14332.png
Again, the JPG is produced in-camera, and I converted it into a TIFF in order to control the imageshack step. The main artifact is *color*. Also note there is no difference between the JPG and RAW- in fact, I don't think I could tell which image was which, if I didn't carefully keep track of the two images.
This is not unknown- color artifacts are often seen at sharp edges using digital SLRs etc. The origin is simple to understand- there is a sub-pixel high-contrast feature, and the Bayer filter cannot present the image reconstruction algorithm with complete information, and so color information is generated by the software.
What is interesting is that the Exmor images appear close to the Flea image, in terms of spatial resolution. Going by the manufacturer specifications, each sensor element of the Exmor is approximately 6 microns on a side (each Bayer unit is 12 microns on a side)- this gives me confidence in how Sony decodes the CMOS sensor information and re-packages it as a pixel array. This means I could (probably) treat greyscale images from the Exmor as equivalent to a monochrome CCD array, but other cameras will probably behave differently- that could be part of the lab...
Here are 4 images of the central region of a Richardson test slide, using 1) Point Grey Research 'Flea' camera, a monochrome camera with pixels 4.6 microns on a side; 2) QImaging Rolera-MGI plus, an EMCCD monochrome camera with pixels 15 microns on a side, and two images (RAW and JPG) using the Sony Exmor chip which has a Bayer filter. All camera processing (sharpening, contrast, etc) was turned off.
The test slide is a black-and-white transmission object (chrome on glass), and was illuminated at full condenser aperture. The pattern was carefully aligned to the pixels in order to emphasize the sampling artifacts. The Flea camera outputs 8-bit BMPs, the QImaging camera outputs 16-bit TIFFs, and the Sony RAW was handled via Gimp2- no image was adjusted other than cropping.
To review, the Bayer filter is a color filter array printed directly on the chip to enable color imaging using a single sensor:
http://en.wikipedia.org/wiki/Bayer_filter
I was trying to generate artifacts due to the pixels, this can most easily be done by using a low-magnification, high numerical aperture lens- I used my 10X NA 0.3 objective. The size of the Airy disk, at the image plane, is about 10 microns in diameter. This means the QImaging camera is not appropriate- the pixel size is much larger than the PSF, so there will be errors due to undersampling the image.
I enlarged each image 8x (no interpolation) to more easily visualize the individual pixels, and uploaded the images to imageshack as TIFs, because I recently realized that imageshack compresses JPGs on its own. Hopefully the images will be displayed here as I see them on my own display...
Ok- here's the Flea camera:
[PLAIN]http://img249.imageshack.us/img249/6112/flea1.png
(note- this looks correct, so I think all the images will come across as intended)
And here's the QImaging:
[PLAIN]http://img406.imageshack.us/img406/8496/qimaging1.png
It's clear what the artifacts from undersampling are- not only are the test bars not resolved, the top row/right-most column of bars are not of equal intensity- those bars are 4 microns across, incommensurate with a 15-micron sized pixel.
Even so, both of these images could be analyzed in terms of a contrast transfer function because they are both from a regular array of sensor elements, and can be analyzed using some version of linear-shift invariance:
http://spie.org/x648.html?product_id=853462
Now to the Exmor: here's the JPG (top) and the RAW (bottom):
[PLAIN]http://img256.imageshack.us/img256/7332/dsc14331.png
[PLAIN]http://img820.imageshack.us/img820/606/dsc14332.png
Again, the JPG is produced in-camera, and I converted it into a TIFF in order to control the imageshack step. The main artifact is *color*. Also note there is no difference between the JPG and RAW- in fact, I don't think I could tell which image was which, if I didn't carefully keep track of the two images.
This is not unknown- color artifacts are often seen at sharp edges using digital SLRs etc. The origin is simple to understand- there is a sub-pixel high-contrast feature, and the Bayer filter cannot present the image reconstruction algorithm with complete information, and so color information is generated by the software.
What is interesting is that the Exmor images appear close to the Flea image, in terms of spatial resolution. Going by the manufacturer specifications, each sensor element of the Exmor is approximately 6 microns on a side (each Bayer unit is 12 microns on a side)- this gives me confidence in how Sony decodes the CMOS sensor information and re-packages it as a pixel array. This means I could (probably) treat greyscale images from the Exmor as equivalent to a monochrome CCD array, but other cameras will probably behave differently- that could be part of the lab...
Last edited by a moderator: