27 #ifndef MLN_CORE_PIXTER2D_HH
28 # define MLN_CORE_PIXTER2D_HH
34 # include <mln/core/internal/pixel_iterator_base.hh>
35 # include <mln/core/alias/point2d.hh>
36 # include <mln/geom/size2d.hh>
37 # include <mln/opt/at.hh>
81 mln_qlf_value(I)* eor_;
125 unsigned row_offset_;
128 mln_qlf_value(I)* bor_;
130 using super_::image_;
137 #ifndef MLN_INCLUDE_ONLY
143 template <
typename I>
147 border_x2_(2 * image.border()),
148 row_offset_(image.
bbox().
ncols() + border_x2_)
150 mln_precondition(image.is_valid());
151 mln_precondition(image_.is_valid());
152 mln_precondition(image_.buffer() == image.buffer());
155 template <
typename I>
161 if (this->value_ptr_ == eor_ && this->value_ptr_ != this->eoi_)
163 this->value_ptr_ += border_x2_;
168 template <
typename I>
173 mln_precondition(image_.is_valid());
182 template <
typename I>
186 border_x2_(2 * image.
border()),
187 row_offset_(image.
bbox().
ncols() + border_x2_)
189 mln_precondition(image.is_valid());
192 template <
typename I>
198 if (this->value_ptr_ == bor_ && this->value_ptr_ != this->boi_)
200 this->value_ptr_ -= border_x2_;
205 template <
typename I>
213 #endif // ! MLN_INCLUDE_ONLY
217 #endif // ! MLN_CORE_PIXTER2D_HH