@Override public LuminanceSource rotateCounterClockwise45() { return new InvertedLuminanceSource(delegate.rotateCounterClockwise45()); }
@Override public LuminanceSource rotateCounterClockwise45() { return new InvertedLuminanceSource(delegate.rotateCounterClockwise45()); }
/** * Returns a new object with rotated image data by 45 degrees counterclockwise. * Only callable if {@link #isRotateSupported()} is true. * * @return A rotated version of this object. */ public BinaryBitmap rotateCounterClockwise45() { LuminanceSource newSource = binarizer.getLuminanceSource().rotateCounterClockwise45(); return new BinaryBitmap(binarizer.createBinarizer(newSource)); }
/** * Returns a new object with rotated image data by 45 degrees counterclockwise. * Only callable if {@link #isRotateSupported()} is true. * * @return A rotated version of this object. */ public BinaryBitmap rotateCounterClockwise45() { LuminanceSource newSource = binarizer.getLuminanceSource().rotateCounterClockwise45(); return new BinaryBitmap(binarizer.createBinarizer(newSource)); }