Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_ColorSpace.h
1#pragma once
2
3#include "./AOI_Function.h"
4#include "../Profile.h"
5
6class AOIAPI AOI_ColorSpace
7{
8public:
9 uint32_t GetType() const;
10 AOI_ColorSpaceEnum Space() const;
11 uint32_t NrOfComponents() const;
12 const char* ChannelName( uint32_t ) const;
13 void GetCIELab( const uint16_t* src, float* out ) const;
14};
15typedef AOI_ColorSpace* AOI_ColorSpacePtr;
16
17class AOIAPI AOI_ColorSpace_Lab : public AOI_ColorSpace
18{
19public:
20 static const uint32_t Type = 'LAB!';
21};
23
24class AOIAPI AOI_ColorSpace_CalibratedGray : public AOI_ColorSpace
25{
26public:
27 static const uint32_t Type = 'CL1!';
28
29 void GetWhitePoint( double[3] ) const;
30 void GetBlackPoint( double[3] ) const;
31 double GetGamma() const;
32};
34
35class AOIAPI AOI_ColorSpace_CalibratedRGB : public AOI_ColorSpace
36{
37public:
38 static const uint32_t Type = 'CL3!';
39
40 void GetWhitePoint( double[3] ) const;
41 void GetBlackPoint( double[3] ) const;
42 void GetGamma( double[3] ) const;
43 void GetRedColorant( double[3] ) const;
44 void GetGreenColorant( double[3] ) const;
45 void GetBlueColorant( double[3] ) const;
46};
48
49class AOIAPI AOI_ColorSpace_ICC : public AOI_ColorSpace
50{
51public:
52 static const uint32_t Type = 'ICC!';
53
54 const icHeader& GetHeader() const;
55 void GetDescriptor( char* ) const;
56 void GetICCData( uint8_t* ) const;
57};
59
60class AOIAPI AOI_ColorSpace_DeviceGray : public AOI_ColorSpace
61{
62public:
63 static const uint32_t Type = 'GRY!';
64};
66
67class AOIAPI AOI_ColorSpace_DeviceRGB : public AOI_ColorSpace
68{
69public:
70 static const uint32_t Type = 'RGB!';
71};
73
74class AOIAPI AOI_ColorSpace_DeviceCMYK : public AOI_ColorSpace
75{
76public:
77 static const uint32_t Type = 'CMY!';
78};
80
82{
83public:
84 static const uint32_t Type = 'cmy!';
85};
87
88class AOIAPI AOI_ColorSpace_DeviceN : public AOI_ColorSpace
89{
90public:
91 static const uint32_t Type = 'DVN!';
92
93 AOI_ColorSpacePtr ChannelSpace( uint32_t ) const;
94 AOI_Function* ChannelFunction( uint32_t ) const;
95 AOI_ColorSpacePtr GetAlternate() const;
96 AOI_Function* GetFunction() const;
97};
99
100class AOIAPI AOI_ColorSpace_Indexed : public AOI_ColorSpace
101{
102public:
103 static const uint32_t Type = 'IDX!';
104
105 uint32_t GetColorCount() const;
106 AOI_ColorSpacePtr GetBase() const;
107 void GetColor( uint32_t, uint16_t* ) const;
108};
DeviceN / Multichannel.
Device CMKY with Illustrator overprint.
Base class for functions.