CAPS Universe documentation  1.0.4
All you need to know to be successful
Data Fields
halftone_converter Struct Reference

Halftone converter run-time data. More...

Data Fields

unsigned right_left:1
 
signed int dotval [2]
 
signed int threshold
 
size_t pixel_count
 
conv_typesliding_lines [2]
 

Detailed Description

Note
The 'signed short' dot values are for calculation only. Feed-in contains values 0x00…0xff and also after the processing they contain only dotval[0] or dotval[1] values.

Field Documentation

◆ right_left

unsigned right_left

half tone algorithm direction left->right or right->left

◆ dotval

signed int dotval[2]

dotval[0]: do not print value (e.g. 0), dotval[1]: print value (e.g. 255) FIXME nicht anders herum?

◆ threshold

signed int threshold

Threshold to chose one of the dotval values, below threshold: dotval[0], else dotval[1]

◆ pixel_count

size_t pixel_count

width of target image in pixels

◆ sliding_lines

conv_type* sliding_lines[2]

Two lines of the source image to process, size corresponds to "pixel_count"


The documentation for this struct was generated from the following file: