[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
BasicImageView Class Template Reference | ![]() |
---|
BasicImage using foreign memory. More...
#include "vigra/basicimageview.hxx"
Detailed Description |
This class provides the same interface as vigra::BasicImage (with the exception of resize()
) but the image's memory is provided from the outside instead of allocated internally.
A BasicImageView
can also be created from a vigra::MultiArrayView with the appropriate shape -- see Wrap a \ref vigra::MultiArrayView in.
#include "vigra/basicimageview.hxx"
Namespace: vigra
|
the BasicImageView's default accessor |
|
the column iterator associated with the traverser |
|
the const column iterator associated with the const_traverser |
|
the BasicImageView's 1D random access const iterator (note: lower case 'const_iterator' is a STL compatible 1D random access const iterator) |
|
the BasicImageView's const pointer type |
|
the BasicImageView's const reference type (i.e. the return type of image[diff] and image(dx,dy) when image is const) |
|
the const row iterator associated with the const_traverser |
|
the BasicImageView's 2D random access const iterator ('const traverser') |
|
the BasicImageView's default const accessor |
|
deprecated, use |
|
deprecated, use |
|
the BasicImageView's difference type (argument type of image[diff]) |
|
deprecated, use |
|
the BasicImageView's 1D random access iterator (note: lower case 'iterator' is a STL compatible 1D random access iterator, don't confuse with capitalized Iterator) |
|
the BasicImageView's pixel type |
|
the BasicImageView's pointer type |
|
the BasicImageView's reference type (i.e. the return type of image[diff] and image(dx,dy)) |
|
the row iterator associated with the traverser |
|
deprecated, use |
|
the BasicImageView's size type (result type of image.size()) |
|
the BasicImageView's 2D random access iterator ('traverser') |
|
the BasicImageView's pixel type |
|
construct image of size 0x0 |
|
construct view of size w x h |
|
construct view of size size.x x size.y |
|
return default const accessor |
|
return default accessor |
|
init 1D random access const iterator pointing to first pixel. Note: Only works if stride equals width. |
|
init 1D random access iterator pointing to first pixel. Note: Only works if stride equals width. |
|
init 1D random access const iterator pointing to first pixel of column x |
|
init 1D random access iterator pointing to first pixel of column x |
|
init 1D random access const iterator pointing past the end of column x |
|
init 1D random access iterator pointing past the end of column x |
|
get a pointer to the internal data |
|
init 1D random access const iterator pointing past the end. Note: Only works if stride equals width. |
|
init 1D random access iterator pointing past the end. Note: Only works if stride equals width. |
|
height of Image |
|
set Image with const value |
|
test whether a given coordinate is inside the image |
|
init 2D random access const iterator poining to pixel(width, height), i.e. one pixel right and below lower right corner of the image as is common in C/C++. |
|
init 2D random access iterator poining to pixel(width, height), i.e. one pixel right and below lower right corner of the image as is common in C/C++. |
|
read pixel at given location. |
|
access pixel at given location. |
|
read pixel at given location. Note that the 'x' index is the trailing index. |
|
access pixel at given location. Note that the 'x' index is the trailing index. |
|
read pixel at given location. |
|
access pixel at given location. |
|
init 1D random access const iterator pointing to first pixel of row y |
|
init 1D random access iterator pointing to first pixel of row y |
|
init 1D random access const iterator pointing past the end of row y |
|
init 1D random access iterator pointing past the end of row y |
|
size of Image |
|
stride of Image. Memory offset between the start of two successive rows. |
|
init 2D random access const iterator poining to upper left pixel |
|
init 2D random access iterator poining to upper left pixel |
|
width of Image |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|