public class ColorRgb
extends java.lang.Object
Contains functions related to working with RGB images and converting RGB images to gray-scale using a weighted equation. The weighted equation is designed to mimic the intensity seen by the human eye.
Weighted Equation| Constructor and Description |
|---|
ColorRgb() |
| Modifier and Type | Method and Description |
|---|---|
static double |
rgbToGray_Weighted(double r,
double g,
double b) |
static float |
rgbToGray_Weighted(float r,
float g,
float b) |
static void |
rgbToGray_Weighted(boofcv.struct.image.ImageMultiBand rgb,
boofcv.struct.image.ImageGray gray) |
static int |
rgbToGray_Weighted(int r,
int g,
int b) |
public static int rgbToGray_Weighted(int r,
int g,
int b)
public static float rgbToGray_Weighted(float r,
float g,
float b)
public static double rgbToGray_Weighted(double r,
double g,
double b)
public static void rgbToGray_Weighted(boofcv.struct.image.ImageMultiBand rgb,
boofcv.struct.image.ImageGray gray)