Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SegmentationImage ¶
type SegmentationImage struct { DestImage *image.RGBA GraphContext *draw2dimg.GraphicContext Objects []Object }
func NewSegmentationImage ¶
func NewSegmentationImage(img image.Image) *SegmentationImage
func (*SegmentationImage) AddPolygonAnnotation ¶
func (s *SegmentationImage) AddPolygonAnnotation(polygon annotation.PolygonAnnotation)
func (*SegmentationImage) DrawSegmentationClassImage ¶
func (s *SegmentationImage) DrawSegmentationClassImage(file string) error
Draw all objects with the same color.
func (*SegmentationImage) DrawSegmentationLabelImage ¶
func (s *SegmentationImage) DrawSegmentationLabelImage(file string) error
Draw all objects with the different colors.
Click to show internal directories.
Click to hide internal directories.