Aurelon Open API 8.1.1
|
Screener / halftoning. More...
Public Member Functions | |
AOI_Screener (const char *screenerType) | |
void | PageStart (uint32_t channelCnt, uint32_t width, uint32_t height, uint32_t levels, const float *dotWeights, const uint16_t *linCurve) |
void | PageEnd () |
void | ProcessLine (const void *inLine, void *outLine) |
Screener / halftoning.
The screener converts the contone output from the renderer to halftoned data (screens).
Definition at line 10 of file AOI_Screener.h.
AOI_Screener::AOI_Screener | ( | const char * | screenerType | ) |
Constructor of a screener of the given screenerType. Possible screeners are:
The access to the screeners is limited by the license.
screenerType | Name of the screener to use. |
Definition at line 1306 of file AOI_Screener.cpp.
void AOI_Screener::PageEnd | ( | ) |
Ends the page and flushes all output.
Definition at line 1351 of file AOI_Screener.cpp.
void AOI_Screener::PageStart | ( | uint32_t | channelCnt, |
uint32_t | width, | ||
uint32_t | height, | ||
uint32_t | levels, | ||
const float * | dotWeights, | ||
const uint16_t * | linCurve ) |
Starts a page for the screener. The PageStart must be called before any calls to ProcessLine are valid. This call must be paired with PageEnd.
channelCnt | Number of channels/inks in the contone image data. |
width | Width of the image data in pixels. |
height | Height of the image data in pixels. |
levels | The number of output levels including 0. The number of levels dictate the number of bits used in the output.
|
dotWeights | Relative weights of the dots normalized to 1, including the weight of level 0 which must be 0. |
linCurve | 16 bits linearization curve. 256 entries. |
Definition at line 1336 of file AOI_Screener.cpp.
void AOI_Screener::ProcessLine | ( | const void * | inLine, |
void * | outLine ) |
Provide 1 plane of contone data to the screener and receive the screened plane back. The feeding sequence of the data must be respected and goes from 0 to channelCount. Also empty channels must be fed to this method.
inLine | Pointer to the contone data of width defined by PageStart. |
outLine | Pointer to memory that receives the screened data. |
Definition at line 1366 of file AOI_Screener.cpp.