Uses of Class
org.apache.sis.coverage.Category
Packages that use Category
Package
Description
Functions that associates positions within a bounded space (its domain) to values (its range).
A coverage backed by a regular grid.
Provides helper classes for handling Java2D rendered images together with some operations.
A set of helper classes for the SIS implementation backed by Java2D.
-
Uses of Category in org.apache.sis.coverage
Subclasses of Category in org.apache.sis.coverageModifier and TypeClassDescription(package private) final class
A category of "real values" range.Fields in org.apache.sis.coverage declared as CategoryModifier and TypeFieldDescriptionprivate final Category[]
CategoryList.categories
The list of categories to use for decoding samples.private Category[]
SampleDimension.Builder.categories
The categories for the sample dimension to create.(package private) final Category
Category.converse
The category that describes values after transfer function has been applied, or if this category is already converted then the original category.Fields in org.apache.sis.coverage with type parameters of type CategoryModifier and TypeFieldDescription(package private) static final Comparator
<Category> Category.COMPARATOR
ComparesCategory
objects according theirNumberRange.getMinDouble(boolean)
value.Methods in org.apache.sis.coverage that return CategoryModifier and TypeMethodDescription(package private) Category
Category.converted()
The category that describes values after transfer function has been applied.(package private) Category
ConvertedCategory.converted()
Returnsthis
since the values represented byConvertedCategory
are already converted.Category.forConvertedValues
(boolean converted) Returns a category that describes measurement values or packed values, depending ifconverted
istrue
orfalse
respectively.ConvertedCategory.forConvertedValues
(boolean converted) Returns a category that describes real values or sample values, depending ifconverted
istrue
orfalse
respectively.final Category
CategoryList.get
(int i) Returns the element at the specified position in this list.(package private) final Category
CategoryList.search
(double sample) Returns the category of the specified sample value.Methods in org.apache.sis.coverage that return types with arguments of type CategoryModifier and TypeMethodDescriptionSampleDimension.Builder.categories()
Returns the list of categories added so far.SampleDimension.getCategories()
Returns all categories in this sample dimension.Methods in org.apache.sis.coverage with parameters of type CategoryModifier and TypeMethodDescriptionprivate void
Adds the given category to the list.(package private) static CategoryList
Constructs a category list using the specified array of categories.(package private) void
Removes the NaN value which has been reserved for a qualitative category.Constructors in org.apache.sis.coverage with parameters of type CategoryModifierConstructorDescriptionprotected
Creates a copy of the given category.(package private)
Creates a copy of the given category except for theconverse
andtoConverse
fields.(package private)
Category
(Category original, org.opengis.referencing.operation.MathTransform1D toSamples, boolean isQuantitative, javax.measure.Unit<?> units) Creates a category storing the inverse of the "sample to real values" transfer function.private
CategoryList
(Category[] categories, CategoryList converse, Number background) Constructs a category list using the specified array of categories.(package private)
ConvertedCategory
(Category original, org.opengis.referencing.operation.MathTransform1D toSamples, boolean isQuantitative, javax.measure.Unit<?> units) Creates a category storing the inverse of the "sample to real values" transfer function.private
SampleDimension
(SampleDimension original, Category bc) Creates a new sample dimension for values that are already converted to real values.Constructor parameters in org.apache.sis.coverage with type arguments of type CategoryModifierConstructorDescriptionSampleDimension
(org.opengis.util.GenericName name, Number background, Collection<? extends Category> categories) Creates a sample dimension with the specified name and categories. -
Uses of Category in org.apache.sis.coverage.grid
Fields in org.apache.sis.coverage.grid with type parameters of type CategoryMethod parameters in org.apache.sis.coverage.grid with type arguments of type CategoryModifier and TypeMethodDescriptionvoid
ImageRenderer.setCategoryColors
(Function<Category, Color[]> colors) Specifies the colors to apply for each category in a sample dimension. -
Uses of Category in org.apache.sis.image
Fields in org.apache.sis.image with type parameters of type CategoryModifier and TypeFieldDescriptionVisualization.Builder.categoryColors
The colors to use for given categories of sample values, ornull
is unspecified.ImageProcessor.colors
Colors to use for arbitrary categories of sample values.Methods in org.apache.sis.image that return types with arguments of type CategoryModifier and TypeMethodDescriptionImageProcessor.getCategoryColors()
Returns the colors to use for given categories of sample values, ornull
is unspecified.Method parameters in org.apache.sis.image with type arguments of type CategoryModifier and TypeMethodDescriptionvoid
ImageProcessor.setCategoryColors
(Function<Category, Color[]> colors) Sets the colors to use for given categories in image, ornull
is unspecified. -
Uses of Category in org.apache.sis.internal.coverage.j2d
Fields in org.apache.sis.internal.coverage.j2d with type parameters of type CategoryModifier and TypeFieldDescriptionColorizer.colors
The colors to use for each category.Colorizer.GRAYSCALE
Applies a gray scale to quantitative category and transparent colors to qualitative categories.Constructors in org.apache.sis.internal.coverage.j2d with parameters of type CategoryModifierConstructorDescription(package private)
ColorsForRange
(Category category, Function<Category, Color[]> colors) Creates a new instance for the given category.Constructor parameters in org.apache.sis.internal.coverage.j2d with type arguments of type CategoryModifierConstructorDescriptionCreates a new colorizer which will use the given function for determining the colors to apply.(package private)
ColorsForRange
(Category category, Function<Category, Color[]> colors) Creates a new instance for the given category.