Class ConvertRGBToLab
Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
StackProviderUnary
ColorConverterBase
ConvertRGBToLab
- All Implemented Interfaces:
Provider<Stack>,ProviderAsStack
Converts a RGB image to the Lab color
space.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intThe color space conversion code to use from OpenCV, that defines the color-space to convert to.Methods inherited from class org.anchoranalysis.plugin.opencv.bean.color.ColorConverterBase
createFromStackMethods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProviderUnary
get, getStack, setStackMethods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ConvertRGBToLab
public ConvertRGBToLab()
-
-
Method Details
-
colorSpaceCode
protected int colorSpaceCode()Description copied from class:ColorConverterBaseThe color space conversion code to use from OpenCV, that defines the color-space to convert to.Assume that the inputted image is provided is a 3 channel stack in BGR order.
- Specified by:
colorSpaceCodein classColorConverterBase- Returns:
- the code, as defined by OpenCV, to describe the target color-space.
-