Skip to content

Commit

Permalink
More godoc comments for color space codes.
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 7, 2017
1 parent c78b124 commit 66c165d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
32 changes: 28 additions & 4 deletions imgproc_colorcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,30 +147,54 @@ const (
// ColorRGBToHSV converts from RGB to HSV (hue saturation value).
ColorRGBToHSV = 41

// convert RGB/BGR to CIE Lab
// ColorBGRToLab converts from BGR to CIE Lab.
ColorBGRToLab = 44

// ColorRGBToLab converts from RGB to CIE Lab.
ColorRGBToLab = 45

// convert RGB/BGR to CIE Luv
// ColorBGRToLuv converts from BGR to CIE Luv.
ColorBGRToLuv = 50

// ColorRGBToLuv converts from RGB to CIE Luv.
ColorRGBToLuv = 51
// convert RGB/BGR to HLS (hue lightness saturation)

// ColorBGRToHLS converts from BGR to HLS (hue lightness saturation).
ColorBGRToHLS = 52

// ColorRGBToHLS converts from RGB to HLS (hue lightness saturation).
ColorRGBToHLS = 53

// backward conversions to RGB/BGR
// ColorHSVToBGR converts from HSV (hue saturation value) to BGR.
ColorHSVToBGR = 54

// ColorHSVToRGB converts from HSV (hue saturation value) to RGB.
ColorHSVToRGB = 55

// ColorLabToBGR converts from CIE Lab to BGR.
ColorLabToBGR = 56

// ColorLabToRGB converts from CIE Lab to RGB.
ColorLabToRGB = 57

// ColorLuvToBGR converts from CIE Luv to BGR.
ColorLuvToBGR = 58

// ColorLuvToRGB converts from CIE Luv to RGB.
ColorLuvToRGB = 59

// ColorHLSToBGR converts from HLS (hue lightness saturation) to BGR.
ColorHLSToBGR = 60

// ColorHLSToRGB converts from HLS (hue lightness saturation) to RGB.
ColorHLSToRGB = 61

// ColorBGRToHSVFull converts from BGR to HSV (hue saturation value) full.
ColorBGRToHSVFull = 66

// ColorRGBToHSVFull converts from RGB to HSV (hue saturation value) full.
ColorRGBToHSVFull = 67

ColorBGRToHLSFull = 68
ColorRGBToHLSFull = 69

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package gocv
*/
import "C"

// Version of this package, for display purposes.
// GoCVVersion of this package, for display purposes.
const GoCVVersion = "0.0.1"

// Version returns the current golang package version
Expand Down

0 comments on commit 66c165d

Please sign in to comment.