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

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)
 

Detailed Description

Screener / halftoning.

See also
AOI_Renderer, AOI_WriteTIFF

The screener converts the contone output from the renderer to halftoned data (screens).

Definition at line 10 of file AOI_Screener.h.

Constructor & Destructor Documentation

◆ AOI_Screener()

AOI_Screener::AOI_Screener ( const char * screenerType)

Constructor of a screener of the given screenerType. Possible screeners are:

  • CED

The access to the screeners is limited by the license.

Parameters
screenerTypeName of the screener to use.

Definition at line 1306 of file AOI_Screener.cpp.

Member Function Documentation

◆ PageEnd()

void AOI_Screener::PageEnd ( )

Ends the page and flushes all output.

See also
PageStart, ProcessLine

Definition at line 1351 of file AOI_Screener.cpp.

◆ PageStart()

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.

Parameters
channelCntNumber of channels/inks in the contone image data.
widthWidth of the image data in pixels.
heightHeight of the image data in pixels.
levelsThe number of output levels including 0. The number of levels dictate the number of bits used in the output.
  • 2 level : 1 bit
  • 3-4 level : 2 bits
  • 5-16 level : 4 bits
  • 16-64 level : 8 bits
dotWeightsRelative weights of the dots normalized to 1, including the weight of level 0 which must be 0.
linCurve16 bits linearization curve. 256 entries.
See also
PageStart, PageEnd, ProcessLine

Definition at line 1336 of file AOI_Screener.cpp.

◆ ProcessLine()

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.

Parameters
inLinePointer to the contone data of width defined by PageStart.
outLinePointer to memory that receives the screened data.
See also
PageStart, PageEnd

Definition at line 1366 of file AOI_Screener.cpp.


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