added an invalid method that says if a shot is "reasonable" or not. A shot is valid if its Intrinsics are valid.
This commit is contained in:
parent
c5491807fd
commit
b441009e15
|
@ -232,6 +232,11 @@ public:
|
||||||
*/
|
*/
|
||||||
void MultSimilarity( const Similarity<S> & s){ MultMatrix(s.Matrix());}
|
void MultSimilarity( const Similarity<S> & s){ MultMatrix(s.Matrix());}
|
||||||
|
|
||||||
|
bool IsValid() const
|
||||||
|
{
|
||||||
|
return Intrinsics.PixelSizeMm[0]>0 && Intrinsics.PixelSizeMm[1]>0;
|
||||||
|
}
|
||||||
|
|
||||||
}; // end class definition
|
}; // end class definition
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue