public class AlignMTB extends AlignExposures
| Modifier and Type | Method and Description |
|---|---|
static AlignMTB |
__fromPtr__(long addr) |
Point |
calculateShift(Mat img0,
Mat img1)
Calculates shift between two images, i.
|
void |
computeBitmaps(Mat img,
Mat tb,
Mat eb)
Computes median threshold and exclude bitmaps of given image.
|
boolean |
getCut() |
int |
getExcludeRange() |
int |
getMaxBits() |
void |
process(java.util.List<Mat> src,
java.util.List<Mat> dst)
Short version of process, that doesn't take extra arguments.
|
void |
process(java.util.List<Mat> src,
java.util.List<Mat> dst,
Mat times,
Mat response)
Aligns images
|
void |
setCut(boolean value) |
void |
setExcludeRange(int exclude_range) |
void |
setMaxBits(int max_bits) |
void |
shiftMat(Mat src,
Mat dst,
Point shift)
Helper function, that shift Mat filling new regions with zeros.
|
clear, empty, getDefaultName, getNativeObjAddr, savepublic static AlignMTB __fromPtr__(long addr)
public Point calculateShift(Mat img0, Mat img1)
img0 - first imageimg1 - second imagepublic void computeBitmaps(Mat img, Mat tb, Mat eb)
img - input imagetb - median threshold bitmapeb - exclude bitmappublic boolean getCut()
public int getExcludeRange()
public int getMaxBits()
public void process(java.util.List<Mat> src, java.util.List<Mat> dst)
src - vector of input imagesdst - vector of aligned imagespublic void process(java.util.List<Mat> src, java.util.List<Mat> dst, Mat times, Mat response)
AlignExposuresprocess in class AlignExposuressrc - vector of input imagesdst - vector of aligned imagestimes - vector of exposure time values for each imageresponse - 256x1 matrix with inverse camera response function for each pixel value, it should
have the same number of channels as images.public void setCut(boolean value)
public void setExcludeRange(int exclude_range)
public void setMaxBits(int max_bits)
Generated on 2021-12-25 08:13:27 / OpenCV 4.5.5