@Namespace(value="cv") @Properties(inherit=opencv_photo.class) public class AlignMTB extends AlignExposures
It is invariant to exposure, so exposure values and camera response are not necessary.
In this implementation new image regions are filled with zeros.
For more information see \cite GW03 .
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AlignMTB(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Point |
calculateShift(GpuMat img0,
GpuMat img1) |
Point |
calculateShift(Mat img0,
Mat img1)
\brief Calculates shift between two images, i.
|
Point |
calculateShift(UMat img0,
UMat img1) |
void |
computeBitmaps(GpuMat img,
GpuMat tb,
GpuMat eb) |
void |
computeBitmaps(Mat img,
Mat tb,
Mat eb)
\brief Computes median threshold and exclude bitmaps of given image.
|
void |
computeBitmaps(UMat img,
UMat tb,
UMat eb) |
boolean |
getCut() |
int |
getExcludeRange() |
int |
getMaxBits() |
void |
process(GpuMatVector src,
MatVector dst) |
void |
process(GpuMatVector src,
MatVector dst,
GpuMat times,
GpuMat response) |
void |
process(GpuMatVector src,
MatVector dst,
Mat times,
Mat response) |
void |
process(GpuMatVector src,
MatVector dst,
UMat times,
UMat response) |
void |
process(MatVector src,
MatVector dst)
\brief Short version of process, that doesn't take extra arguments.
|
void |
process(MatVector src,
MatVector dst,
GpuMat times,
GpuMat response) |
void |
process(MatVector src,
MatVector dst,
Mat times,
Mat response)
\brief Aligns images
|
void |
process(MatVector src,
MatVector dst,
UMat times,
UMat response) |
void |
process(UMatVector src,
MatVector dst) |
void |
process(UMatVector src,
MatVector dst,
GpuMat times,
GpuMat response) |
void |
process(UMatVector src,
MatVector dst,
Mat times,
Mat response) |
void |
process(UMatVector src,
MatVector dst,
UMat times,
UMat response) |
void |
setCut(boolean value) |
void |
setExcludeRange(int exclude_range) |
void |
setMaxBits(int max_bits) |
void |
shiftMat(GpuMat src,
GpuMat dst,
Point shift) |
void |
shiftMat(Mat src,
Mat dst,
Point shift)
\brief Helper function, that shift Mat filling new regions with zeros.
|
void |
shiftMat(UMat src,
UMat dst,
Point shift) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public AlignMTB(Pointer p)
Pointer.Pointer(Pointer)
.public void process(@ByVal MatVector src, @ByRef MatVector dst, @ByVal Mat times, @ByVal 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(@ByVal UMatVector src, @ByRef MatVector dst, @ByVal Mat times, @ByVal Mat response)
process
in class AlignExposures
public void process(@ByVal GpuMatVector src, @ByRef MatVector dst, @ByVal Mat times, @ByVal Mat response)
process
in class AlignExposures
public void process(@ByVal MatVector src, @ByRef MatVector dst, @ByVal UMat times, @ByVal UMat response)
process
in class AlignExposures
public void process(@ByVal UMatVector src, @ByRef MatVector dst, @ByVal UMat times, @ByVal UMat response)
process
in class AlignExposures
public void process(@ByVal GpuMatVector src, @ByRef MatVector dst, @ByVal UMat times, @ByVal UMat response)
process
in class AlignExposures
public void process(@ByVal MatVector src, @ByRef MatVector dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class AlignExposures
public void process(@ByVal UMatVector src, @ByRef MatVector dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class AlignExposures
public void process(@ByVal GpuMatVector src, @ByRef MatVector dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class AlignExposures
public void process(@ByVal MatVector src, @ByRef MatVector dst)
src
- vector of input imagesdst
- vector of aligned imagespublic void process(@ByVal UMatVector src, @ByRef MatVector dst)
public void process(@ByVal GpuMatVector src, @ByRef MatVector dst)
@ByVal public Point calculateShift(@ByVal Mat img0, @ByVal Mat img1)
img0
- first imageimg1
- second imagepublic void shiftMat(@ByVal Mat src, @ByVal Mat dst, @Const @ByVal Point shift)
src
- input imagedst
- result imageshift
- shift valuepublic void computeBitmaps(@ByVal Mat img, @ByVal Mat tb, @ByVal Mat eb)
img
- input imagetb
- median threshold bitmapeb
- exclude bitmappublic int getMaxBits()
public void setMaxBits(int max_bits)
public int getExcludeRange()
public void setExcludeRange(int exclude_range)
Copyright © 2020. All rights reserved.