public class AffineAdaption extends Object implements MultiscaleInterestPointDetector<EllipticInterestPointData>
| Constructor and Description |
|---|
AffineAdaption()
instatiate with a
HarrisIPD detector with scales 2.0f and 2.0f *
1.4f. |
AffineAdaption(AbstractStructureTensorIPD internal,
AbstractStructureTensorIPD initial,
IPDSelectionMode initialSelectionMode)
set both the internal and intitial feature detectors (possibly different
settings of the same detector) and a selection mode
|
AffineAdaption(AbstractStructureTensorIPD internal,
IPDSelectionMode initialSelectionMode)
specify the internal detector and the selection mode
|
| Modifier and Type | Method and Description |
|---|---|
void |
findInterestPoints(FImage image)
Find the interest points in an image
|
void |
findInterestPoints(FImage image,
Rectangle window)
Find the interest points in an image
|
List<EllipticInterestPointData> |
getInterestPoints()
Get all the interest points found.
|
List<EllipticInterestPointData> |
getInterestPoints(float threshold)
Retrieve the interest points found whose normalised score exceeds the
threshold
|
List<EllipticInterestPointData> |
getInterestPoints(int npoints)
Retrieve the interest points found
|
static void |
main(String[] args)
an example run
|
void |
setDetectionScale(float detectionScaleVariance)
Set the detection scale for the detector
|
void |
setFastDifferentiationScale(boolean b) |
void |
setIntegrationScale(float integrationScaleVariance) |
public AffineAdaption()
HarrisIPD detector with scales 2.0f and 2.0f *
1.4f. Selection 100 pointspublic AffineAdaption(AbstractStructureTensorIPD internal, IPDSelectionMode initialSelectionMode)
internal - initialSelectionMode - public AffineAdaption(AbstractStructureTensorIPD internal, AbstractStructureTensorIPD initial, IPDSelectionMode initialSelectionMode)
internal - initial - initialSelectionMode - public void findInterestPoints(FImage image)
InterestPointDetectorfindInterestPoints in interface InterestPointDetector<EllipticInterestPointData>public void findInterestPoints(FImage image, Rectangle window)
InterestPointDetectorfindInterestPoints in interface InterestPointDetector<EllipticInterestPointData>public List<EllipticInterestPointData> getInterestPoints(int npoints)
InterestPointDetectorgetInterestPoints in interface InterestPointDetector<EllipticInterestPointData>npoints - number of interest points to retrieve, < 0 returns allpublic List<EllipticInterestPointData> getInterestPoints(float threshold)
InterestPointDetectorgetInterestPoints in interface InterestPointDetector<EllipticInterestPointData>threshold - normalised thresholdpublic List<EllipticInterestPointData> getInterestPoints()
InterestPointDetectorgetInterestPoints in interface InterestPointDetector<EllipticInterestPointData>public void setDetectionScale(float detectionScaleVariance)
MultiscaleInterestPointDetectorsetDetectionScale in interface MultiscaleInterestPointDetector<EllipticInterestPointData>detectionScaleVariance - the variance of the Gaussianpublic void setIntegrationScale(float integrationScaleVariance)
public static void main(String[] args) throws IOException
args - IOExceptionpublic void setFastDifferentiationScale(boolean b)
b - whether the differencial scaling should be done iteratively
(slow) or not (fast)