Constructor and Description |
---|
FloydSteinbergDithering(RandomAccessibleInterval<T> img)
Will estimate the dithering threshold by (max - min) / 2
|
FloydSteinbergDithering(RandomAccessibleInterval<T> img,
float ditheringThreshold) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkInput() |
Img<FloatType> |
createErrorDiffusionKernel(int numDimensions) |
String |
getErrorMessage() |
long |
getProcessingTime() |
Img<BitType> |
getResult() |
boolean |
process() |
public FloydSteinbergDithering(RandomAccessibleInterval<T> img, float ditheringThreshold)
public FloydSteinbergDithering(RandomAccessibleInterval<T> img)
public long getProcessingTime()
getProcessingTime
in interface Benchmark
public Img<BitType> getResult()
getResult
in interface OutputAlgorithm<Img<BitType>>
public boolean checkInput()
checkInput
in interface Algorithm
public String getErrorMessage()
getErrorMessage
in interface Algorithm
Copyright © 2015–2022 ImgLib2. All rights reserved.