_PixelSize Struct Reference
Memory used by each pixels component.
More...
#include <SimplePixelImage.h>
List of all members.
|
Public Attributes |
size_t | bits |
size_t | bytes |
size_t | maxLevel |
Detailed Description
Memory used by each pixels component.
The SimplePixelImage type is based on a pixel component planes description of the image. This structure describes the memory used by each pixel component.
- For instance:
- In the RGB image each pixel uses a total of 24 bytes memory. But this memory is split in three 8-bytes parts, one for each colour (red, green, blue).
Therefore a rgb pixel is formed by 3 pixel components each of 8 bytes. And the values would be:
- maxLevel = 255 (
) (since the 0 is included as the ground level) - bits = 256
- bytes = 8 (
)
The documentation for this struct was generated from the following file:
Generated on Wed Jul 14 17:25:05 2004 for Segmentation by
1.3.7