- All Implemented Interfaces:
ImageResource
,NamedResource
,Serializable
,Comparable<GeneralSampleImage>
,java.lang.constant.Constable
Enumeration defining a set of ImageResource
objects for selected sample images.
Usage example:
import ij.process.ImageProcessor; import imagingbook.core.resource.ImageResource; import imagingbook.sampleimages.GeneralSampleImage; ImageResource ir = GeneralTestImage.Clown; ImageProcessor ip = ir.getImage().getProcessor(); // process ip ...
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA color image for testing color edge detectors.Original: https://imagej.nih.gov/ij/images/blobs.gifOriginal: https://imagej.nih.gov/ij/images/boats.gifGrayscale image used for SIFT feature detection.A simple binary shape image with 0/255 values.A binary image (inverted LUT) with circles and squares for chamfer matching.A stack of small grayscale images used for histogram specification/matching.Original: https://imagej.nih.gov/ij/images/clown.pngA small color test image for evaluating effects of filters in different color spaces.Original: https://imagej.nih.gov/ij/images/Dot_Blot.jpgFull-RGB color image used for various non-linear transformations.Indexed color image with 256 colors.TIFF image with attached ROI selection, used for trigonometric Fourier descriptors.Grayscale image used for SIFT demos.Original gray scan from Kepler manuscript.Binary image with a single connected component.Small grayscale image.Grayscale image used for MSER feature detection.Binary image with circles embedded in noise.Binary image with ellipses embedded in noise.Binary image with straight lines embedded in noise.Color image used for projective rectification.A poor-quality, noisy color image for testing edge-preserving smoothing.Grayscale stereo image used for SIFT feature detection and matching.A stack of 2 small grayscale stereo frames used for SIFT feature detection and matching.Fairly large binary image with 0/1 values.A small binary image with 0/255 values (white background = 255).A small binary image with 0/255 values and inverted LUT (white background = 0).A stack of 2 small grayscale images used for linear blending.Binary image with star-shaped regions, used for SIFT demos.Binary image with various tools, used for connected components segmentation.Color image, used for piecewise image warping. -
Field Summary
Fields inherited from interface imagingbook.core.resource.ImageResource
DefaultIconSize, IconMap, ValidImageExtensions
Fields inherited from interface imagingbook.core.resource.NamedResource
RelativeDirectorySuffix
-
Method Summary
Modifier and TypeMethodDescriptionReturns the file name for the associated resource (to be implemented by concrete classes).static GeneralSampleImage
Returns the enum constant of this type with the specified name.static GeneralSampleImage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface imagingbook.core.resource.ImageResource
autoName, getImageIcon, getImageIcon, getImagePlus
Methods inherited from interface imagingbook.core.resource.NamedResource
getRelativeDirectory, getRelativePath, getStream, getURL, isInsideJar
-
Enum Constant Details
-
Blobs
Original: https://imagej.nih.gov/ij/images/blobs.gif -
Boats
Original: https://imagej.nih.gov/ij/images/boats.gif -
Cat
A simple binary shape image with 0/255 values. -
Clown
Original: https://imagej.nih.gov/ij/images/clown.png -
DotBlot
Original: https://imagej.nih.gov/ij/images/Dot_Blot.jpg -
DotBlotSmall
-
IrishManor
Grayscale image used for SIFT demos. -
Kepler
Original gray scan from Kepler manuscript. -
MapleLeafSmall
Binary image with a single connected component. -
MonasterySmall
Small grayscale image. -
NoisyLines
Binary image with straight lines embedded in noise. -
NoisyCircles
Binary image with circles embedded in noise. -
NoisyEllipses
Binary image with ellipses embedded in noise. -
HouseRoi
TIFF image with attached ROI selection, used for trigonometric Fourier descriptors. -
RhinoBigCrop
Fairly large binary image with 0/1 values. -
RhinoSmall
A small binary image with 0/255 values (white background = 255). -
RhinoSmallInv
A small binary image with 0/255 values and inverted LUT (white background = 0). -
Stars
Binary image with star-shaped regions, used for SIFT demos. -
ToolsSmall
Binary image with various tools, used for connected components segmentation. -
WartburgSmall
Color image, used for piecewise image warping. -
PostalPackageSmall
Color image used for projective rectification. -
Flower
Full-RGB color image used for various non-linear transformations. -
FlowerIdx256
Indexed color image with 256 colors. -
MortarSmall
Grayscale image used for MSER feature detection. -
Castle
Grayscale image used for SIFT feature detection. -
RamsesSmall
Grayscale stereo image used for SIFT feature detection and matching. -
RamsesSmallStack
A stack of 2 small grayscale stereo frames used for SIFT feature detection and matching. -
ShipBeachSmallStack
A stack of 2 small grayscale images used for linear blending. -
CityscapeSmallStack
A stack of small grayscale images used for histogram specification/matching. -
ColorTest3
A small color test image for evaluating effects of filters in different color spaces. -
Balloons600
A color image for testing color edge detectors. -
Postcard2c
A poor-quality, noisy color image for testing edge-preserving smoothing. -
CirclesSquares
A binary image (inverted LUT) with circles and squares for chamfer matching.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFileName
Description copied from interface:NamedResource
Returns the file name for the associated resource (to be implemented by concrete classes).- Specified by:
getFileName
in interfaceImageResource
- Specified by:
getFileName
in interfaceNamedResource
- Returns:
- the name of the resource file
-