|
OpenCV 2.4.3 (RC) | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencv.contrib.Contrib
public class Contrib
Field Summary | |
---|---|
static int |
COLORMAP_AUTUMN
|
static int |
COLORMAP_BONE
|
static int |
COLORMAP_COOL
|
static int |
COLORMAP_HOT
|
static int |
COLORMAP_HSV
|
static int |
COLORMAP_JET
|
static int |
COLORMAP_OCEAN
|
static int |
COLORMAP_PINK
|
static int |
COLORMAP_RAINBOW
|
static int |
COLORMAP_SPRING
|
static int |
COLORMAP_SUMMER
|
static int |
COLORMAP_WINTER
|
static int |
RETINA_COLOR_BAYER
|
static int |
RETINA_COLOR_DIAGONAL
|
static int |
RETINA_COLOR_RANDOM
|
static int |
RIGID_BODY_MOTION
|
static int |
ROTATION
|
static int |
TRANSLATION
|
Constructor Summary | |
---|---|
Contrib()
|
Method Summary | |
---|---|
static void |
applyColorMap(Mat src,
Mat dst,
int colormap)
Applies a GNU Octave/MATLAB equivalent colormap on a given image. |
static int |
chamerMatching(Mat img,
Mat templ,
java.util.List<MatOfPoint> results,
MatOfFloat cost)
|
static int |
chamerMatching(Mat img,
Mat templ,
java.util.List<MatOfPoint> results,
MatOfFloat cost,
double templScale,
int maxMatches,
double minMatchDistance,
int padX,
int padY,
int scales,
double minScale,
double maxScale,
double orientationWeight,
double truncate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COLORMAP_AUTUMN
public static final int COLORMAP_BONE
public static final int COLORMAP_COOL
public static final int COLORMAP_HOT
public static final int COLORMAP_HSV
public static final int COLORMAP_JET
public static final int COLORMAP_OCEAN
public static final int COLORMAP_PINK
public static final int COLORMAP_RAINBOW
public static final int COLORMAP_SPRING
public static final int COLORMAP_SUMMER
public static final int COLORMAP_WINTER
public static final int RETINA_COLOR_BAYER
public static final int RETINA_COLOR_DIAGONAL
public static final int RETINA_COLOR_RANDOM
public static final int RIGID_BODY_MOTION
public static final int ROTATION
public static final int TRANSLATION
Constructor Detail |
---|
public Contrib()
Method Detail |
---|
public static void applyColorMap(Mat src, Mat dst, int colormap)
Applies a GNU Octave/MATLAB equivalent colormap on a given image.
Currently the following GNU Octave/MATLAB equivalent colormaps are
implemented: enum
// C++ code:
COLORMAP_AUTUMN = 0,
COLORMAP_BONE = 1,
COLORMAP_JET = 2,
COLORMAP_WINTER = 3,
COLORMAP_RAINBOW = 4,
COLORMAP_OCEAN = 5,
COLORMAP_SUMMER = 6,
COLORMAP_SPRING = 7,
COLORMAP_COOL = 8,
COLORMAP_HSV = 9,
COLORMAP_PINK = 10,
COLORMAP_HOT = 11
- Parameters:
src
- The source image, grayscale or colored does not matter.dst
- The result is the colormapped source image. Note: "Mat.create" is
called on dst.colormap
- The colormap to apply, see the list of available colormaps
below.- See Also:
- org.opencv.contrib.Contrib.applyColorMap
chamerMatching
public static int chamerMatching(Mat img,
Mat templ,
java.util.List<MatOfPoint> results,
MatOfFloat cost)
chamerMatching
public static int chamerMatching(Mat img,
Mat templ,
java.util.List<MatOfPoint> results,
MatOfFloat cost,
double templScale,
int maxMatches,
double minMatchDistance,
int padX,
int padY,
int scales,
double minScale,
double maxScale,
double orientationWeight,
double truncate)
Overview
Package
Class
Tree
Index
Help
Official OpenCV 2.4 Documentation
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD