データ構造 | ネームスペース | 関数
color.h

カラーデータを扱うためのクラス群 [詳細]

#include "mist_conf.h"
#include "type_trait.h"
#include <iostream>
#include <cmath>

ソースコードを見る。

データ構造

struct  mist::rgb< T >
 カラー画像用の画素 [詳細]
struct  mist::rgb< T >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::bgr< T >
 カラー画素の和 [詳細]
struct  mist::bgr< T >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::rgba< T >
 カラー画素の和 [詳細]
struct  mist::rgba< T >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::bgra< T >
 カラー画素の和 [詳細]
struct  mist::bgra< T >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::nRGB< T >
 カラー画素の和 [詳細]
struct  mist::nRGB< T >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::color< T, NDIM >
 カラー画素の和 [詳細]
struct  mist::color< T, NDIM >::rebind< TT >
 データ型の変換を行う [詳細]
struct  mist::is_color< T >
 入力された型がカラー画像かどうか調べる [詳細]
struct  mist::float_type< rgb< T > >
 char 判定 [詳細]
struct  mist::colors< T >
 定義済み色 [詳細]

ネームスペース

namespace  mist

関数

template<class T >
std::ostream & mist::operator<< (std::ostream &out, const rgb< T > &c)
 カラー画素の和
template<class T >
std::ostream & mist::operator<< (std::ostream &out, const rgba< T > &c)
 指定されたストリームに,コンテナ内の要素を整形して出力する
template<class T >
std::ostream & mist::operator<< (std::ostream &out, const nRGB< T > &c)
 指定されたストリームに,コンテナ内の要素を整形して出力する
template<class T , size_t NDIM>
std::ostream & mist::operator<< (std::ostream &out, const color< T, NDIM > &c)
 指定されたストリームに,コンテナ内の要素を整形して出力する
void mist::rgb2hsv (double r, double g, double b, double &h, double &s, double &v)
 RGB色空間をHSV色空間に変換する
void mist::hsv2rgb (double h, double s, double v, double &r, double &g, double &b)
 HSV色空間をRGB色空間に変換する
void mist::rgb2yiq (double r, double g, double b, double &y, double &i, double &q)
 RGB色空間をYIQ色空間に変換する
void mist::yiq2rgb (double y, double i, double q, double &r, double &g, double &b)
 YIQ色空間をRGB色空間に変換する
void mist::rgb2ycbcr (double r, double g, double b, double &y, double &cb, double &cr)
 RGB色空間をYCbCr色空間に変換する
void mist::ycbcr2rgb (double y, double cb, double cr, double &r, double &g, double &b)
 YCbCr色空間をRGB色空間に変換する
void mist::rgb2xyz (double r, double g, double b, double &x, double &y, double &z)
 RGB色空間をXYZ色空間に変換する
void mist::xyz2rgb (double x, double y, double z, double &r, double &g, double &b)
 XYZ色空間をRGB色空間に変換する
void mist::rgb2lab (double r, double g, double b, double &l_, double &a_, double &b_)
 RGB色空間をL*a*b*色空間に変換する
void mist::lab2rgb (double l_, double a_, double b_, double &r, double &g, double &b)
 L*a*b*色空間をRGB色空間に変換する

説明

カラーデータを扱うためのクラス群


Generated on Wed Nov 12 2014 19:44:27 for MIST by doxygen 1.8.1.2