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

## Plugin type: 2dimage/fullcost

This class of cost functions evaluates the cost resulting from the use of a certain transformation. This may include a penalty term that ensures the smoothness of a transformation or the evaluation of a similarity measure between a transformed study data set and a reference data set.

#### Plugins:

image labelimage maskedimage

##### image

Generalized image similarity cost function that also handles multi-resolution processing. The actual similarity measure is given es extra parameter.. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
cost | factory | ssd | Cost function kernel. For supported plug-ins see Plugin type: 2dimage/cost
debug | bool | 0 | Save intermediate resuts for debugging
ref | io | (input) | Reference image. For supported file types see Plugin type: 2dimage/io
src | io | (input) | Study image. For supported file types see Plugin type: 2dimage/io
weight | float | 1 | weight of cost function

##### labelimage

Similarity cost function that maps labels of two images and handles label-preserving multi-resolution processing.. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
debug | int in [0, 1] | 0 | write the distance transforms to a 3D image
maxlabel | int in [2, 32000] | 256 | maximum number of labels to consider
ref | io | (input) | Reference image. For supported file types see Plugin type: 2dimage/io
src | io | (input) | Study image. For supported file types see Plugin type: 2dimage/io
weight | float | 1 | weight of cost function

##### maskedimage

Generalized masked image similarity cost function that also handles multi-resolution processing. The provided masks should be densly filled regions in multi-resolution procesing because otherwise the mask information may get lost when downscaling the image. The reference mask and the transformed mask of the study image are combined by binary AND. The actual similarity measure is given es extra parameter.. Supported parameters are:

Name | Type | Default | Description
--- | --- | --- | ---
cost | factory | ssd | Cost function kernel. For supported plug-ins see Plugin type: 2dimage/maskedcost
ref | io | (input) | Reference image. For supported file types see Plugin type: 2dimage/io
ref-mask | io | (input) | Reference image mask (binary). For supported file types see Plugin type: 2dimage/io
src | io | (input) | Study image. For supported file types see Plugin type: 2dimage/io
src-mask | io | (input) | Study image mask (binary). For supported file types see Plugin type: 2dimage/io
weight | float | 1 | weight of cost function

#### Plugin consumers:

mia-2dcost mia-2dimageregistration mia-2dmany2one-nonrigid mia-2dmulti-force mia-2dmultiimageregistration mia-2dmyoica-full mia-2dmyoica-nonrigid mia-2dmyoica-nonrigid-parallel mia-2dmyoicapgt mia-2dmyoperiodic-nonrigid mia-2dmyoserial-nonrigid mia-2dmyoset-all2one-nonrigid

Prev | Up | Next
Plugin type: 2dimage/filter | Home | Plugin type: 2dimage/io