SourceXtractorPlusPlus  0.10
Please provide a description of the project.
NeighbourInfo.h
Go to the documentation of this file.
1 
17 /*
18  * NeighbourInfo.h
19  *
20  * Created on: Oct 12, 2018
21  * Author: Alejandro Alvarez
22  */
23 
24 #ifndef _SEFRAMEWORK_SEFRAMEWORK_APERTURE_NEIGHBOURINFO_H
25 #define _SEFRAMEWORK_SEFRAMEWORK_APERTURE_NEIGHBOURINFO_H
26 
27 #include <vector>
31 
32 namespace SourceXtractor {
33 
35 public:
36  virtual ~NeighbourInfo() = default;
37 
38  NeighbourInfo(const PixelCoordinate &min_pixel, const PixelCoordinate &max_pixel,
39  const std::vector<PixelCoordinate> &pixel_list,
40  const std::shared_ptr<Image<SeFloat>> &threshold_image);
41 
42 
43  bool isNeighbourObjectPixel(int x, int y) const;
44 
45 private:
48 };
49 
50 } // end SourceXtractor
51 
52 #endif // _SEFRAMEWORK_SEFRAMEWORK_APERTURE_NEIGHBOURINFO_H
STL class.
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
virtual ~NeighbourInfo()=default
std::shared_ptr< VectorImage< int > > m_neighbour_image
Definition: NeighbourInfo.h:46
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
NeighbourInfo(const PixelCoordinate &min_pixel, const PixelCoordinate &max_pixel, const std::vector< PixelCoordinate > &pixel_list, const std::shared_ptr< Image< SeFloat >> &threshold_image)
A pixel coordinate made of two integers m_x and m_y.
bool isNeighbourObjectPixel(int x, int y) const
STL class.