13 #ifndef IMAGE_APPEND_HPP
14 #define IMAGE_APPEND_HPP
31 virtual double get(
int i,
int j,
int k)
const
36 return L->
get(i, j, k);
38 return R->
get(i, j, k - d);
46 virtual void doc(std::ostream& out)
const
virtual double get(int i, int j, int k) const =0
Return the value of the sample at row i, column j, channel k.
image * L
Left child.
Definition: image.hpp:117
virtual int get_depth() const
Return the depth of this image.
Definition: image_append.hpp:41
Base class for all image sources, filters, and operators.
Definition: image.hpp:20
virtual void doc(std::ostream &out) const
Produce a string documenting the function of this object.
Definition: image_append.hpp:46
append(image *L, image *R)
Append the channels of image R to those of image L. This can be used to assemble a multichannel image...
Definition: image_append.hpp:29
virtual int get_depth() const
Return the depth of this image.
Definition: image.hpp:66
Channel append.
Definition: image_append.hpp:20
image * R
Right child.
Definition: image.hpp:118