DjVu Namespace : SegmenterParams Class |
The following tables list the members exposed by SegmenterParams.
Name | Description | |
---|---|---|
![]() | SegmenterParams Constructor |
Name | Description | |
---|---|---|
![]() | BlockSize | Processing block size in pixels. |
![]() | BlurRadius | This value is segmenter pre-filter radius to reduce noises. |
![]() | DetectEdge | This value is to control the detection of edges surrounding a objects. If any objects are connected to an important object which is considered to be vital to the document readability, the objects may reduce the quality of the important object; they changes the color of the important object during the JB2 color processing.\n With this flag, you can remove such undesired interference by removing such objects. |
![]() | MaxSizeOfNoiseObj | Maximum size of the noise shapes in pixels. |
![]() | NoiseHueThreshold | This value is the threshold which is used to determine whether a object is a noise or not. If the difference between the hue average of the object and the one of the object background is no more than this value, the object is regarded as a noise and removed. |
![]() | ThickenShapes | This value is to control the thicken-shape process, which improves the readability when used with Color JB2 images. |
![]() | Upsample | This value is to upsample the input image for better segmentation result. The output size is not affected by the value. |
![]() | UseFgIfEmpty | This value is to control which layer to choose if the input image has only one color and no need to segment the image. If this value is true, segmenter writes 0 for all the mask pixels; otherwise writes 1 for all the mask pixels. |
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | Equals | |
![]() | GetHashCode | |
![]() | InterfaceClone |