public class BinaryInterpolation2D extends Object implements OutputAlgorithm<BitType>
| Constructor and Description |
|---|
BinaryInterpolation2D(Image<BitType> img1,
Image<BitType> img2,
float weight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInput() |
String |
getErrorMessage() |
Image<BitType> |
getResult() |
boolean |
process() |
Image<BitType> |
process(float weight)
The first time, it will prepare the distance transform images, which are computed only once.
|
void |
setWeight(float weight)
After changing the weight, it's totally valid to call process() again,
and then getResult().
|
public Image<BitType> getResult()
getResult in interface OutputAlgorithm<BitType>public boolean checkInput()
checkInput in interface Algorithmpublic String getErrorMessage()
getErrorMessage in interface Algorithmpublic void setWeight(float weight)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2015–2021 Fiji. All rights reserved.