49 | | ''To do.'' |
| 49 | Each picture element will hold data for: |
| 50 | * coordinates |
| 51 | * colour information |
| 52 | * additional control information |
| 53 | |
| 54 | Coordinates could be absolute (therefore requiring 16 or 14 bits, maybe 12) or relative. I would favour a coordinate system relative to predefined image cells because there is a good chance that each cell will hold a point. Assuming at least 8 horizontal and vertical subdivisions, 6 bits can be gained this way. The final coordinate bit allocation is now 10, 8 or 6. We'll pick 8 to be safe for now: 16 X values and 16 Y values. |
| 55 | |
| 56 | Using 7 bits per colour allows for the following options: |
| 57 | * full bit range usage: 4 red values, 8 green values, 4 blue values |
| 58 | * almost full bit range usage: 5 red values, 5 green values, 5 blue values |
| 59 | |
| 60 | Finally, a weight value could be added, using a final bit. |
| 61 | |
| 62 | The proposed allocation is then 16, allowing 144 points to be stored in the following configurations: |
| 63 | * 12×12 |
| 64 | * 10×14 (losing 4 points) |
| 65 | * 9×16 |
| 66 | * 8×18 |
| 67 | * 7×20 (losig 4 points) |
| 68 | * 6×24 |