pyclustering  0.10.1
pyclustring is a Python, C++ data mining library.
pyclustering.nnet.syncsegm.syncsegm_analyser Class Reference

Performs analysis of output dynamic of the double-layer oscillatory network 'syncsegm' to extract information about segmentation results. More...

Public Member Functions

def __init__ (self, color_analyser, object_segment_analysers=None)
 Constructor of the analyser. More...
 
def get_first_layer_analyser (self)
 Returns analyser of coloring segmentation of the first layer.
 
def get_second_layer_analysers (self)
 Returns analysers of object segmentation of the second layer.
 
def allocate_colors (self, eps=0.01, noise_size=1)
 Allocates color segments. More...
 
def allocate_objects (self, eps=0.01, noise_size=1)
 Allocates object segments. More...
 

Detailed Description

Performs analysis of output dynamic of the double-layer oscillatory network 'syncsegm' to extract information about segmentation results.

Definition at line 63 of file syncsegm.py.

Constructor & Destructor Documentation

◆ __init__()

def pyclustering.nnet.syncsegm.syncsegm_analyser.__init__ (   self,
  color_analyser,
  object_segment_analysers = None 
)

Constructor of the analyser.

Parameters
[in]color_analyser(list): Analyser of coloring segmentation results of the first layer.
[in]object_segment_analysers(list): Analysers of objects on image segments - results of the second layer.

Definition at line 69 of file syncsegm.py.

Member Function Documentation

◆ allocate_colors()

def pyclustering.nnet.syncsegm.syncsegm_analyser.allocate_colors (   self,
  eps = 0.01,
  noise_size = 1 
)

Allocates color segments.

Parameters
[in]eps(double): Tolerance level that define maximal difference between phases of oscillators in one segment.
[in]noise_size(uint): Threshold that defines noise - segments size (in pixels) that is less then the threshold is considered as a noise.
Returns
(list) Color segments where each color segment consists of indexes of pixels that forms color segment.

Definition at line 100 of file syncsegm.py.

◆ allocate_objects()

def pyclustering.nnet.syncsegm.syncsegm_analyser.allocate_objects (   self,
  eps = 0.01,
  noise_size = 1 
)

Allocates object segments.

Parameters
[in]eps(double): Tolerance level that define maximal difference between phases of oscillators in one segment.
[in]noise_size(uint): Threshold that defines noise - segments size (in pixels) that is less then the threshold is considered as a noise.
Returns
(list) Object segments where each object segment consists of indexes of pixels that forms object segment.

Definition at line 116 of file syncsegm.py.


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