- All Known Implementing Classes:
AbstractImageContainer,ApacheImageContainer,RenderedImageContainer
public interface IImageContainer
-
Method Summary
Modifier and TypeMethodDescriptiondefault BufferedImageasBufferImage(IMessageCollector messageCollector, ICanceler canceler) default BufferedImageasBufferImage(ICanceler canceler) crop(float x, float y, float width, float height) fitTo(int width, int height) intintdefault net.anwiba.commons.image.histogram.Histogramnet.anwiba.commons.image.histogram.HistogramgetHistogram(IMessageCollector messageCollector, ICanceler canceler) default IImageMetadataintintdefault Number[]getValues(int x, int y) default Number[][]getValues(int x, int y, int width, int height) default Number[]getValues(IMessageCollector messageCollector, ICanceler canceler, int x, int y) default Number[][]getValues(IMessageCollector messageCollector, ICanceler canceler, int x, int y, int width, int height) default Number[]default Number[][]intgetWidth()invert()default booleanmapBands(int[] bandMapping) opacity(float factor) default IImageContaineroperation(IImageOperation operation) default IImageContainerscale(double widthFactor, double heightFactor) scale(float factor) scale(float widthFactor, float heightFactor) scaleTo(int width, int height)
-
Method Details
-
asBufferImage
-
asBufferImage
- Throws:
CanceledException
-
asBufferImage
BufferedImage asBufferImage(IMessageCollector messageCollector, ICanceler canceler) throws CanceledException - Throws:
CanceledException
-
crop
-
crop
-
fitTo
-
scale
-
scaleTo
-
scale
-
scale
-
invert
IImageContainer invert() -
opacity
-
operation
-
mapBands
-
toGrayScale
IImageContainer toGrayScale() -
getWidth
int getWidth() -
getHeight
int getHeight() -
getNumberOfComponents
int getNumberOfComponents() -
getNumberOfBands
int getNumberOfBands() -
getColorSpaceType
int getColorSpaceType() -
isScaleRecommended
default boolean isScaleRecommended() -
getMetadata
-
getValues
-
getValues
- Throws:
CanceledException
-
getValues
default Number[] getValues(IMessageCollector messageCollector, ICanceler canceler, int x, int y) throws CanceledException - Throws:
CanceledException
-
getValues
-
getValues
default Number[][] getValues(ICanceler canceler, int x, int y, int width, int height) throws CanceledException - Throws:
CanceledException
-
getValues
default Number[][] getValues(IMessageCollector messageCollector, ICanceler canceler, int x, int y, int width, int height) throws CanceledException - Throws:
CanceledException
-
getHistogram
default net.anwiba.commons.image.histogram.Histogram getHistogram() -
getHistogram
net.anwiba.commons.image.histogram.Histogram getHistogram(IMessageCollector messageCollector, ICanceler canceler) throws CanceledException - Throws:
CanceledException
-