spacediver
TPF Noob!
I've just rendered a photo, which I took of the phosphors of my CRT display.
Here is the rendered image that I made, which was taken at the vertical center of my display.
Here is the RAW file for a similar image, which was taken halfway between the centre and the edge of the display, so the phosphors are a tiny bit larger than in the center (it's an FW900 which has a variable dot pitch).
Workflow was as follows:
Measure chromaticity and luminance (XYZ) of my display primaries.
Measure each of the three camera RGB filter's response to each of these primaries using dcraw and Matlab.
Take RAW image of phosphors.
Use dcraw to convert RAW to a 16 bit linear tiff.
Using Matlab:
Subsample the bayer array into XYZ values, using custom built transformation matrices based on the previous measurements.
Transform XYZ values into linear sRGB values.
Normalize sRGB values based on areas in the image where I knew the primaries were at full luminance, and where I knew the black parts were.
Gamma correct the values.
The result is pleasing, but I'm curious about one thing.
Given that I subsampled the RAW image, I lost half the resolution of the sensor (each 2x2 RGGB chunk of sensels was converted into an XYZ triplet, which was then converted into an RGB triplet representing a single pixel). This approach maintains a lot of image accuracy at the expense of resolution.
However, I'm very curious to see how a full resolution image that has been demosaiced looks like, compared to my subsampled one. I've played around a bit with RawTherapee, but before I experiment more, I'd like to see what's possible by an experienced user.
For the purposes of this particular post, I'm less concerned about color accuracy, and more concerned about image detail.
Below is a crop of the fully rendered image. Incidentally, the width of this cropped image corresponds to precisely 1 mm across the phosphor layer. Image was taken with a Canon Rebel EOS 450D (reversed kit lens), mounted on a newport linear stage.
Here is what happens when I use the default settings in RawTherapee. Colors are off, which is understandable, but a lot of the subtle detail is blown out, and the dark patches aren't black enough.
Here is the rendered image that I made, which was taken at the vertical center of my display.
Here is the RAW file for a similar image, which was taken halfway between the centre and the edge of the display, so the phosphors are a tiny bit larger than in the center (it's an FW900 which has a variable dot pitch).
Workflow was as follows:
Measure chromaticity and luminance (XYZ) of my display primaries.
Measure each of the three camera RGB filter's response to each of these primaries using dcraw and Matlab.
Take RAW image of phosphors.
Use dcraw to convert RAW to a 16 bit linear tiff.
Using Matlab:
Subsample the bayer array into XYZ values, using custom built transformation matrices based on the previous measurements.
Transform XYZ values into linear sRGB values.
Normalize sRGB values based on areas in the image where I knew the primaries were at full luminance, and where I knew the black parts were.
Gamma correct the values.
The result is pleasing, but I'm curious about one thing.
Given that I subsampled the RAW image, I lost half the resolution of the sensor (each 2x2 RGGB chunk of sensels was converted into an XYZ triplet, which was then converted into an RGB triplet representing a single pixel). This approach maintains a lot of image accuracy at the expense of resolution.
However, I'm very curious to see how a full resolution image that has been demosaiced looks like, compared to my subsampled one. I've played around a bit with RawTherapee, but before I experiment more, I'd like to see what's possible by an experienced user.
For the purposes of this particular post, I'm less concerned about color accuracy, and more concerned about image detail.
Below is a crop of the fully rendered image. Incidentally, the width of this cropped image corresponds to precisely 1 mm across the phosphor layer. Image was taken with a Canon Rebel EOS 450D (reversed kit lens), mounted on a newport linear stage.

Here is what happens when I use the default settings in RawTherapee. Colors are off, which is understandable, but a lot of the subtle detail is blown out, and the dark patches aren't black enough.

Last edited: