27 #ifndef MLN_DEBUG_Z_ORDER_HH
28 # define MLN_DEBUG_Z_ORDER_HH
35 # include <mln/core/concept/image.hh>
55 # ifndef MLN_INCLUDE_ONLY
72 mln_piter(I) p(input.domain());
78 mln_value(I)& v = input(p);
80 int mask = 0x00000001;
82 while (row > 0 || col > 0)
117 template <
typename I>
120 z_order_dispatch(trait::image::speed::any, Image<I>& input)
122 impl::generic::z_order(input);
126 template <
typename I>
129 z_order_dispatch(Image<I>& input)
131 z_order_dispatch(mln_trait_image_speed(I)(), input);
139 template <
typename I>
144 trace::entering(
"debug::z_order");
145 mln_precondition(exact(input).is_valid());
147 internal::z_order_dispatch(input);
149 trace::exiting(
"debug::z_order");
152 # endif // ! MLN_INCLUDE_ONLY
159 #endif // ! MLN_DEBUG_Z_ORDER_HH