@Namespace(value="cv") public static class opencv_stitching.Stitcher extends Pointer
/** \brief High level image stitcher.
It's possible to use this class without being aware of the entire stitching pipeline. However, to be able to achieve higher stitching stability and quality of the final images at least being familiar with the theory is recommended.
\note - A basic example on image stitching can be found at opencv_source_code/samples/cpp/stitching.cpp - A detailed example on image stitching can be found at opencv_source_code/samples/cpp/stitching_detailed.cpp
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
ERR_CAMERA_PARAMS_ADJUST_FAIL
enum cv::Stitcher::Status
|
static int |
ERR_HOMOGRAPHY_EST_FAIL
enum cv::Stitcher::Status
|
static int |
ERR_NEED_MORE_IMGS
enum cv::Stitcher::Status
|
static int |
OK
enum cv::Stitcher::Status
|
static int |
ORIG_RESOL
enum cv::Stitcher::
|
| Constructor and Description |
|---|
opencv_stitching.Stitcher()
Default native constructor.
|
opencv_stitching.Stitcher(long size)
Native array allocator.
|
opencv_stitching.Stitcher(Pointer p)
Pointer cast constructor.
|
address, 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 static final int ORIG_RESOL
public static final int OK
public static final int ERR_NEED_MORE_IMGS
public static final int ERR_HOMOGRAPHY_EST_FAIL
public static final int ERR_CAMERA_PARAMS_ADJUST_FAIL
public opencv_stitching.Stitcher()
public opencv_stitching.Stitcher(long size)
Pointer.position(long).public opencv_stitching.Stitcher(Pointer p)
Pointer.Pointer(Pointer).public opencv_stitching.Stitcher position(long position)
@ByVal public static opencv_stitching.Stitcher createDefault(@Cast(value="bool") boolean try_use_gpu)
try_use_gpu - Flag indicating whether GPU should be used whenever it's possible.@ByVal public static opencv_stitching.Stitcher createDefault()
public double registrationResol()
public void setRegistrationResol(double resol_mpx)
public double seamEstimationResol()
public void setSeamEstimationResol(double resol_mpx)
public double compositingResol()
public void setCompositingResol(double resol_mpx)
public double panoConfidenceThresh()
public void setPanoConfidenceThresh(double conf_thresh)
public void setWaveCorrectKind(@Cast(value="cv::detail::WaveCorrectKind") int kind)
@opencv_core.Ptr public opencv_stitching.FeaturesFinder featuresFinder()
public void setFeaturesFinder(@opencv_core.Ptr opencv_stitching.FeaturesFinder features_finder)
@opencv_core.Ptr public opencv_stitching.FeaturesMatcher featuresMatcher()
public void setFeaturesMatcher(@opencv_core.Ptr opencv_stitching.FeaturesMatcher features_matcher)
@Const @ByRef public opencv_core.UMat matchingMask()
public void setMatchingMask(@Const@ByRef opencv_core.UMat mask)
@opencv_core.Ptr public opencv_stitching.BundleAdjusterBase bundleAdjuster()
public void setBundleAdjuster(@opencv_core.Ptr opencv_stitching.BundleAdjusterBase bundle_adjuster)
@opencv_core.Ptr public opencv_stitching.WarperCreator warper()
public void setWarper(@opencv_core.Ptr opencv_stitching.WarperCreator creator)
@opencv_core.Ptr public opencv_stitching.ExposureCompensator exposureCompensator()
public void setExposureCompensator(@opencv_core.Ptr opencv_stitching.ExposureCompensator exposure_comp)
@opencv_core.Ptr public opencv_stitching.SeamFinder seamFinder()
public void setSeamFinder(@opencv_core.Ptr opencv_stitching.SeamFinder seam_finder)
@opencv_core.Ptr public opencv_stitching.Blender blender()
public void setBlender(@opencv_core.Ptr opencv_stitching.Blender b)
@Cast(value="cv::Stitcher::Status") public int estimateTransform(@ByVal opencv_core.MatVector images)
@Cast(value="cv::Stitcher::Status") public int estimateTransform(@ByVal opencv_core.MatVector images, @Const@ByRef opencv_core.RectVectorVector rois)
\note Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch.
images - Input images.rois - Region of interest rectangles.@Cast(value="cv::Stitcher::Status") public int composePanorama(@ByVal opencv_core.Mat pano)
@Cast(value="cv::Stitcher::Status") public int composePanorama(@ByVal opencv_core.MatVector images, @ByVal opencv_core.Mat pano)
\note Use the functions only if you're aware of the stitching pipeline, otherwise use Stitcher::stitch.
images - Input images.pano - Final pano.@Cast(value="cv::Stitcher::Status") public int stitch(@ByVal opencv_core.MatVector images, @ByVal opencv_core.Mat pano)
@Cast(value="cv::Stitcher::Status") public int stitch(@ByVal opencv_core.MatVector images, @Const@ByRef opencv_core.RectVectorVector rois, @ByVal opencv_core.Mat pano)
images - Input images.rois - Region of interest rectangles.pano - Final pano.@StdVector public IntPointer component()
@StdVector public opencv_stitching.CameraParams cameras()
public double workScale()
Copyright © 2016. All rights reserved.