public class CrossCorrelation2D extends Object
Modifier and Type | Field and Description |
---|---|
FloatArray2D |
img1 |
FloatArray2D |
img2 |
boolean |
showImages |
Constructor and Description |
---|
CrossCorrelation2D(ij.process.ImageProcessor ip1,
ij.process.ImageProcessor ip2,
boolean showImages) |
CrossCorrelation2D(String image1,
String image2,
boolean showImages) |
Modifier and Type | Method and Description |
---|---|
double[] |
computeCrossCorrelation(double relMinOverlapX,
double relMinOverlapY,
boolean showImages)
Deprecated.
This method is only single threaded, use computeCrossCorrelationMT instead
|
double[] |
computeCrossCorrelationMT(double relMinOverlapX,
double relMinOverlapY,
boolean showImages)
Computes a translational registration with the help of the cross correlation measure.
|
public FloatArray2D img1
public FloatArray2D img2
public boolean showImages
public CrossCorrelation2D(ij.process.ImageProcessor ip1, ij.process.ImageProcessor ip2, boolean showImages)
public double[] computeCrossCorrelationMT(double relMinOverlapX, double relMinOverlapY, boolean showImages)
relMinOverlapX
- double - if you want to scan for less possible translations seen from a direct overlay,
give the relative factor here (e.g. 0.3 means DONOT scan the outer 30%)
NOTE: Below 0.05 does not really make sense as you then compare only very few pixels (even one) on the edges
which gives then an R of 1 (perfect match)relMinOverlapY
- double - if you want to scan for less possible translations seen from a direct overlay,
give the relative factor here (e.g. 0.3 means DONOT scan the outer 30%)
NOTE: Below 0.05 does not really make sense as you then compare only very few pixels (even one) on the edges
which gives then an R of 1 (perfect match)showImages
- boolean - Show the result of the cross correlation translation@Deprecated public double[] computeCrossCorrelation(double relMinOverlapX, double relMinOverlapY, boolean showImages)
relMinOverlapX
- double - if you want to scan for less possible translations seen from a direct overlay,
give the relative factor here (e.g. 0.3 means DONOT scan the outer 30%)
NOTE: Below 0.05 does not really make sense as you then compare only very few pixels (even one) on the edges
which gives then an R of 1 (perfect match)relMinOverlapY
- double - if you want to scan for less possible translations seen from a direct overlay,
give the relative factor here (e.g. 0.3 means DONOT scan the outer 30%)
NOTE: Below 0.05 does not really make sense as you then compare only very few pixels (even one) on the edges
which gives then an R of 1 (perfect match)showImages
- boolean - Show the result of the cross correlation translationCopyright © 2015–2021 Fiji. All rights reserved.