Plugin type: 2dimage/shape
Prev | Chapter 3. Plugin Reference | Next

## Plugin type: 2dimage/shape

These plug-ins define 2D structuring elements to describe neighborhoods for morphological and other filters.

#### Plugins:

1n 4n 8n rectangle sphere square

##### 1n

A shape that only contains the central point. (This plug-in doesn't take parameters)

##### 4n

4n neighborhood 2D shape. (This plug-in doesn't take parameters)

##### 8n

8n neighborhood 2D shape. (This plug-in doesn't take parameters)

##### rectangle

rectangle shape mask creator. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
fill | bool | 1 | create a filled shape
height | int in [1, inf) | 2 | height of rectangle
width | int in [1, inf) | 2 | width of rectangle

##### sphere

Closed spherical neighborhood shape of radius r.. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
r | float in (0, inf) | 2 | sphere radius

##### square

square shape mask creator. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
fill | bool | 1 | create a filled shape
width | int in [1, inf) | 2 | width of rectangle

#### Plugin consumers:

mia-2dimagefilter mia-2dimagefilterstack mia-2dsegment-fuzzyw mia-2dseries2dordermedian mia-2dseriesgradMAD mia-2dseriessmoothgradMAD mia-2dstackfilter close:2dimage/filter dilate:2dimage/filter erode:2dimage/filter label:2dimage/filter label:2dstack/filter open:2dimage/filter regiongrow:2dimage/filter shmean:2dimage/filter sws:2dimage/filter thresh:2dimage/filter ws:2dimage/filter

Prev | Up | Next
Plugin type: 2dimage/maskedcost | Home | Plugin type: 2dimage/transform