|
<< Click to Display Table of Contents >> Navigation: FIF2 Binary File Format Specification > Transformation Records |
This is the core of the format.
Each transformation describes how to reconstruct one image block.
A transformation entry contain:
Field |
Size |
Description |
Domain X |
2 bytes |
Domain block X position |
Domain Y |
2 bytes |
Domain block Y position |
Range X |
2 bytes |
Range block X position |
Range Y |
2 bytes |
Range block Y position |
Transform type |
1 byte |
Rotation/reflection |
Contrast scale |
4 bytes float |
Contrast multiplier |
Brightness offset |
4 bytes float |
Brightness adjustment |
Error metric |
2 bytes |
Optional quality score |
Transformation Types:
Value |
Operation |
0 |
None |
1 |
Rotate 90° |
2 |
Rotate 180° |
3 |
Rotate 270° |
4 |
Mirror Horizontal |
5 |
Mirror Vertical |