Up: Component summary Component

Ellipse2Mask

Converts a CSV expression of ellipses in to masklist (and mask) image format. Reverse conversion can be done with ImageMorphFeatures.

Version 1.0
Bundle anima
Categories Image Transformation
Authors Ville Rantanen (ville.rantanen@helsinki.fi)
Issue tracker View/Report issues
Requires Matlab
Source files component.xml e2mask.m
Usage Example with default values

Inputs

Name Type Mandatory Description
images ImageList Mandatory A directory with grayscale image files. Used to get the width and height of result images.
objects CSV Mandatory List of locations for the objects. Must contain the following columns:
  • Object: number of object
  • X: X coordinate
  • Y: Y coodrinate
  • Alpha: Angle in radians, 0 points up.
  • Lx: Half of major axis length
  • Ly: Half of minor axis length
names ImageList Optional A directory with the original image files, for naming the table. If omitted, names from "images" are used.

Outputs

Name Type Description
mask ImageList Visualization of the ellipses as a mask image.
perimeter ImageList Visualization of the ellipses as a perimeter image.
masklist MaskList Masklist representation of the ellipses.

Parameters

Name Type Default Description
arrow boolean false Changes the ellipse in to an arrowhead
maskList boolean false Produce a MaskList output. Takes more time to run.

Test cases

Test case Parameters IN
images
IN
objects
IN
names
OUT
mask
OUT
perimeter
OUT
masklist
case1 properties images objects (missing) mask perimeter (missing)

maskList=false


Generated 2019-02-08 07:42:07 by Anduril 2.0.0