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, save
public 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)
AlignExposures
process
in class AlignExposures
src
- 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 2019-12-20 14:24:32 / OpenCV 4.2.0