public class AlignMTB extends AlignExposures
Modifier | Constructor and Description |
---|---|
protected |
AlignMTB(long addr) |
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.
|
protected void |
finalize() |
boolean |
getCut() |
int |
getExcludeRange() |
int |
getMaxBits() |
void |
process(List<Mat> src,
List<Mat> dst)
Short version of process, that doesn't take extra arguments.
|
void |
process(List<Mat> src,
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 boolean getCut()
public int getExcludeRange()
public int getMaxBits()
public void computeBitmaps(Mat img, Mat tb, Mat eb)
img
- input imagetb
- median threshold bitmapeb
- exclude bitmappublic void process(List<Mat> src, 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 process(List<Mat> src, List<Mat> dst)
src
- vector of input imagesdst
- vector of aligned imagespublic void setCut(boolean value)
public void setExcludeRange(int exclude_range)
public void setMaxBits(int max_bits)
public void shiftMat(Mat src, Mat dst, Point shift)
src
- input imagedst
- result imageshift
- shift valueprotected void finalize() throws Throwable
finalize
in class AlignExposures
Throwable
Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2