Package | Description |
---|---|
net.sourceforge.jiu.codecs |
Provides classes to read images from and save them to files (or streams) in various file formats.
|
net.sourceforge.jiu.codecs.tiff |
Classes to handle the Tagged Image File Format (TIFF).
|
net.sourceforge.jiu.color |
Contains color-related operations that did not fit into one of the subpackages.
|
net.sourceforge.jiu.color.adjustment |
Contains operations that modify pixel colors independent from other pixels.
|
net.sourceforge.jiu.color.analysis |
Contains classes that analyze pixel or sample values and thus determine
certain image properties.
|
net.sourceforge.jiu.color.dithering |
Classes for conversion between color spaces.
|
net.sourceforge.jiu.color.promotion |
Classes to convert JIU image objects to other image types that require more memory.
|
net.sourceforge.jiu.color.quantization |
Classes to perform color image quantization, the reduction of the number of unique
colors in an image.
|
net.sourceforge.jiu.color.reduction |
Classes to convert images to a
lowercolor type. |
net.sourceforge.jiu.filters |
Various image filters that produce an output image from an input image,
mostly reading a pixel and its neighbors in the input image to determine the
pixel in the output image.
|
net.sourceforge.jiu.geometry |
Operations to change the geometry of an image, mirroring it horizontally and vertically,
shearing, scaling and rotating it.
|
net.sourceforge.jiu.ops |
The operation package, with basic functionality for all JIU classes
that actually process images.
|
Modifier and Type | Method and Description |
---|---|
private void |
IFFCodec.checkAndLoad() |
void |
ImageCodec.checkBounds(int width,
int height)
If bounds were defined for this codec, this method tests if the
bounds rectangle fits into the rectangle
(0, 0) / (width - 1, height - 1) . |
void |
ImageCodec.checkImageResolution()
If an image object was provided to be used for loading via
ImageCodec.setImage(net.sourceforge.jiu.data.PixelImage) ,
this method checks if its resolution is the same as the bounds' resolution. |
private void |
PNMCodec.load()
Loads an image from a PNM input stream.
|
private void |
PNMCodec.loadBilevelImage() |
private PixelImage |
IFFCodec.loadImage(java.io.DataInput in)
Loads an image from given input stream in, regarding the compression
type.
|
private void |
PalmCodec.loadImage(java.io.DataInput in) |
void |
PalmCodec.process() |
private void |
RASCodec.readHeader() |
private void |
GIFCodec.save() |
private void |
PNMCodec.save() |
private void |
RASCodec.save() |
private void |
RASCodec.saveHeader(PixelImage image) |
Modifier and Type | Method and Description |
---|---|
private void |
TIFFCodec.load()
Attempts to load an image from a file in the TIFF format.
|
private void |
TIFFCodec.load(TIFFImageFileDirectory ifd) |
Modifier and Type | Method and Description |
---|---|
private void |
Invert.prepare(PixelImage in) |
void |
Invert.process()
Inverts the input image, reusing an output image if one has been specified.
|
Modifier and Type | Method and Description |
---|---|
void |
Brightness.process() |
void |
Contrast.process() |
void |
GammaCorrection.process() |
void |
HueSaturationValue.process() |
Modifier and Type | Method and Description |
---|---|
void |
Histogram1DCreator.process() |
void |
Histogram3DCreator.process() |
void |
MeanDifference.process() |
Modifier and Type | Method and Description |
---|---|
void |
ClusteredDotDither.process() |
void |
ErrorDiffusionDithering.process()
Quantizes the input image, distributing quantization errors to neighboring
pixels.
|
void |
OrderedDither.process() |
Modifier and Type | Method and Description |
---|---|
private void |
PromotionGray16.prepare(PixelImage in) |
private void |
PromotionGray8.prepare(PixelImage in) |
private void |
PromotionPaletted8.prepare(PixelImage in) |
private void |
PromotionRGB24.prepare(PixelImage in) |
private void |
PromotionRGB48.prepare(PixelImage in) |
void |
PromotionGray16.process() |
void |
PromotionGray8.process() |
void |
PromotionPaletted8.process() |
void |
PromotionRGB24.process() |
void |
PromotionRGB48.process() |
Modifier and Type | Method and Description |
---|---|
void |
OctreeColorQuantizer.init()
Creates an octree and prepares this quantizer so that colors can be mapped to
palette index values.
|
void |
ArbitraryPaletteQuantizer.process()
Maps the input image to an output image, using the palette given to the constructor.
|
void |
MedianCutContourRemoval.process() |
void |
MedianCutQuantizer.process() |
void |
OctreeColorQuantizer.process()
Initializes an octree, reduces it have as many leaves (or less) as
the desired palette size and maps the original image to the newly-created
palette.
|
void |
PopularityQuantizer.process() |
Modifier and Type | Method and Description |
---|---|
static PixelImage |
RGBToGrayConversion.convert(PixelImage rgbImage)
Static convenience method to convert an RGB image to a grayscale image.
|
void |
AutoDetectColorType.process() |
void |
RGBToGrayConversion.process() |
void |
ReduceRGB.process() |
void |
ReduceShadesOfGray.process() |
void |
ReduceToBilevelThreshold.process() |
private void |
ReduceToBilevelThreshold.process(GrayIntegerImage in,
BilevelImage out) |
private void |
RGBToGrayConversion.process(Paletted8Image in) |
private void |
RGBToGrayConversion.process(RGB24Image in) |
private void |
RGBToGrayConversion.process(RGB48Image in) |
Modifier and Type | Method and Description |
---|---|
void |
AreaFilterOperation.process() |
void |
ConvolutionKernelFilter.process() |
void |
OilFilter.process() |
Modifier and Type | Method and Description |
---|---|
private void |
Crop.checkBounds() |
void |
Crop.process() |
void |
Flip.process() |
void |
Mirror.process() |
void |
Resample.process() |
void |
Rotate180.process() |
void |
Rotate90Left.process() |
void |
Rotate90Right.process() |
void |
ScaleReplication.process() |
void |
Shear.process() |
Modifier and Type | Method and Description |
---|---|
void |
ImageToImageOperation.ensureImagesHaveSameResolution()
If both an input and an output image have been specified (both non-null),
this method compares their width and height properties and throws
an exception if the two images do not have the same resolution.
|
void |
ImagesToImageOperation.ensureImagesHaveSameResolution()
Checks if all images have the same resolution as given by their
getWidth and getHeight methods.
|
void |
ImageToImageOperation.ensureOutputImageResolution(int width,
int height)
If an output image has been specified this method will compare
its resolution with the argument resolution and throw an exception if the
resolutions differ.
|
void |
ImagesToImageOperation.ensureOutputImageResolution(int width,
int height)
If an output image has been specified this method will compare
its resolution with the argument resolution and throw an exception if the
resolutions differ.
|
void |
LookupTableOperation.prepareImages() |
void |
LookupTableOperation.process() |
void |
Operation.process()
This method does the actual work of the operation.
|