Class ConvertRGBToHSV

Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
StackProviderUnary
ColorConverterBase
ConvertRGBToHSV
All Implemented Interfaces:
Provider<Stack>, ProviderAsStack

public class ConvertRGBToHSV extends ColorConverterBase
Converts a RGB image to the HSV color space.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    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

    createFromStack

    Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProviderUnary

    get, getStack, setStack

    Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider

    getAsStack

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConvertRGBToHSV

      public ConvertRGBToHSV()
  • Method Details

    • colorSpaceCode

      protected int colorSpaceCode()
      Description copied from class: ColorConverterBase
      The 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:
      colorSpaceCode in class ColorConverterBase
      Returns:
      the code, as defined by OpenCV, to describe the target color-space.