Home | Trees | Indices | Help |
---|
|
barTracedSlide class extension with method necessary to render CAF slide.
|
|||
|
|||
(float, float) |
|
||
(float, float) |
|
||
barTracedSlideRenderer |
|
||
barTracedSlide |
|
||
PIL.Image.Image |
|
||
barTracedSlideRenderer |
|
||
PIL.Image.Image |
|
||
barPretracedSlideRenderer |
|
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
Generate best label localtion for given path representation. The optimal position of the label is determined using maximum value of distance transform.
|
Calculate mass center of the slide basing on grayscale slide representation.
|
Change colour of every structure in the slide to given colour.
|
Assign text label for each path in the slide and place it in the center (according to maximal value of distance transform) of the path. All existing regular labels are erased while comment labels and spot labels remains.
|
Render image of requested structures. At least one of the structures has to be defined in the slide or blank white image will be returned. Structures are recognized by names of barStructure Workflow:
|
|
Render the path image. Returned image has two colors: white for background, black for foreground.
|
Convert given CAF slide into contour slide by removing fill from paths and assigning them contours.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 20 14:31:38 2013 | http://epydoc.sourceforge.net |