VPTissue Reference Manual
Rgb2Hsv.cpp File Reference

Rgb color def to Hsv color def: r,g,b values are from 0 to 1 and h = [0,360], s = [0,1], v = [0,1] (if s == 0, then h = -1) More...

#include "Rgb2Hsv.h"
#include <array>
#include <cmath>
Include dependency graph for Rgb2Hsv.cpp:

Go to the source code of this file.

Namespaces

 SimPT_Sim
 Namespace for the core simulator.
 
 SimPT_Sim::Color
 Namespace for color utilities.
 

Functions

array< double, 3 > SimPT_Sim::Color::Rgb2Hsv (double r, double g, double b)
 

Detailed Description

Rgb color def to Hsv color def: r,g,b values are from 0 to 1 and h = [0,360], s = [0,1], v = [0,1] (if s == 0, then h = -1)

Definition in file Rgb2Hsv.cpp.