|
iluColoursUsed creates a copy of the image data, quicksorts it and counts the number of unique colours in the image. This value is returned without affecting the original image.
| ILboolean iluColoursUsed( ILvoid );
|
Parameters
Errors | - ILU_ILLEGAL_OPERATION
- The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.
- ILU_OUT_OF_MEMORY
- Could not allocate enough memory in an operation
|
See Also
|