aopic2hdr
The aopic2hdr function reconstructs the RGB HDR image of an \alpha-opic image from the \alpha\Omega-meter.
Usage:
[RGB,R,G,B] = aopic2hdr(aopic,rel,abs)
Where:
| Parameter | Description |
RGB,R,G,B | Is the reconstructed image matrix, or single channel. |
aopic | Is the \alpha-opic image matrix derived from an \alpha\Omega-meter. |
rel | Is a vector containing the corresponding relative calibration factors for the \alpha\Omega-meter for the sc, mc and lc channel. |
abs | Is a vector containing the corresponding absolute calibration factors for the \alpha\Omega-meter. |
Example
Reconstruction of the RGB HDR image using an \alpha-opic image:
aopic = readaopic('image.aop');
rel = [-0.0236 -0.0073 1.0000; 0.0443 1.0000 0.0857; 0.6942 1.0000 0.0209];
abs = [12.16 16.76 15.51];
HDR = aopic2hdr(aopic,rel,abs);
Note: The aopic2hdr function uses only the first three channels for the RGB reconstruction, hence the example data is reducted to three channels instead of providing the five aopic channel calibration data to improve readability.