j2d.edge
Class LoGSobelProcessor

java.lang.Object
  extended by j2d.edge.LoGSobelProcessor
All Implemented Interfaces:
ImageProcessorFactory, ImageProcessorInterface

public class LoGSobelProcessor
extends java.lang.Object
implements ImageProcessorInterface, ImageProcessorFactory


Constructor Summary
LoGSobelProcessor(int _kernelWidth, double _sigma, int _thresh, boolean _isThresh, boolean _isSobel)
           
 
Method Summary
 ImageProcessorInterface getProcessor(int i)
          get a parameterized image processor.
 java.awt.Image process(java.awt.Image img)
          a basic garbage in, garbage out processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoGSobelProcessor

public LoGSobelProcessor(int _kernelWidth,
                         double _sigma,
                         int _thresh,
                         boolean _isThresh,
                         boolean _isSobel)
Method Detail

getProcessor

public ImageProcessorInterface getProcessor(int i)
Description copied from interface: ImageProcessorFactory
get a parameterized image processor.

Specified by:
getProcessor in interface ImageProcessorFactory
Parameters:
i - some integer parameter used to create the image processor
Returns:
an ImageProcessor instance.

process

public java.awt.Image process(java.awt.Image img)
Description copied from interface: ImageProcessorInterface
a basic garbage in, garbage out processor.

Specified by:
process in interface ImageProcessorInterface
Parameters:
img - input image
Returns:
output image