public class FloydSteinbergDithering<T extends RealType<T>> extends Object implements OutputAlgorithm<BitType>, Benchmark
Constructor and Description |
---|
FloydSteinbergDithering(Image<T> img) |
FloydSteinbergDithering(Image<T> img,
float ditheringThreshold) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
Image<FloatType> |
createErrorDiffusionKernel(int numDimensions) |
String |
getErrorMessage() |
long |
getProcessingTime() |
Image<BitType> |
getResult() |
static <T extends RealType<T>> |
getThreshold(Image<T> img) |
boolean |
process() |
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public Image<BitType> getResult()
getResult
in interface OutputAlgorithm<BitType>
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2021 Fiji. All rights reserved.