#include <stretch.hh>
Inheritance diagram for oln::convert::stretch< Output, Exact >:
Public Member Functions | |
template<class Input> Output | doit (const Input &v) const |
Static Public Member Functions | |
std::string | name () |
#include <oln/basics2d.hh> #include <oln/convert/stretch.hh> #include <ntg/all.hh> #include <iostream> int main() { oln::image2d<ntg::int_u8> lena = oln::load(IMG_IN "lena256.pgm"); oln::io::save(apply(oln::convert::stretch<ntg::int_u<3> >(), lena), IMG_OUT "oln_convert_stretch.pgm"); }
Definition at line 71 of file stretch.hh.