|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.algorithm.InverseFilter
public class InverseFilter
Computes the inverse filter of the input image, given an input point spread function and noise level.
Constructor Summary | |
---|---|
InverseFilter(Gray8Image psf,
int nGamma)
Creates a new instance of InverseFilter. |
Method Summary | |
---|---|
void |
push(Image im)
Compute the inverse filter of the given image. |
Methods inherited from class jjil.core.PipelineStage |
---|
getFront, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InverseFilter(Gray8Image psf, int nGamma) throws Error
psf
- The input point spread function. This must be a power of 2 in size.nGamma
- The gamma parameter from the inverse filter operation, corresponding to
a noise level. Higher gamma values imply a higher noise level and keep
the inverse filter from amplifying noisy components.
Error
- If the point spread function is not square or a power of 2 in size.Method Detail |
---|
public void push(Image im) throws Error
push
in class PipelineStage
im
- the Gray8Image to compute the inverse filter on.
Error
- If the input image is not a Gray8Image or not the same size as the
point spread function.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |