jjil.algorithm
Class DeblurHorizHalftone

java.lang.Object
  extended by jjil.core.PipelineStage
      extended by jjil.algorithm.DeblurHorizHalftone

public class DeblurHorizHalftone
extends PipelineStage

Uses deconvolution to remove blur from a Gray8Image. The blur removed is a horizontal Gaussian blur with a given standard deviation. The background noise level in the input image can be adjusted. The output Gray8Image is rescaled so the maximum and minimum values fill the range from Byte.MIN_VALUE to Byte.MAX_VALUE.

Author:
webb

Constructor Summary
DeblurHorizHalftone()
          Creates a new instance of InverseFilter.
 
Method Summary
 void push(Image im)
          Deblurs an input Gray8Image which has been blurred by a horizontal Gaussian of the given standard deviation and which has a background noise level less than the given level.
 
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

DeblurHorizHalftone

public DeblurHorizHalftone()
Creates a new instance of InverseFilter.

Method Detail

push

public void push(Image im)
          throws Error
Deblurs an input Gray8Image which has been blurred by a horizontal Gaussian of the given standard deviation and which has a background noise level less than the given level.

Specified by:
push in class PipelineStage
Parameters:
im - Input Gray8Image.
Throws:
Error - if the input is not of type Gray8Image.