@Namespace(value="cv") public static class opencv_photo.AlignMTB extends opencv_photo.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| Constructor and Description |
|---|
opencv_photo.AlignMTB(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
opencv_core.Point |
calculateShift(opencv_core.Mat img0,
opencv_core.Mat img1)
\brief Calculates shift between two images, i.
|
void |
computeBitmaps(opencv_core.Mat img,
opencv_core.Mat tb,
opencv_core.Mat eb)
\brief Computes median threshold and exclude bitmaps of given image.
|
boolean |
getCut() |
int |
getExcludeRange() |
int |
getMaxBits() |
void |
process(opencv_core.MatVector src,
opencv_core.MatVector dst)
\brief Short version of process, that doesn't take extra arguments.
|
void |
process(opencv_core.MatVector src,
opencv_core.MatVector dst,
opencv_core.Mat times,
opencv_core.Mat response)
\brief Aligns images
|
void |
setCut(boolean value) |
void |
setExcludeRange(int exclude_range) |
void |
setMaxBits(int max_bits) |
void |
shiftMat(opencv_core.Mat src,
opencv_core.Mat dst,
opencv_core.Point shift)
\brief Helper function, that shift Mat filling new regions with zeros.
|
clear, empty, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_photo.AlignMTB(Pointer p)
Pointer.Pointer(Pointer).public void process(@ByVal opencv_core.MatVector src, @ByRef opencv_core.MatVector dst, @ByVal opencv_core.Mat times, @ByVal opencv_core.Mat response)
opencv_photo.AlignExposuresprocess in class opencv_photo.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 process(@ByVal opencv_core.MatVector src, @ByRef opencv_core.MatVector dst)
src - vector of input imagesdst - vector of aligned images@ByVal public opencv_core.Point calculateShift(@ByVal opencv_core.Mat img0, @ByVal opencv_core.Mat img1)
img0 - first imageimg1 - second imagepublic void shiftMat(@ByVal opencv_core.Mat src, @ByVal opencv_core.Mat dst, @Const@ByVal opencv_core.Point shift)
src - input imagedst - result imageshift - shift valuepublic void computeBitmaps(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat tb, @ByVal opencv_core.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 © 2016. All rights reserved.