Up: Component summary Component

ShapeFitting

Fits a user given shape on image data by changing the location, orientation and scale of the shape.

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

Inputs

Name Type Mandatory Description
images ImageList Mandatory A directory with grayscale image files.
shape ImageList Mandatory A directory with single image file, representing the shape to be fitted.
names ImageList Optional A directory with the original image files, for naming the table. If omitted, names from "dir" are used.

Outputs

Name Type Description
limits CSV List of response max/min to interpret the intensity levels.
location ImageList Maximum response images.
orientation ImageList Direction at maximum response. Color value equals direction/rotationSteps.
scale ImageList Scale at maximum response. Color value equals scale. (maximum at 1)

Parameters

Name Type Default Description
rotationSteps float 1 Steps for shape rotations. The first step is always unaltered.
rotationSymmetry float 360 Degrees of symmetricality. A "line" object repeats itself every 180 degrees. A "plus" repeats every 90 degrees.
scaleMin float 0.4 Minimum scale coefficient. Maximum scale is always the shape unaltered.
scaleSteps float 1 Steps for scale changes.

Test cases

Test case Parameters IN
images
IN
shape
IN
names
OUT
limits
OUT
location
OUT
orientation
OUT
scale
case1_scale properties images shape (missing) limits location orientation scale

scaleSteps=2,
scaleMin=0.5

case2_rotate properties images shape (missing) limits location orientation scale

rotationSteps=16,
rotationSymmetry=380


Generated 2018-12-11 07:42:05 by Anduril 2.0.0