package ie.dcu.image.binary; import ie.dcu.image.ImageOp; /** * A specialization of {@link ImageOp} for binary images. * * @author Kevin McGuinness */ public interface BinaryImageOp extends ImageOp { /** * The default byte value that the image operation should consider to * foreground. */ public static final byte DEFAULT_BACKGROUND_VALUE = 0; /** * The default byte value that the image operation should consider to * background. */ public static final byte DEFAULT_FOREGROUND_VALUE = 1; /** * Set the value that the image operation should consider to be foreground. * * @param foregroundValue * A byte value. */ public void setForegroundValue(byte foregroundValue); /** * Set the value that the image operation should consider to be background. * * @param backgroundValue * A byte value. */ public void setBackgroundValue(byte backgroundValue); }