• Matthieu Garrigues's avatar
    Rewrite graylevel types. · 2ad0f111
    Matthieu Garrigues authored
    
    	* mln/value/gray.hh: Rename as...
    	* mln/value/internal/gray_.hh: ...this. Gray_<n> is a graylevel
    	encoded on n bits. It can represent value greater than pow(2, n).
    	* mln/value/internal/gray_f.hh: New, gray_f is a graylevel encoded on
    	a float. It can represent value greater than 1.
    	* mln/value/glf.hh: New, alias to graylevel_f.
    	* mln/value/graylevel.hh: graylevel<n> is a graylevel encoded on n
    	bits. its interoperability type is gray_<n>.
    	* mln/value/graylevel_f.hh: New. graylevel_f is a graylevel encoded on
    	a float01_f.
    	* tests/value/graylevel.cc: Unit tests on graylevel.
    	* tests/value/graylevel_f.cc: Unit tests on graylevel_f.
    	* tests/value/graylevel_f_full.cc: Full tests on graylevel_f.
    	* tests/value/graylevel_full.cc: Full tests on graylevel.
    
    	Misc.
    
    	* mln/trait/value_.hh: (mln_trait_value_nature_) New,
    	(mln_trait_value_quant_) new,
    	(mln_trait_value_kind_) new.
    	* mln/metal/math/max.hh: (mlc_max) New,
    	(mlc_max_int) new.
    	* tests/arith/revert_full.cc: Add a test on int_u8.
    	* mln/accu/count.hh: Add a fixme to add an take without argument.
    	* mln/core/fi_adaptor.hh: Disable a precondition because it doesn't
    	work on rgb values.
    
    git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1620 4aad255d-cdde-0310-9447-f3009e2ae8c0
    2ad0f111