C# 클래스 Ocronet.Dynamic.ImgLib.ImgLabels

파일 보기 프로젝트 열기: nickun/OCRonet

공개 프로퍼티들

프로퍼티 타입 설명
colors int[]

공개 메소드들

메소드 설명
bounding_boxes ( Narray &result, Intarray image ) : void

Compute the bounding boxes for the pixels in the image.

dontcare ( int x ) : bool
interesting_colors ( int x ) : int
label_components ( Intarray &image, bool four_connected = false ) : int

Label the connected components of an image.

propagate_labels ( Intarray &image ) : void

Propagate labels across the entire image from a set of non-zero seeds.

propagate_labels_to ( Intarray &target, Intarray seed ) : void
remove_dontcares ( Intarray &image ) : void
renumber_labels ( Intarray image, int start = 1 ) : int

Renumber the non-zero pixels in an image to start with pixel value start. The numerical order of pixels is preserved.

simple_recolor ( Intarray image ) : void

메소드 상세

bounding_boxes() 공개 정적인 메소드

Compute the bounding boxes for the pixels in the image.
public static bounding_boxes ( Narray &result, Intarray image ) : void
result Narray
image Intarray
리턴 void

dontcare() 공개 정적인 메소드

public static dontcare ( int x ) : bool
x int
리턴 bool

interesting_colors() 공개 정적인 메소드

public static interesting_colors ( int x ) : int
x int
리턴 int

label_components() 공개 정적인 메소드

Label the connected components of an image.
public static label_components ( Intarray &image, bool four_connected = false ) : int
image Intarray
four_connected bool
리턴 int

propagate_labels() 공개 정적인 메소드

Propagate labels across the entire image from a set of non-zero seeds.
public static propagate_labels ( Intarray &image ) : void
image Intarray
리턴 void

propagate_labels_to() 공개 정적인 메소드

public static propagate_labels_to ( Intarray &target, Intarray seed ) : void
target Intarray
seed Intarray
리턴 void

remove_dontcares() 공개 정적인 메소드

public static remove_dontcares ( Intarray &image ) : void
image Intarray
리턴 void

renumber_labels() 공개 정적인 메소드

Renumber the non-zero pixels in an image to start with pixel value start. The numerical order of pixels is preserved.
public static renumber_labels ( Intarray image, int start = 1 ) : int
image Intarray
start int
리턴 int

simple_recolor() 공개 정적인 메소드

public static simple_recolor ( Intarray image ) : void
image Intarray
리턴 void

프로퍼티 상세

colors 공개적으로 정적으로 프로퍼티

public static int[] colors
리턴 int[]