#include <nrgbxyz.hh>
Inheritance diagram for oln::convert::f_nrgb_to_xyz< inbits, outbits >:
Public Member Functions | |
color< 3, outbits, xyz_traits > | doit (const color< 3, inbits, nrgb_traits > &v) const |
Static Public Member Functions | |
std::string | name () |
// Obsolete: // // #include <oln/convert/nrgbxyz.hh> // #include <ntg/all.hh> // int main(int argc, char **argv) // { // ntg::nrgb_8 in(100, 60, 64); // ntg::xyz_8 out = oln::convert::f_nrgb_to_xyz<8, 8>()(in); // } // // Should be replaced by: // #include <oln/convert/rgbxyz.hh> #include <oln/convert/rgbnrgb.hh> #include <ntg/all.hh> int main() { ntg::nrgb_8 in(100, 60, 64); ntg::xyz_8 out = oln::convert::f_rgb_to_xyz<8, 8>() (oln::convert::f_nrgb_to_rgb<8, 8>()(in)); }
Definition at line 83 of file nrgbxyz.hh.