
#include "Image/Pixels.H"#include "Util/StringConversions.H"#include <sstream>Go to the source code of this file.
Functions | |
| std::string | convertToString (const PixRGB< byte > &val) |
| void | convertFromString (const std::string &str, PixRGB< byte > &val) |
| PixRGB<byte> overload. | |
| std::string | convertToString (const PixHSV< byte > &val) |
| PixHSV<byte> overload. | |
| void | convertFromString (const std::string &str, PixHSV< byte > &val) |
| PixHSV<byte> overload. | |
| std::string | convertToString (const PixDKL< byte > &val) |
| PixDKL<byte> overload. | |
| void | convertFromString (const std::string &str, PixDKL< byte > &val) |
| PixDKL<byte> overload. | |
Basic pixel types version 2.0
Definition in file Pixels.C.
| void convertFromString | ( | const std::string & | str, | |
| PixDKL< byte > & | val | |||
| ) |
PixDKL<byte> overload.
Format is "<byte>,<byte>,<byte>" for D, K, L
Definition at line 107 of file Pixels.C.
References PixDKL< T >::setD(), PixDKL< T >::setK(), and PixDKL< T >::setL().
| void convertFromString | ( | const std::string & | str, | |
| PixHSV< byte > & | val | |||
| ) |
PixHSV<byte> overload.
Format is "<byte>,<byte>,<byte>" for H, S, V
Definition at line 85 of file Pixels.C.
References PixHSV< T >::setH(), PixHSV< T >::setS(), and PixHSV< T >::setV().
| void convertFromString | ( | const std::string & | str, | |
| PixRGB< byte > & | val | |||
| ) |
PixRGB<byte> overload.
Format is "<byte>,<byte>,<byte>" for R, G, B PixRGB<byte> overload
Format is "<byte>,<byte>,<byte>" for R, G, B, or "#RRGGBB" with the RR, GG and BB values in hexadecimal.
Definition at line 55 of file Pixels.C.
References PixRGB< T >::set(), PixRGB< T >::setBlue(), PixRGB< T >::setGreen(), and PixRGB< T >::setRed().
| std::string convertToString | ( | const PixDKL< byte > & | val | ) |
PixDKL<byte> overload.
Format is "<byte>,<byte>,<byte>" for D, K, L
Definition at line 100 of file Pixels.C.
References PixDKL< T >::D(), PixDKL< T >::K(), and PixDKL< T >::L().
| std::string convertToString | ( | const PixHSV< byte > & | val | ) |
PixHSV<byte> overload.
Format is "<byte>,<byte>,<byte>" for H, S, V
Definition at line 77 of file Pixels.C.
References PixHSV< T >::H(), PixHSV< T >::S(), and PixHSV< T >::V().
1.6.3