Class ConvertRGBToHSV
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.image.bean.nonbean.init.ImageInitialization>
org.anchoranalysis.image.bean.ImageBean<T>
org.anchoranalysis.image.bean.provider.BeanProviderAsStackBase<org.anchoranalysis.image.bean.provider.stack.StackProvider,org.anchoranalysis.image.core.stack.Stack>
org.anchoranalysis.image.bean.provider.stack.StackProvider
org.anchoranalysis.image.bean.provider.stack.StackProviderUnary
org.anchoranalysis.plugin.opencv.bean.color.ColorConverterBase
org.anchoranalysis.plugin.opencv.bean.color.ConvertRGBToHSV
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.image.core.stack.Stack>,org.anchoranalysis.image.core.stack.ProviderAsStack
public class ConvertRGBToHSV extends ColorConverterBase
Converts a RGB image to the HSV color
space.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ConvertRGBToHSV() -
Method Summary
Modifier and Type Method Description protected intcolorSpaceCode()The 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.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
-
Constructor Details
-
ConvertRGBToHSV
public ConvertRGBToHSV()
-
-
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.
-