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... | |
Performs analysis of output dynamic of the double-layer oscillatory network 'syncsegm' to extract information about segmentation results.
Definition at line 78 of file syncsegm.py.
def pyclustering.nnet.syncsegm.syncsegm_analyser.__init__ | ( | self, | |
color_analyser, | |||
object_segment_analysers = None |
|||
) |
Constructor of the analyser.
[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 84 of file syncsegm.py.
def pyclustering.nnet.syncsegm.syncsegm_analyser.allocate_colors | ( | self, | |
eps = 0.01 , |
|||
noise_size = 1 |
|||
) |
Allocates color segments.
[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. |
Definition at line 115 of file syncsegm.py.
def pyclustering.nnet.syncsegm.syncsegm_analyser.allocate_objects | ( | self, | |
eps = 0.01 , |
|||
noise_size = 1 |
|||
) |
Allocates object segments.
[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. |
Definition at line 131 of file syncsegm.py.