SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
A pixel coordinate made of two integers m_x and m_y. More...
#include <PixelCoordinate.h>
Public Member Functions | |
PixelCoordinate () | |
PixelCoordinate (int x, int y) | |
bool | operator== (const PixelCoordinate &other) const |
bool | operator!= (const PixelCoordinate &other) const |
PixelCoordinate | operator* (double scalar) const |
PixelCoordinate | operator+ (const PixelCoordinate &other) const |
PixelCoordinate & | operator+= (const PixelCoordinate &other) |
PixelCoordinate | operator- (const PixelCoordinate &other) const |
PixelCoordinate & | operator-= (const PixelCoordinate &other) |
bool | operator>= (const PixelCoordinate &other) const |
bool | operator<= (const PixelCoordinate &other) const |
bool | clip (int w, int h) |
Public Attributes | |
int | m_x |
int | m_y |
A pixel coordinate made of two integers m_x and m_y.
Definition at line 37 of file PixelCoordinate.h.
|
inline |
Definition at line 40 of file PixelCoordinate.h.
Referenced by operator*(), operator+(), and operator-().
|
inline |
Definition at line 42 of file PixelCoordinate.h.
|
inline |
Make sure the coordinates are within a box of a given width and height
Definition at line 90 of file PixelCoordinate.h.
References m_x, m_y, std::max(), and std::min().
Referenced by SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::nextCoordinates().
|
inline |
Definition at line 48 of file PixelCoordinate.h.
|
inline |
Definition at line 52 of file PixelCoordinate.h.
References m_x, m_y, and PixelCoordinate().
|
inline |
Definition at line 57 of file PixelCoordinate.h.
References m_x, m_y, and PixelCoordinate().
|
inline |
Definition at line 61 of file PixelCoordinate.h.
|
inline |
Definition at line 67 of file PixelCoordinate.h.
References m_x, m_y, and PixelCoordinate().
|
inline |
Definition at line 71 of file PixelCoordinate.h.
|
inline |
Definition at line 81 of file PixelCoordinate.h.
|
inline |
Definition at line 44 of file PixelCoordinate.h.
|
inline |
Definition at line 77 of file PixelCoordinate.h.
int SourceXtractor::PixelCoordinate::m_x |
Definition at line 38 of file PixelCoordinate.h.
Referenced by SourceXtractor::FlexibleModelFittingPointModel::addForSource(), SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), SourceXtractor::FlexibleModelFittingSersicModel::addForSource(), SourceXtractor::WCS::addOffset(), clip(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::DetectionFrameGroupStampTask::computeProperties(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::firstCoordinates(), SourceXtractor::MeasurementFrameGroupRectangle::getBottomRight(), SourceXtractor::MeasurementFrameRectangle::getBottomRight(), SourceXtractor::RecenterImage< T >::getChunk(), SourceXtractor::Image< SourceXtractor::Image::PixelType >::getChunk(), SourceXtractor::SubImage< T >::getChunk(), SourceXtractor::getCoordX(), SourceXtractor::MeasurementFrameGroupRectangle::getHeight(), SourceXtractor::MeasurementFrameRectangle::getHeight(), SourceXtractor::getMirrorPixel(), SourceXtractor::SubImage< T >::getRepr(), SourceXtractor::MeasurementFrameGroupRectangle::getTopLeft(), SourceXtractor::MeasurementFrameRectangle::getTopLeft(), SourceXtractor::ImageChunk< T >::getValue(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::getValue(), SourceXtractor::VectorImage< T >::getValue(), SourceXtractor::MeasurementFrameGroupRectangle::getWidth(), SourceXtractor::MeasurementFrameRectangle::getWidth(), SourceXtractor::PixelBoundaries::getWidth(), SourceXtractor::NeighbourInfo::isNeighbourObjectPixel(), SourceXtractor::MeasurementFrameGroupRectangle::isOutsideOfFrame(), SourceXtractor::BFSSegmentation::labelSource(), SourceXtractor::BFSSegmentation::VisitedMap::markVisited(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::nextCoordinates(), std::hash< SourceXtractor::PixelCoordinate >::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<=(), operator==(), operator>=(), SourceXtractor::DFTConvolution< DetectionImage::PixelType, PaddedType >::padKernel(), SourceXtractor::VectorImage< T >::setValue(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), SourceXtractor::SubImage< T >::SubImage(), and SourceXtractor::BFSSegmentation::VisitedMap::wasVisited().
int SourceXtractor::PixelCoordinate::m_y |
Definition at line 38 of file PixelCoordinate.h.
Referenced by SourceXtractor::FlexibleModelFittingPointModel::addForSource(), SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), SourceXtractor::FlexibleModelFittingSersicModel::addForSource(), SourceXtractor::WCS::addOffset(), clip(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::DetectionFrameGroupStampTask::computeProperties(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::firstCoordinates(), SourceXtractor::RecenterImage< T >::getChunk(), SourceXtractor::Image< SourceXtractor::Image::PixelType >::getChunk(), SourceXtractor::SubImage< T >::getChunk(), SourceXtractor::getCoordY(), SourceXtractor::MeasurementFrameRectangle::getHeight(), SourceXtractor::PixelBoundaries::getHeight(), SourceXtractor::MeasurementFrameGroupRectangle::getHeight(), SourceXtractor::getMirrorPixel(), SourceXtractor::SubImage< T >::getRepr(), SourceXtractor::ImageChunk< T >::getValue(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::getValue(), SourceXtractor::VectorImage< T >::getValue(), SourceXtractor::NeighbourInfo::isNeighbourObjectPixel(), SourceXtractor::BFSSegmentation::labelSource(), SourceXtractor::BFSSegmentation::VisitedMap::markVisited(), SourceXtractor::ImageAccessor< SourceXtractor::Image::PixelType >::nextCoordinates(), std::hash< SourceXtractor::PixelCoordinate >::operator()(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator<=(), operator==(), operator>=(), SourceXtractor::VectorImage< T >::setValue(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), SourceXtractor::SubImage< T >::SubImage(), and SourceXtractor::BFSSegmentation::VisitedMap::wasVisited().