Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_ColorSpace_DeviceN Class Reference

DeviceN / Multichannel. More...

Inherits AOI_ColorSpace.

Public Member Functions

AOI_ColorSpacePtr ChannelSpace (uint32_t) const
 
AOI_FunctionChannelFunction (uint32_t) const
 
AOI_ColorSpacePtr GetAlternate () const
 
AOI_FunctionGetFunction () const
 
uint32_t GetType () const
 
AOI_ColorSpaceEnum Space () const
 
uint32_t NrOfComponents () const
 
const char * ChannelName (uint32_t) const
 
void GetCIELab (const uint16_t *src, float *out) const
 

Detailed Description

DeviceN / Multichannel.

Definition at line 88 of file AOI_ColorSpace.h.

Member Function Documentation

◆ ChannelFunction()

AOI_Function * AOI_ColorSpace_DeviceN::ChannelFunction ( uint32_t channel) const

Returns the function used to convert the channel of the DeviceN colorspace to separation space.

Parameters
channelThe channel number from which the function to return.
Returns
Function object defining the channel its function

Definition at line 318 of file AOI_ColorSpace.cpp.

◆ ChannelName()

const char * AOI_ColorSpace::ChannelName ( uint32_t channel) const
inherited

Returns the channel name of the requested channel of the colorspace. Thus "Red" for channel 0 of RGB.

Parameters
channelIndex of the channel. Must be less than NrOfComponents
Returns
Name of the channel.
See also
NrOfComponents

Definition at line 133 of file AOI_ColorSpace.cpp.

◆ ChannelSpace()

AOI_ColorSpacePtr AOI_ColorSpace_DeviceN::ChannelSpace ( uint32_t channel) const

Returns the colorspace used to define the channel of the DeviceN colorspace.

Parameters
channelThe channel number from which the colorspace to return.
Returns
Colorspace object defining the channel its colorspace

Definition at line 306 of file AOI_ColorSpace.cpp.

◆ GetAlternate()

AOI_ColorSpacePtr AOI_ColorSpace_DeviceN::GetAlternate ( ) const

Returns the alternate colorspace of the DeviceN colorspace. This colorspace is used when the DeviceN does not match with the renderer channels.

Returns
Colorspace object defining the alternate space.
See also
GetFunction

Definition at line 331 of file AOI_ColorSpace.cpp.

◆ GetCIELab()

void AOI_ColorSpace::GetCIELab ( const uint16_t * src,
float * out ) const
inherited

Retrieve the CIELab color of the given channel values. The channel values are converted to CIELab D50. The conversion follows the rules as explained in the PDF colorflow diagram. When no suiteable conversion to CIELab is available default conversions will be used. For example calling this method on a AOI_ColorSpace_DeviceRGB instance will invoke the build-in generic RGB to CIELab convertor.

Parameters
srcInput channels 16 bits encoded. The number of channels must match the colorspace channel count
outReceives the resulting L, a, b values. L [0,100], a <-128,127], b <-128,127]

Definition at line 149 of file AOI_ColorSpace.cpp.

◆ GetFunction()

AOI_FunctionPtr AOI_ColorSpace_DeviceN::GetFunction ( ) const

Returns the function used to convert the channels the DeviceN colorspace to the alternate colorspace. This function is used when the DeviceN does not match with the renderer channels.

Returns
Function object defining the conversion function.
See also
GetAlternate

Definition at line 344 of file AOI_ColorSpace.cpp.

◆ GetType()

uint32_t AOI_ColorSpace::GetType ( ) const
inherited

Class type of the colorspace. The return value is the type identifier of the colorspace class like AOI_ColorSpace_DeviceCMYK::Type for DeviceCMYK. This value is used to identify the colorspace type like CMYK, RGB, ICC, etc.

Returns
Colorspace class type.

Definition at line 97 of file AOI_ColorSpace.cpp.

◆ NrOfComponents()

uint32_t AOI_ColorSpace::NrOfComponents ( ) const
inherited

Returns the number of channels that is used by this colorspace. Thus 3 channels for RGB and 4 for CMYK etc.

Returns
Number of channels used by the colorspace.

Definition at line 120 of file AOI_ColorSpace.cpp.

◆ Space()

AOI_ColorSpaceEnum AOI_ColorSpace::Space ( ) const
inherited

Colorspace used by the colorspace object. Multiple colorspace objects might return the same colorspace. For example DeviceRGB, CalibratedRGB and a RGB ICC profile all return AOI_RGBSpace.

Returns
Colorspace used by the object.

Definition at line 109 of file AOI_ColorSpace.cpp.


The documentation for this class was generated from the following files: