OpenCV 3.0.0

org.opencv.photo
Class Photo

java.lang.Object
  extended by org.opencv.photo.Photo

public class Photo
extends java.lang.Object


Field Summary
static int INPAINT_NS
           
static int INPAINT_TELEA
           
static int LDR_SIZE
           
static int MIXED_CLONE
           
static int MONOCHROME_TRANSFER
           
static int NORMAL_CLONE
           
static int NORMCONV_FILTER
           
static int RECURS_FILTER
           
 
Constructor Summary
Photo()
           
 
Method Summary
static void colorChange(Mat src, Mat mask, Mat dst)
           
static void colorChange(Mat src, Mat mask, Mat dst, float red_mul, float green_mul, float blue_mul)
           
static AlignMTB createAlignMTB()
           
static AlignMTB createAlignMTB(int max_bits, int exclude_range, boolean cut)
           
static CalibrateDebevec createCalibrateDebevec()
           
static CalibrateDebevec createCalibrateDebevec(int samples, float lambda, boolean random)
           
static CalibrateRobertson createCalibrateRobertson()
           
static CalibrateRobertson createCalibrateRobertson(int max_iter, float threshold)
           
static MergeDebevec createMergeDebevec()
           
static MergeMertens createMergeMertens()
           
static MergeMertens createMergeMertens(float contrast_weight, float saturation_weight, float exposure_weight)
           
static MergeRobertson createMergeRobertson()
           
static Tonemap createTonemap()
           
static Tonemap createTonemap(float gamma)
           
static TonemapDrago createTonemapDrago()
           
static TonemapDrago createTonemapDrago(float gamma, float saturation, float bias)
           
static TonemapDurand createTonemapDurand()
           
static TonemapDurand createTonemapDurand(float gamma, float contrast, float saturation, float sigma_space, float sigma_color)
           
static TonemapMantiuk createTonemapMantiuk()
           
static TonemapMantiuk createTonemapMantiuk(float gamma, float scale, float saturation)
           
static TonemapReinhard createTonemapReinhard()
           
static TonemapReinhard createTonemapReinhard(float gamma, float intensity, float light_adapt, float color_adapt)
           
static void decolor(Mat src, Mat grayscale, Mat color_boost)
           
static void denoise_TVL1(java.util.List<Mat> observations, Mat result)
           
static void denoise_TVL1(java.util.List<Mat> observations, Mat result, double lambda, int niters)
           
static void detailEnhance(Mat src, Mat dst)
           
static void detailEnhance(Mat src, Mat dst, float sigma_s, float sigma_r)
           
static void edgePreservingFilter(Mat src, Mat dst)
           
static void edgePreservingFilter(Mat src, Mat dst, int flags, float sigma_s, float sigma_r)
           
static void fastNlMeansDenoising(Mat src, Mat dst)
           
static void fastNlMeansDenoising(Mat src, Mat dst, float h, int templateWindowSize, int searchWindowSize)
           
static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h)
           
static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType)
           
static void fastNlMeansDenoisingColored(Mat src, Mat dst)
           
static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h, float hColor, int templateWindowSize, int searchWindowSize)
           
static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize)
           
static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize, int searchWindowSize)
           
static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize)
           
static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize, int searchWindowSize)
           
static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h)
           
static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType)
           
static void illuminationChange(Mat src, Mat mask, Mat dst)
           
static void illuminationChange(Mat src, Mat mask, Mat dst, float alpha, float beta)
           
static void inpaint(Mat src, Mat inpaintMask, Mat dst, double inpaintRadius, int flags)
           
static void pencilSketch(Mat src, Mat dst1, Mat dst2)
           
static void pencilSketch(Mat src, Mat dst1, Mat dst2, float sigma_s, float sigma_r, float shade_factor)
           
static void seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat blend, int flags)
           
static void stylization(Mat src, Mat dst)
           
static void stylization(Mat src, Mat dst, float sigma_s, float sigma_r)
           
static void textureFlattening(Mat src, Mat mask, Mat dst)
           
static void textureFlattening(Mat src, Mat mask, Mat dst, float low_threshold, float high_threshold, int kernel_size)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INPAINT_NS

public static final int INPAINT_NS
See Also:
Constant Field Values

INPAINT_TELEA

public static final int INPAINT_TELEA
See Also:
Constant Field Values

LDR_SIZE

public static final int LDR_SIZE
See Also:
Constant Field Values

MIXED_CLONE

public static final int MIXED_CLONE
See Also:
Constant Field Values

MONOCHROME_TRANSFER

public static final int MONOCHROME_TRANSFER
See Also:
Constant Field Values

NORMAL_CLONE

public static final int NORMAL_CLONE
See Also:
Constant Field Values

NORMCONV_FILTER

public static final int NORMCONV_FILTER
See Also:
Constant Field Values

RECURS_FILTER

public static final int RECURS_FILTER
See Also:
Constant Field Values
Constructor Detail

Photo

public Photo()
Method Detail

colorChange

public static void colorChange(Mat src,
                               Mat mask,
                               Mat dst)

colorChange

public static void colorChange(Mat src,
                               Mat mask,
                               Mat dst,
                               float red_mul,
                               float green_mul,
                               float blue_mul)

createAlignMTB

public static AlignMTB createAlignMTB()

createAlignMTB

public static AlignMTB createAlignMTB(int max_bits,
                                      int exclude_range,
                                      boolean cut)

createCalibrateDebevec

public static CalibrateDebevec createCalibrateDebevec()

createCalibrateDebevec

public static CalibrateDebevec createCalibrateDebevec(int samples,
                                                      float lambda,
                                                      boolean random)

createCalibrateRobertson

public static CalibrateRobertson createCalibrateRobertson()

createCalibrateRobertson

public static CalibrateRobertson createCalibrateRobertson(int max_iter,
                                                          float threshold)

createMergeDebevec

public static MergeDebevec createMergeDebevec()

createMergeMertens

public static MergeMertens createMergeMertens()

createMergeMertens

public static MergeMertens createMergeMertens(float contrast_weight,
                                              float saturation_weight,
                                              float exposure_weight)

createMergeRobertson

public static MergeRobertson createMergeRobertson()

createTonemap

public static Tonemap createTonemap()

createTonemap

public static Tonemap createTonemap(float gamma)

createTonemapDrago

public static TonemapDrago createTonemapDrago()

createTonemapDrago

public static TonemapDrago createTonemapDrago(float gamma,
                                              float saturation,
                                              float bias)

createTonemapDurand

public static TonemapDurand createTonemapDurand()

createTonemapDurand

public static TonemapDurand createTonemapDurand(float gamma,
                                                float contrast,
                                                float saturation,
                                                float sigma_space,
                                                float sigma_color)

createTonemapMantiuk

public static TonemapMantiuk createTonemapMantiuk()

createTonemapMantiuk

public static TonemapMantiuk createTonemapMantiuk(float gamma,
                                                  float scale,
                                                  float saturation)

createTonemapReinhard

public static TonemapReinhard createTonemapReinhard()

createTonemapReinhard

public static TonemapReinhard createTonemapReinhard(float gamma,
                                                    float intensity,
                                                    float light_adapt,
                                                    float color_adapt)

decolor

public static void decolor(Mat src,
                           Mat grayscale,
                           Mat color_boost)

denoise_TVL1

public static void denoise_TVL1(java.util.List<Mat> observations,
                                Mat result)

denoise_TVL1

public static void denoise_TVL1(java.util.List<Mat> observations,
                                Mat result,
                                double lambda,
                                int niters)

detailEnhance

public static void detailEnhance(Mat src,
                                 Mat dst)

detailEnhance

public static void detailEnhance(Mat src,
                                 Mat dst,
                                 float sigma_s,
                                 float sigma_r)

edgePreservingFilter

public static void edgePreservingFilter(Mat src,
                                        Mat dst)

edgePreservingFilter

public static void edgePreservingFilter(Mat src,
                                        Mat dst,
                                        int flags,
                                        float sigma_s,
                                        float sigma_r)

fastNlMeansDenoising

public static void fastNlMeansDenoising(Mat src,
                                        Mat dst)

fastNlMeansDenoising

public static void fastNlMeansDenoising(Mat src,
                                        Mat dst,
                                        float h,
                                        int templateWindowSize,
                                        int searchWindowSize)

fastNlMeansDenoising

public static void fastNlMeansDenoising(Mat src,
                                        Mat dst,
                                        MatOfFloat h)

fastNlMeansDenoising

public static void fastNlMeansDenoising(Mat src,
                                        Mat dst,
                                        MatOfFloat h,
                                        int templateWindowSize,
                                        int searchWindowSize,
                                        int normType)

fastNlMeansDenoisingColored

public static void fastNlMeansDenoisingColored(Mat src,
                                               Mat dst)

fastNlMeansDenoisingColored

public static void fastNlMeansDenoisingColored(Mat src,
                                               Mat dst,
                                               float h,
                                               float hColor,
                                               int templateWindowSize,
                                               int searchWindowSize)

fastNlMeansDenoisingColoredMulti

public static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs,
                                                    Mat dst,
                                                    int imgToDenoiseIndex,
                                                    int temporalWindowSize)

fastNlMeansDenoisingColoredMulti

public static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs,
                                                    Mat dst,
                                                    int imgToDenoiseIndex,
                                                    int temporalWindowSize,
                                                    float h,
                                                    float hColor,
                                                    int templateWindowSize,
                                                    int searchWindowSize)

fastNlMeansDenoisingMulti

public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
                                             Mat dst,
                                             int imgToDenoiseIndex,
                                             int temporalWindowSize)

fastNlMeansDenoisingMulti

public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
                                             Mat dst,
                                             int imgToDenoiseIndex,
                                             int temporalWindowSize,
                                             float h,
                                             int templateWindowSize,
                                             int searchWindowSize)

fastNlMeansDenoisingMulti

public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
                                             Mat dst,
                                             int imgToDenoiseIndex,
                                             int temporalWindowSize,
                                             MatOfFloat h)

fastNlMeansDenoisingMulti

public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
                                             Mat dst,
                                             int imgToDenoiseIndex,
                                             int temporalWindowSize,
                                             MatOfFloat h,
                                             int templateWindowSize,
                                             int searchWindowSize,
                                             int normType)

illuminationChange

public static void illuminationChange(Mat src,
                                      Mat mask,
                                      Mat dst)

illuminationChange

public static void illuminationChange(Mat src,
                                      Mat mask,
                                      Mat dst,
                                      float alpha,
                                      float beta)

inpaint

public static void inpaint(Mat src,
                           Mat inpaintMask,
                           Mat dst,
                           double inpaintRadius,
                           int flags)

pencilSketch

public static void pencilSketch(Mat src,
                                Mat dst1,
                                Mat dst2)

pencilSketch

public static void pencilSketch(Mat src,
                                Mat dst1,
                                Mat dst2,
                                float sigma_s,
                                float sigma_r,
                                float shade_factor)

seamlessClone

public static void seamlessClone(Mat src,
                                 Mat dst,
                                 Mat mask,
                                 Point p,
                                 Mat blend,
                                 int flags)

stylization

public static void stylization(Mat src,
                               Mat dst)

stylization

public static void stylization(Mat src,
                               Mat dst,
                               float sigma_s,
                               float sigma_r)

textureFlattening

public static void textureFlattening(Mat src,
                                     Mat mask,
                                     Mat dst)

textureFlattening

public static void textureFlattening(Mat src,
                                     Mat mask,
                                     Mat dst,
                                     float low_threshold,
                                     float high_threshold,
                                     int kernel_size)

OpenCV 3.0.0 Documentation