Hugintrunk
0.1
|
brief description. More...
#include <ROIImage.h>
Public Types | |
typedef Image::value_type | image_value_type |
typedef Image::traverser | image_traverser |
typedef Image::const_traverser | image_const_traverser |
typedef Image::Accessor | ImageAccessor |
typedef Image::ConstAccessor | ImageConstAccessor |
typedef Mask::value_type | mask_value_type |
typedef Mask::traverser | mask_traverser |
typedef Mask::const_traverser | mask_const_traverser |
typedef Mask::Accessor | MaskAccessor |
typedef Mask::ConstAccessor | MaskConstAccessor |
Public Member Functions | |
ROIImage () | |
ctor. More... | |
virtual | ~ROIImage () |
dtor. More... | |
void | resize (const vigra::Rect2D &rect) |
resize the image More... | |
image_traverser | upperLeft () |
returns an traverser to the upper left of the image, this is usually outside of the rectangle. More... | |
image_const_traverser | upperLeft () const |
image_traverser | lowerRight () |
image_const_traverser | lowerRight () const |
ImageAccessor | accessor () |
return the accessor of this image More... | |
ImageConstAccessor | accessor () const |
mask_traverser | maskUpperLeft () |
returns an traverser to the upper left of the image, this is usually outside of the rectangle. More... | |
mask_const_traverser | maskUpperLeft () const |
mask_traverser | maskLowerRight () |
mask_const_traverser | maskLowerRight () const |
MaskAccessor | maskAccessor () |
return the accessor of the alpha channel More... | |
MaskConstAccessor | maskAccessor () const |
vigra::Rect2D & | boundingBox () |
image_value_type | operator() (int x, int y) |
image_value_type | operator[] (vigra::Diff2D const &pos) |
mask_value_type | getMask (int x, int y) |
mask_value_type | getMask (const vigra::Diff2D &pos) |
Public Attributes | |
Image | m_image |
remapped image More... | |
Mask | m_mask |
corresponding alpha channel More... | |
Protected Attributes | |
vigra::Rect2D | m_region |
bounding rectangle of the image More... | |
brief description.
. This image will only hold a partial image, but look like a much bigger one. Iterators haven't been written for it yet, but maybe that will follow.
It should support most operations that other images support The alpha channel will be in a separate image, and can be obtained with separate functions.
Definition at line 85 of file ROIImage.h.
typedef Image::const_traverser vigra_ext::ROIImage< Image, Mask >::image_const_traverser |
Definition at line 95 of file ROIImage.h.
typedef Image::traverser vigra_ext::ROIImage< Image, Mask >::image_traverser |
Definition at line 94 of file ROIImage.h.
typedef Image::value_type vigra_ext::ROIImage< Image, Mask >::image_value_type |
Definition at line 93 of file ROIImage.h.
typedef Image::Accessor vigra_ext::ROIImage< Image, Mask >::ImageAccessor |
Definition at line 96 of file ROIImage.h.
typedef Image::ConstAccessor vigra_ext::ROIImage< Image, Mask >::ImageConstAccessor |
Definition at line 97 of file ROIImage.h.
typedef Mask::const_traverser vigra_ext::ROIImage< Image, Mask >::mask_const_traverser |
Definition at line 101 of file ROIImage.h.
typedef Mask::traverser vigra_ext::ROIImage< Image, Mask >::mask_traverser |
Definition at line 100 of file ROIImage.h.
typedef Mask::value_type vigra_ext::ROIImage< Image, Mask >::mask_value_type |
Definition at line 99 of file ROIImage.h.
typedef Mask::Accessor vigra_ext::ROIImage< Image, Mask >::MaskAccessor |
Definition at line 102 of file ROIImage.h.
typedef Mask::ConstAccessor vigra_ext::ROIImage< Image, Mask >::MaskConstAccessor |
Definition at line 103 of file ROIImage.h.
|
inline |
ctor.
Definition at line 107 of file ROIImage.h.
|
inlinevirtual |
dtor.
Definition at line 112 of file ROIImage.h.
|
inline |
return the accessor of this image
Definition at line 174 of file ROIImage.h.
Referenced by vigra_ext::destImage(), vigra_ext::destImageRange(), vigra_ext::srcImage(), and vigra_ext::srcImageRange().
|
inline |
Definition at line 179 of file ROIImage.h.
|
inline |
Definition at line 238 of file ROIImage.h.
Referenced by HuginBase::Nona::StackingBlender::operator()(), HuginBase::Nona::detail::saveRemapped(), HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::saveRemapped(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch().
|
inline |
Definition at line 258 of file ROIImage.h.
Referenced by vigra_ext::ROIImage< RemapImage, AlphaImage >::getMask().
|
inline |
Definition at line 263 of file ROIImage.h.
|
inline |
Definition at line 156 of file ROIImage.h.
Referenced by vigra_ext::destImageRange(), and vigra_ext::srcImageRange().
|
inline |
Definition at line 165 of file ROIImage.h.
|
inline |
return the accessor of the alpha channel
Definition at line 228 of file ROIImage.h.
Referenced by vigra_ext::destMask(), vigra_ext::destMaskRange(), vigra_ext::srcMask(), and vigra_ext::srcMaskRange().
|
inline |
Definition at line 233 of file ROIImage.h.
|
inline |
Definition at line 210 of file ROIImage.h.
Referenced by vigra_ext::destMaskRange(), and vigra_ext::srcMaskRange().
|
inline |
Definition at line 219 of file ROIImage.h.
|
inline |
returns an traverser to the upper left of the image, this is usually outside of the rectangle.
The traverser must not be dereferenced there. It is only valid inside the Rect.
Definition at line 192 of file ROIImage.h.
Referenced by vigra_ext::destMask(), vigra_ext::destMaskRange(), vigra_ext::srcMask(), and vigra_ext::srcMaskRange().
|
inline |
Definition at line 201 of file ROIImage.h.
|
inline |
Definition at line 243 of file ROIImage.h.
|
inline |
Definition at line 248 of file ROIImage.h.
Referenced by vigra_ext::ROIImage< RemapImage, AlphaImage >::operator()().
|
inline |
|
inline |
returns an traverser to the upper left of the image, this is usually outside of the rectangle.
The traverser must not be dereferenced there. It is only valid inside the Rect.
Definition at line 138 of file ROIImage.h.
Referenced by vigra_ext::destImage(), vigra_ext::destImageRange(), vigra_ext::srcImage(), and vigra_ext::srcImageRange().
|
inline |
Definition at line 147 of file ROIImage.h.
Image vigra_ext::ROIImage< Image, Mask >::m_image |
remapped image
Definition at line 273 of file ROIImage.h.
Referenced by vigra_ext::ROIImage< RemapImage, AlphaImage >::accessor(), vigra_ext::ROIImage< RemapImage, AlphaImage >::lowerRight(), vigra_ext::ROIImage< RemapImage, AlphaImage >::operator[](), vigra_ext::ROIImage< RemapImage, AlphaImage >::resize(), HuginBase::Nona::detail::saveRemapped(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and vigra_ext::ROIImage< RemapImage, AlphaImage >::upperLeft().
Mask vigra_ext::ROIImage< Image, Mask >::m_mask |
corresponding alpha channel
Definition at line 274 of file ROIImage.h.
Referenced by vigra_ext::ROIImage< RemapImage, AlphaImage >::getMask(), vigra_ext::ROIImage< RemapImage, AlphaImage >::maskAccessor(), vigra_ext::ROIImage< RemapImage, AlphaImage >::maskLowerRight(), vigra_ext::ROIImage< RemapImage, AlphaImage >::maskUpperLeft(), vigra_ext::ROIImage< RemapImage, AlphaImage >::resize(), HuginBase::Nona::detail::saveRemapped(), and HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch().
|
protected |
bounding rectangle of the image
Definition at line 277 of file ROIImage.h.
Referenced by vigra_ext::ROIImage< RemapImage, AlphaImage >::boundingBox(), vigra_ext::ROIImage< RemapImage, AlphaImage >::getMask(), vigra_ext::ROIImage< RemapImage, AlphaImage >::lowerRight(), vigra_ext::ROIImage< RemapImage, AlphaImage >::maskLowerRight(), vigra_ext::ROIImage< RemapImage, AlphaImage >::maskUpperLeft(), vigra_ext::ROIImage< RemapImage, AlphaImage >::operator[](), vigra_ext::ROIImage< RemapImage, AlphaImage >::resize(), and vigra_ext::ROIImage< RemapImage, AlphaImage >::upperLeft().