[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
Utilities to manage pixel neighborhoods | ![]() |
---|
Namespaces | |
namespace | vigra::EightNeighborhood |
namespace | vigra::FourNeighborhood |
Classes | |
class | NeighborOffsetCirculator |
Circulator that walks around a given location. More... | |
Typedefs | |
typedef FourNeighborhood::NeighborCode | FourNeighborCode |
typedef EightNeighborhood::NeighborCode | EightNeighborCode |
typedef NeighborOffsetCirculator< EightNeighborCode > | EightNeighborOffsetCirculator |
typedef NeighborOffsetCirculator< FourNeighborCode > | FourNeighborOffsetCirculator |
Enumerations | |
enum | AtImageBorder { NotAtBorder = 0, RightBorder = 1, LeftBorder = 2, TopBorder = 4, BottomBorder = 8, TopRightBorder = TopBorder | RightBorder, TopLeftBorder = TopBorder | LeftBorder, BottomLeftBorder = BottomBorder | LeftBorder, BottomRightBorder = BottomBorder | RightBorder } |
Encode whether a point is near the image border. More... | |
Functions | |
AtImageBorder | isAtImageBorder (int x, int y, int width, int height) |
Find out whether a point is at the image border. |
Detailed Description |
#include "vigra/pixelneighborhood.hxx"
See also: vigra::NeighborhoodCirculator
typedef EightNeighborhood::NeighborCode EightNeighborCode |
Export vigra::EightNeighborhood::NeighborCode into the scope of namespace vigra. |
typedef NeighborOffsetCirculator<EightNeighborCode> EightNeighborOffsetCirculator |
Specialization of NeighborOffsetCirculator for 8-neighborhood. |
typedef FourNeighborhood::NeighborCode FourNeighborCode |
Export vigra::FourNeighborhood::NeighborCode into the scope of namespace vigra. |
typedef NeighborOffsetCirculator<FourNeighborCode> FourNeighborOffsetCirculator |
Specialization of NeighborOffsetCirculator for 4-neighborhood. |
enum AtImageBorder |
Encode whether a point is near the image border. This enum is used with isAtImageBorder() and vigra::RestrictedNeighborhoodCirculator.
#include "vigra/pixelneighborhood.hxx" |
|
Find out whether a point is at the image border. This function checks if x == 0 or x == width - 1 and y == 0 or y == height - 1 and returns the appropriate value of Utilities to manage pixel neighborhoods, or zero when the point is not at te image border. The behavior of the function is undefined if (x,y) is not inside the image.
#include "vigra/pixelneighborhood.hxx" |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|