package ie.dcu.image; import ie.dcu.matrix.MatrixProvider; /** * Interface for classes that implement operations on images. * * The following is an example of how it can be used: *
 *   ByteMatrix input = ... 
 *   ImageOp op = createImageOp(); 
 *   op.setInputProvider(input);
 *   ByteMatrix matrix = (ByteMatrix) op.getMatrix(Matrix.Type.Byte, false);
 * 
* * The above assumes that createImageOp() creates and returns * an instance of ImageOp. * * @author Kevin McGuinness */ public interface ImageOp extends MatrixProvider { /** * Set the class that will provide the input for this image operation. * * @param provider * A {@link MatrixProvider} instance. */ public void setInputProvider(MatrixProvider provider); }