Class ConvertRGBToLab

All Implemented Interfaces:
Provider<Stack>, ProviderAsStack

public class ConvertRGBToLab extends ColorConverterBase
Converts a RGB image to the Lab color space.
Author:
Owen Feehan
  • Constructor Details

    • ConvertRGBToLab

      public ConvertRGBToLab()
  • 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.