C# Класс Ocronet.Dynamic.ImgLib.ImgLabels

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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[]