Isis Developer Reference
Centroid.h
Go to the documentation of this file.
1#ifndef Centroid_h
2#define Centroid_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "Chip.h"
11#include "Selection.h"
12#include "Statistics.h"
13
14namespace Isis {
30 class Centroid : public Selection
31 {
32 public:
33 Centroid();
34 virtual ~Centroid();
35 //pure virtual function to be defined in this child class
36 int select(Chip *inputChip,Chip *selectionChip);
37 int setDNRange( double minimumDN,double maximumDN );
38 double getMinDN();
39 double getMaxDN();
40 private:
41 double m_maxDN;
42 double m_minDN;
43 };
44}
45#endif
Selection class derived from the Pure Virtual Parent Class for all Selection classes.
Definition Centroid.h:31
Centroid()
Definition Centroid.cpp:12
virtual ~Centroid()
Definition Centroid.cpp:17
int select(Chip *inputChip, Chip *selectionChip)
Given a range of DN this function creates a biniary chip for all continuous pixels that have the DN w...
Definition Centroid.cpp:30
double getMaxDN()
Definition Centroid.cpp:147
int setDNRange(double minimumDN, double maximumDN)
Set the range of the DNs.
Definition Centroid.cpp:126
double getMinDN()
Definition Centroid.cpp:139
A small chip of data used for pattern matching.
Definition Chip.h:86
Pure Virtual Parent Class for all Selection classes.
Definition Selection.h:43
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16