我想使用两种颜色高温计(分析像素中的颜色通道)来确定燃烧煤颗粒的温度。这就是为什么我需要非常具体的信息来了解相机如何以 .raw .dng 和 .tiff 格式保存图像(考虑 tiff 的 8 位和 16 位版本),以便能够在 matlab 中使用数据。
在 matlab 中对 8 位 tiff 文件使用函数 imfinfo() 显示以下信息:
Format: 'tif'-------
FormatVersion: []-------
Width: 512-------
Height: 512-------
BitDepth: 24-------
ColorType: 'truecolor'-------
FormatSignature: [73 73 42 0]-------
ByteOrder: 'little-endian'-------
NewSubFileType: 0-------
BitsPerSample: [8 8 8]-------
Compression: 'Uncompressed'-------
PhotometricInterpretation: 'RGB'-------
StripOffsets: 298-------
SamplesPerPixel: 3-------
GrayResponseUnit: 0.0100-------
MaxSampleValue: [255 255 255]-------
MinSampleValue: [0 0 0]-------
Thresholding: 1-------
Offset: 8-------
对于这些信息,我有以下问题:
- MaxSampleValue: [255 255 255] 和 MinSampleValue: [0 0 0] 是否代表黑色和饱和度?如果是这样,那么 8 的偏移量究竟代表什么?
- 由于没有关于线性化表的信息,我假设没有任何非线性变换应用于传感器数据以用于存储目的。那么假设 tiff 文件中的数据是线性的是否安全?
- 我读入的图像是一个 512x512x3 uint8 文件。由于文档显示它是真彩色图像,我假设第一个矩阵是红色的,第二个是绿色的,第三个是蓝色的。这个对吗?
- 是否有任何图像处理步骤应用于 tiff 文件?即伽玛校正或白平衡?