euglena/lib/opencv_processing/reference/gab/opencv/OpenCV.html

2677 lines
100 KiB
HTML
Raw Permalink Normal View History

2016-07-10 00:36:44 -07:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Mon Dec 08 14:30:04 EST 2014 -->
<TITLE>
OpenCV (Javadocs: opencv_processing)
</TITLE>
<META NAME="date" CONTENT="2014-12-08">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="OpenCV (Javadocs: opencv_processing)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../gab/opencv/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../gab/opencv/Line.html" title="class in gab.opencv"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?gab/opencv/OpenCV.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OpenCV.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
gab.opencv</FONT>
<BR>
Class OpenCV</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>gab.opencv.OpenCV</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>OpenCV</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
This is a template class and can be used to start a new processing library or tool.
Make sure you rename this class as well as the name of the example package 'template'
to your own library or tool naming convention.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#BOTH">BOTH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_CLOCK">CASCADE_CLOCK</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_EYE">CASCADE_EYE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_FRONTALFACE">CASCADE_FRONTALFACE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_FULLBODY">CASCADE_FULLBODY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_LOWERBODY">CASCADE_LOWERBODY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_MOUTH">CASCADE_MOUTH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_NOSE">CASCADE_NOSE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_PEDESTRIAN">CASCADE_PEDESTRIAN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_PEDESTRIANS">CASCADE_PEDESTRIANS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_PROFILEFACE">CASCADE_PROFILEFACE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_RIGHT_EAR">CASCADE_RIGHT_EAR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#CASCADE_UPPERBODY">CASCADE_UPPERBODY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;CascadeClassifier</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#classifier">classifier</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#colorSpace">colorSpace</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../gab/opencv/Flow.html" title="class in gab.opencv">Flow</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#flow">flow</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#height">height</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#HORIZONTAL">HORIZONTAL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matA">matA</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matB">matB</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matBGRA">matBGRA</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matG">matG</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matGray">matGray</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matH">matH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matHSV">matHSV</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matR">matR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matROI">matROI</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matS">matS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matV">matV</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#nonROImat">nonROImat</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#VERSION">VERSION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#VERTICAL">VERTICAL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#width">width</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#OpenCV(processing.core.PApplet, int, int)">OpenCV</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
int&nbsp;width,
int&nbsp;height)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize OpenCV with a width and height.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#OpenCV(processing.core.PApplet, processing.core.PImage)">OpenCV</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize OpenCV with an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#OpenCV(processing.core.PApplet, processing.core.PImage, boolean)">OpenCV</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img,
boolean&nbsp;useColor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize OpenCV with an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#OpenCV(processing.core.PApplet, java.lang.String)">OpenCV</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathToImg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize OpenCV with the path to an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#OpenCV(processing.core.PApplet, java.lang.String, boolean)">OpenCV</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathToImg,
boolean&nbsp;useColor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize OpenCV with the path to an image.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#adaptiveThreshold(int, int)">adaptiveThreshold</A></B>(int&nbsp;blockSize,
int&nbsp;c)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply an adaptive threshold to an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#ARGBtoBGRA(Mat, Mat)">ARGBtoBGRA</A></B>(Mat&nbsp;rgba,
Mat&nbsp;bgra)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#blur(int)">blur</A></B>(int&nbsp;blurSize)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blur an image symetrically by a given number of pixels.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#blur(int, int)">blur</A></B>(int&nbsp;blurW,
int&nbsp;blurH)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blur an image assymetrically by a different number of pixels in x- and y-directions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#brightness(int)">brightness</A></B>(int&nbsp;amt)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adjust the brightness of the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#calculateOpticalFlow()">calculateOpticalFlow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculate the optical flow of the current image relative
to a running series of images (typically frames from video).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#contrast(float)">contrast</A></B>(float&nbsp;amt)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adjust the contrast of the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#detect()">detect</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Detect objects using the cascade classifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#detect(double, int, int, int, int)">detect</A></B>(double&nbsp;scaleFactor,
int&nbsp;minNeighbors,
int&nbsp;flags,
int&nbsp;minSize,
int&nbsp;maxSize)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Detect objects using the cascade classifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#diff(Mat, Mat)">diff</A></B>(Mat&nbsp;mat1,
Mat&nbsp;mat2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A helper function that diffs two Mats using absdiff.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#diff(processing.core.PImage)">diff</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculate the difference between the current image
loaded into OpenCV and a second image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#dilate()">dilate</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dilate the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#drawOpticalFlow()">drawOpticalFlow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#equalizeHistogram()">equalizeHistogram</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Normalize the histogram of the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#erode()">erode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Erode the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findCannyEdges(int, int)">findCannyEdges</A></B>(int&nbsp;lowThreshold,
int&nbsp;highThreshold)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find edges in the image using Canny edge detection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findChessboardCorners(int, int)">findChessboardCorners</A></B>(int&nbsp;patternWidth,
int&nbsp;patternHeight)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Contour.html" title="class in gab.opencv">Contour</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findContours()">findContours</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Contour.html" title="class in gab.opencv">Contour</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findContours(boolean, boolean)">findContours</A></B>(boolean&nbsp;findHoles,
boolean&nbsp;sort)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../gab/opencv/Histogram.html" title="class in gab.opencv">Histogram</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findHistogram(Mat, int)">findHistogram</A></B>(Mat&nbsp;mat,
int&nbsp;numBins)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../gab/opencv/Histogram.html" title="class in gab.opencv">Histogram</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findHistogram(Mat, int, boolean)">findHistogram</A></B>(Mat&nbsp;mat,
int&nbsp;numBins,
boolean&nbsp;normalize)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Line.html" title="class in gab.opencv">Line</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findLines(int, double, double)">findLines</A></B>(int&nbsp;threshold,
double&nbsp;minLineLength,
double&nbsp;maxLineGap)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findScharrEdges(int)">findScharrEdges</A></B>(int&nbsp;direction)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#findSobelEdges(int, int)">findSobelEdges</A></B>(int&nbsp;dx,
int&nbsp;dy)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#flip(int)">flip</A></B>(int&nbsp;direction)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flip the current image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getA()">getA</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getAverageFlow()">getAverageFlow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getAverageFlowInRegion(int, int, int, int)">getAverageFlowInRegion</A></B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getB()">getB</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getColor()">getColor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getColorSpace()">getColorSpace</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the colorSpace of the current color image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getFlowAt(int, int)">getFlowAt</A></B>(int&nbsp;x,
int&nbsp;y)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getG()">getG</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getGray()">getGray</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getH()">getH</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getInput()">getInput</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getOutput()">getOutput</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getR()">getR</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getROI()">getROI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getS()">getS</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getSize()">getSize</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getSnapshot()">getSnapshot</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getSnapshot(Mat)">getSnapshot</A></B>(Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getTotalFlow()">getTotalFlow</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getTotalFlowInRegion(int, int, int, int)">getTotalFlowInRegion</A></B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getUseColor()">getUseColor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether OpenCV is currently using the color version of the image
or the grayscale version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#getV()">getV</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#gray()">gray</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#gray(Mat)">gray</A></B>(Mat&nbsp;src)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;Mat</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#imitate(Mat)">imitate</A></B>(Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper to create a new OpenCV Mat whose channels and
bit-depth mask an existing Mat.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#inRange(int, int)">inRange</A></B>(int&nbsp;lowerBound,
int&nbsp;upperBound)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Filter the image for values between a lower and upper bound.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#invert()">invert</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invert the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#loadCascade(java.lang.String)">loadCascade</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cascadeFileName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load a cascade file for face or object detection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#loadCascade(java.lang.String, boolean)">loadCascade</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cascadeFilePath,
boolean&nbsp;absolute)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load a cascade file for face or object detection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#loadImage(processing.core.PImage)">loadImage</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#loadImage(java.lang.String)">loadImage</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;imgPath)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load an image from a path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matToARGBPixels(Mat)">matToARGBPixels</A></B>(Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a 4 channel OpenCV Mat object into
pixels to be shoved into a 4 channel ARGB PImage's
pixel array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matToPVectors(MatOfPoint)">matToPVectors</A></B>(MatOfPoint&nbsp;mat)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matToPVectors(MatOfPoint2f)">matToPVectors</A></B>(MatOfPoint2f&nbsp;mat)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#matToS(Mat)">matToS</A></B>(Mat&nbsp;mat)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#max()">max</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the x-y location of the maximum value in the current image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#min()">min</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the x-y location of the minimum value in the current image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#pointToPVector(Point)">pointToPVector</A></B>(Point&nbsp;p)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper function to convert an OpenCV Point into a Processing PVector</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#releaseROI()">releaseROI</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#setColor(Mat)">setColor</A></B>(Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#setGray(Mat)">setGray</A></B>(Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#setROI(int, int, int, int)">setROI</A></B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a Region of Interest within the image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#startBackgroundSubtraction(int, int, double)">startBackgroundSubtraction</A></B>(int&nbsp;history,
int&nbsp;nMixtures,
double&nbsp;backgroundRatio)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Setup background subtraction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#threshold(int)">threshold</A></B>(int&nbsp;threshold)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply a global threshold to an image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#toCv(processing.core.PImage, Mat)">toCv</A></B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img,
Mat&nbsp;m)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a Processing PImage to an OpenCV Mat.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#toPImage(Mat, processing.core.PImage)">toPImage</A></B>(Mat&nbsp;m,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an OpenCV Mat object into a PImage
to be used in other Processing code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#toProcessing(Rect[])">toProcessing</A></B>(Rect[]&nbsp;rects)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert an array of OpenCV Rect objects into
an array of java.awt.Rectangle rectangles.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#updateBackground()">updateBackground</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update the running background for background subtraction based on
the current image loaded into OpenCV.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#useColor()">useColor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply subsequent image processing to
the color version of the loaded image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#useColor(int)">useColor</A></B>(int&nbsp;colorSpace)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the main working image to be the color version of the imported image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#useGray()">useGray</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set OpenCV to do image processing on the grayscale version
of the loaded image.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../gab/opencv/OpenCV.html#version()">version</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return the version of the library.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="width"><!-- --></A><H3>
width</H3>
<PRE>
public int <B>width</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="height"><!-- --></A><H3>
height</H3>
<PRE>
public int <B>height</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matBGRA"><!-- --></A><H3>
matBGRA</H3>
<PRE>
public Mat <B>matBGRA</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matR"><!-- --></A><H3>
matR</H3>
<PRE>
public Mat <B>matR</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matG"><!-- --></A><H3>
matG</H3>
<PRE>
public Mat <B>matG</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matB"><!-- --></A><H3>
matB</H3>
<PRE>
public Mat <B>matB</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matA"><!-- --></A><H3>
matA</H3>
<PRE>
public Mat <B>matA</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matHSV"><!-- --></A><H3>
matHSV</H3>
<PRE>
public Mat <B>matHSV</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matH"><!-- --></A><H3>
matH</H3>
<PRE>
public Mat <B>matH</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matS"><!-- --></A><H3>
matS</H3>
<PRE>
public Mat <B>matS</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matV"><!-- --></A><H3>
matV</H3>
<PRE>
public Mat <B>matV</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matGray"><!-- --></A><H3>
matGray</H3>
<PRE>
public Mat <B>matGray</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="matROI"><!-- --></A><H3>
matROI</H3>
<PRE>
public Mat <B>matROI</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="nonROImat"><!-- --></A><H3>
nonROImat</H3>
<PRE>
public Mat <B>nonROImat</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="colorSpace"><!-- --></A><H3>
colorSpace</H3>
<PRE>
public int <B>colorSpace</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="classifier"><!-- --></A><H3>
classifier</H3>
<PRE>
public CascadeClassifier <B>classifier</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="flow"><!-- --></A><H3>
flow</H3>
<PRE>
public <A HREF="../../gab/opencv/Flow.html" title="class in gab.opencv">Flow</A> <B>flow</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="VERSION"><!-- --></A><H3>
VERSION</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>VERSION</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.VERSION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_FRONTALFACE"><!-- --></A><H3>
CASCADE_FRONTALFACE</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_FRONTALFACE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_FRONTALFACE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_PEDESTRIANS"><!-- --></A><H3>
CASCADE_PEDESTRIANS</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_PEDESTRIANS</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_PEDESTRIANS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_EYE"><!-- --></A><H3>
CASCADE_EYE</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_EYE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_EYE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_CLOCK"><!-- --></A><H3>
CASCADE_CLOCK</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_CLOCK</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_CLOCK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_NOSE"><!-- --></A><H3>
CASCADE_NOSE</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_NOSE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_NOSE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_MOUTH"><!-- --></A><H3>
CASCADE_MOUTH</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_MOUTH</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_MOUTH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_UPPERBODY"><!-- --></A><H3>
CASCADE_UPPERBODY</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_UPPERBODY</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_UPPERBODY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_LOWERBODY"><!-- --></A><H3>
CASCADE_LOWERBODY</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_LOWERBODY</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_LOWERBODY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_FULLBODY"><!-- --></A><H3>
CASCADE_FULLBODY</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_FULLBODY</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_FULLBODY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_PEDESTRIAN"><!-- --></A><H3>
CASCADE_PEDESTRIAN</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_PEDESTRIAN</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_PEDESTRIAN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_RIGHT_EAR"><!-- --></A><H3>
CASCADE_RIGHT_EAR</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_RIGHT_EAR</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_RIGHT_EAR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CASCADE_PROFILEFACE"><!-- --></A><H3>
CASCADE_PROFILEFACE</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CASCADE_PROFILEFACE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.CASCADE_PROFILEFACE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="HORIZONTAL"><!-- --></A><H3>
HORIZONTAL</H3>
<PRE>
public static final int <B>HORIZONTAL</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.HORIZONTAL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="VERTICAL"><!-- --></A><H3>
VERTICAL</H3>
<PRE>
public static final int <B>VERTICAL</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.VERTICAL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="BOTH"><!-- --></A><H3>
BOTH</H3>
<PRE>
public static final int <B>BOTH</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#gab.opencv.OpenCV.BOTH">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="OpenCV(processing.core.PApplet, java.lang.String)"><!-- --></A><H3>
OpenCV</H3>
<PRE>
public <B>OpenCV</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathToImg)</PRE>
<DL>
<DD>Initialize OpenCV with the path to an image.
The image will be loaded and prepared for processing.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>theParent</CODE> - - A PApplet representing the user sketch, i.e "this"<DD><CODE>pathToImg</CODE> - - A String with a path to the image to be loaded</DL>
</DL>
<HR>
<A NAME="OpenCV(processing.core.PApplet, java.lang.String, boolean)"><!-- --></A><H3>
OpenCV</H3>
<PRE>
public <B>OpenCV</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pathToImg,
boolean&nbsp;useColor)</PRE>
<DL>
<DD>Initialize OpenCV with the path to an image.
The image will be loaded and prepared for processing.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>theParent</CODE> - - A PApplet representing the user sketch, i.e "this"<DD><CODE>pathToImg</CODE> - - A String with a path to the image to be loaded<DD><CODE>useColor</CODE> - - (Optional) Set to true if you want to use the color version of the image for processing.</DL>
</DL>
<HR>
<A NAME="OpenCV(processing.core.PApplet, processing.core.PImage)"><!-- --></A><H3>
OpenCV</H3>
<PRE>
public <B>OpenCV</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</PRE>
<DL>
<DD>Initialize OpenCV with an image.
The image's pixels will be copied and prepared for processing.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>theParent</CODE> - A PApplet representing the user sketch, i.e "this"<DD><CODE>img</CODE> - A PImage to be loaded</DL>
</DL>
<HR>
<A NAME="OpenCV(processing.core.PApplet, processing.core.PImage, boolean)"><!-- --></A><H3>
OpenCV</H3>
<PRE>
public <B>OpenCV</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img,
boolean&nbsp;useColor)</PRE>
<DL>
<DD>Initialize OpenCV with an image.
The image's pixels will be copiedd and prepared for processing.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>theParent</CODE> - A PApplet representing the user sketch, i.e "this"<DD><CODE>img</CODE> - A PImage to be loaded<DD><CODE>useColor</CODE> - (Optional) Set to true if you want to use the color version of the image for processing.</DL>
</DL>
<HR>
<A NAME="OpenCV(processing.core.PApplet, int, int)"><!-- --></A><H3>
OpenCV</H3>
<PRE>
public <B>OpenCV</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PApplet.html?is-external=true" title="class or interface in processing.core">PApplet</A>&nbsp;theParent,
int&nbsp;width,
int&nbsp;height)</PRE>
<DL>
<DD>Initialize OpenCV with a width and height.
You will need to load an image in before processing.
See copy(PImage img).
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>theParent</CODE> - A PApplet representing the user sketch, i.e "this"<DD><CODE>width</CODE> - int<DD><CODE>height</CODE> - int</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="useColor()"><!-- --></A><H3>
useColor</H3>
<PRE>
public void <B>useColor</B>()</PRE>
<DL>
<DD>Apply subsequent image processing to
the color version of the loaded image.
Note: Many OpenCV functions require a grayscale
image. Those functions will raise an exception
if attempted on a color image.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getColorSpace()"><!-- --></A><H3>
getColorSpace</H3>
<PRE>
public int <B>getColorSpace</B>()</PRE>
<DL>
<DD>Get the colorSpace of the current color image. Will be either RGB or HSB.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The color space of the color mats. Either PApplet.RGB or PApplet.HSB</DL>
</DD>
</DL>
<HR>
<A NAME="useColor(int)"><!-- --></A><H3>
useColor</H3>
<PRE>
public void <B>useColor</B>(int&nbsp;colorSpace)</PRE>
<DL>
<DD>Set the main working image to be the color version of the imported image.
Subsequent image-processing functions will be applied to the color version
of the image. Image is assumed to be HSB or RGB based on the argument
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>colorSpace</CODE> - The color space of the image to be processed. Either RGB or HSB.</DL>
</DD>
</DL>
<HR>
<A NAME="useGray()"><!-- --></A><H3>
useGray</H3>
<PRE>
public void <B>useGray</B>()</PRE>
<DL>
<DD>Set OpenCV to do image processing on the grayscale version
of the loaded image.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getUseColor()"><!-- --></A><H3>
getUseColor</H3>
<PRE>
public boolean <B>getUseColor</B>()</PRE>
<DL>
<DD>Checks whether OpenCV is currently using the color version of the image
or the grayscale version.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>True if OpenCV is currently using the color version of the image.</DL>
</DD>
</DL>
<HR>
<A NAME="loadCascade(java.lang.String)"><!-- --></A><H3>
loadCascade</H3>
<PRE>
public void <B>loadCascade</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cascadeFileName)</PRE>
<DL>
<DD>Load a cascade file for face or object detection.
Expects one of:
<pre>
OpenCV.CASCADE_FRONTALFACE
OpenCV.CASCADE_PEDESTRIANS
OpenCV.CASCADE_EYE
OpenCV.CASCADE_CLOCK
OpenCV.CASCADE_NOSE
OpenCV.CASCADE_MOUTH
OpenCV.CASCADE_UPPERBODY
OpenCV.CASCADE_LOWERBODY
OpenCV.CASCADE_FULLBODY
OpenCV.CASCADE_PEDESTRIANS
OpenCV.CASCADE_RIGHT_EAR
OpenCV.CASCADE_PROFILEFACE
</pre>
To pass your own cascade file, provide an absolute path and a second
argument of true, thusly:
<pre>
opencv.loadCascade("/path/to/my/custom/cascade.xml", true)
</pre>
(NB: ant build scripts copy the data folder outside of the
jar so that this will work.)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cascadeFileName</CODE> - The name of the cascade file to be loaded form within OpenCV for Processing.
Must be one of the constants provided by this library</DL>
</DD>
</DL>
<HR>
<A NAME="loadCascade(java.lang.String, boolean)"><!-- --></A><H3>
loadCascade</H3>
<PRE>
public void <B>loadCascade</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cascadeFilePath,
boolean&nbsp;absolute)</PRE>
<DL>
<DD>Load a cascade file for face or object detection.
If absolute is true, cascadeFilePath must be an
absolute path to a cascade xml file. If it is false
then cascadeFilePath must be one of the options provided
by OpenCV for Processing as in the single-argument
version of this function.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cascadeFilePath</CODE> - A string. Either an absolute path to a cascade XML file or
one of the constants provided by this library.<DD><CODE>absolute</CODE> - Whether or not the cascadeFilePath is an absolute path to an XML file.</DL>
</DD>
</DL>
<HR>
<A NAME="toProcessing(Rect[])"><!-- --></A><H3>
toProcessing</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[] <B>toProcessing</B>(Rect[]&nbsp;rects)</PRE>
<DL>
<DD>Convert an array of OpenCV Rect objects into
an array of java.awt.Rectangle rectangles.
Especially useful when working with
classifier.detectMultiScale().
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>Rect[]</CODE> - rects
<DT><B>Returns:</B><DD>A Rectangle[] of java.awt.Rectangle</DL>
</DD>
</DL>
<HR>
<A NAME="detect(double, int, int, int, int)"><!-- --></A><H3>
detect</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[] <B>detect</B>(double&nbsp;scaleFactor,
int&nbsp;minNeighbors,
int&nbsp;flags,
int&nbsp;minSize,
int&nbsp;maxSize)</PRE>
<DL>
<DD>Detect objects using the cascade classifier. loadCascade() must already
have been called to setup the classifier. See the OpenCV documentation
for details on the arguments: http://docs.opencv.org/java/org/opencv/objdetect/CascadeClassifier.html#detectMultiScale(org.opencv.core.Mat, org.opencv.core.MatOfRect, double, int, int, org.opencv.core.Size, org.opencv.core.Size)
A simpler version of detect() that doesn't need these arguments is also available.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>scaleFactor</CODE> - <DD><CODE>minNeighbors</CODE> - <DD><CODE>flags</CODE> - <DD><CODE>minSize</CODE> - <DD><CODE>maxSize</CODE> -
<DT><B>Returns:</B><DD>An array of java.awt.Rectangle objects with the location, width, and height of each detected object.</DL>
</DD>
</DL>
<HR>
<A NAME="detect()"><!-- --></A><H3>
detect</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>[] <B>detect</B>()</PRE>
<DL>
<DD>Detect objects using the cascade classifier. loadCascade() must already
have been called to setup the classifier.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>An array of java.awt.Rectnangle objects with the location, width, and height of each detected object.</DL>
</DD>
</DL>
<HR>
<A NAME="startBackgroundSubtraction(int, int, double)"><!-- --></A><H3>
startBackgroundSubtraction</H3>
<PRE>
public void <B>startBackgroundSubtraction</B>(int&nbsp;history,
int&nbsp;nMixtures,
double&nbsp;backgroundRatio)</PRE>
<DL>
<DD>Setup background subtraction. After calling this function,
updateBackground() must be called with each new frame
you want to add to the running background subtraction calculation.
For details on the arguments, see:
http://docs.opencv.org/java/org/opencv/video/BackgroundSubtractorMOG.html#BackgroundSubtractorMOG(int, int, double)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>history</CODE> - <DD><CODE>nMixtures</CODE> - <DD><CODE>backgroundRatio</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="updateBackground()"><!-- --></A><H3>
updateBackground</H3>
<PRE>
public void <B>updateBackground</B>()</PRE>
<DL>
<DD>Update the running background for background subtraction based on
the current image loaded into OpenCV. startBackgroundSubtraction()
must have been called before this to setup the background subtractor.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="calculateOpticalFlow()"><!-- --></A><H3>
calculateOpticalFlow</H3>
<PRE>
public void <B>calculateOpticalFlow</B>()</PRE>
<DL>
<DD>Calculate the optical flow of the current image relative
to a running series of images (typically frames from video).
Optical flow is useful for detecting what parts of the image
are moving and in what direction.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTotalFlowInRegion(int, int, int, int)"><!-- --></A><H3>
getTotalFlowInRegion</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>getTotalFlowInRegion</B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAverageFlowInRegion(int, int, int, int)"><!-- --></A><H3>
getAverageFlowInRegion</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>getAverageFlowInRegion</B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTotalFlow()"><!-- --></A><H3>
getTotalFlow</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>getTotalFlow</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAverageFlow()"><!-- --></A><H3>
getAverageFlow</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>getAverageFlow</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFlowAt(int, int)"><!-- --></A><H3>
getFlowAt</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>getFlowAt</B>(int&nbsp;x,
int&nbsp;y)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="drawOpticalFlow()"><!-- --></A><H3>
drawOpticalFlow</H3>
<PRE>
public void <B>drawOpticalFlow</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="flip(int)"><!-- --></A><H3>
flip</H3>
<PRE>
public void <B>flip</B>(int&nbsp;direction)</PRE>
<DL>
<DD>Flip the current image.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>direction</CODE> - One of: OpenCV.HORIZONTAL, OpenCV.VERTICAL, or OpenCV.BOTH</DL>
</DD>
</DL>
<HR>
<A NAME="contrast(float)"><!-- --></A><H3>
contrast</H3>
<PRE>
public void <B>contrast</B>(float&nbsp;amt)</PRE>
<DL>
<DD>Adjust the contrast of the image. Works on color or black and white images.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>amt</CODE> - Amount of contrast to apply. 0-1.0 reduces contrast. Above 1.0 increases contrast.</DL>
</DD>
</DL>
<HR>
<A NAME="max()"><!-- --></A><H3>
max</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>max</B>()</PRE>
<DL>
<DD>Get the x-y location of the maximum value in the current image.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>A PVector with the location of the maximum value.</DL>
</DD>
</DL>
<HR>
<A NAME="min()"><!-- --></A><H3>
min</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>min</B>()</PRE>
<DL>
<DD>Get the x-y location of the minimum value in the current image.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>A PVector with the location of the minimum value.</DL>
</DD>
</DL>
<HR>
<A NAME="pointToPVector(Point)"><!-- --></A><H3>
pointToPVector</H3>
<PRE>
public static <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A> <B>pointToPVector</B>(Point&nbsp;p)</PRE>
<DL>
<DD>Helper function to convert an OpenCV Point into a Processing PVector
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - A Point
<DT><B>Returns:</B><DD>A PVector</DL>
</DD>
</DL>
<HR>
<A NAME="brightness(int)"><!-- --></A><H3>
brightness</H3>
<PRE>
public void <B>brightness</B>(int&nbsp;amt)</PRE>
<DL>
<DD>Adjust the brightness of the image. Works on color or black and white images.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>amt</CODE> - The amount to brighten the image. Ranges -255 to 255.</DL>
</DD>
</DL>
<HR>
<A NAME="imitate(Mat)"><!-- --></A><H3>
imitate</H3>
<PRE>
public static Mat <B>imitate</B>(Mat&nbsp;m)</PRE>
<DL>
<DD>Helper to create a new OpenCV Mat whose channels and
bit-depth mask an existing Mat.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - The Mat to match
<DT><B>Returns:</B><DD>A new Mat</DL>
</DD>
</DL>
<HR>
<A NAME="diff(processing.core.PImage)"><!-- --></A><H3>
diff</H3>
<PRE>
public void <B>diff</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</PRE>
<DL>
<DD>Calculate the difference between the current image
loaded into OpenCV and a second image. The result is stored
in the loaded image in OpenCV. Works on both color and grayscale
images.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>img</CODE> - A PImage to diff against.</DL>
</DD>
</DL>
<HR>
<A NAME="diff(Mat, Mat)"><!-- --></A><H3>
diff</H3>
<PRE>
public static void <B>diff</B>(Mat&nbsp;mat1,
Mat&nbsp;mat2)</PRE>
<DL>
<DD>A helper function that diffs two Mats using absdiff.
Places the result back into mat1
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mat1</CODE> - The destination Mat<DD><CODE>mat2</CODE> - The Mat to diff against</DL>
</DD>
</DL>
<HR>
<A NAME="threshold(int)"><!-- --></A><H3>
threshold</H3>
<PRE>
public void <B>threshold</B>(int&nbsp;threshold)</PRE>
<DL>
<DD>Apply a global threshold to an image. Produces a binary image
with white pixels where the original image was above the threshold
and black where it was below.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>threshold</CODE> - An int from 0-255.</DL>
</DD>
</DL>
<HR>
<A NAME="adaptiveThreshold(int, int)"><!-- --></A><H3>
adaptiveThreshold</H3>
<PRE>
public void <B>adaptiveThreshold</B>(int&nbsp;blockSize,
int&nbsp;c)</PRE>
<DL>
<DD>Apply an adaptive threshold to an image. Produces a binary image
with white pixels where the original image was above the threshold
and black where it was below.
See:
http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html#adaptiveThreshold(org.opencv.core.Mat, org.opencv.core.Mat, double, int, int, int, double)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>blockSize</CODE> - The size of the pixel neighborhood to use.<DD><CODE>c</CODE> - A constant subtracted from the mean of each neighborhood.</DL>
</DD>
</DL>
<HR>
<A NAME="equalizeHistogram()"><!-- --></A><H3>
equalizeHistogram</H3>
<PRE>
public void <B>equalizeHistogram</B>()</PRE>
<DL>
<DD>Normalize the histogram of the image. This will spread the image's color
spectrum over the full 0-255 range. Only works on grayscale images.
See: http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html#equalizeHist(org.opencv.core.Mat, org.opencv.core.Mat)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="invert()"><!-- --></A><H3>
invert</H3>
<PRE>
public void <B>invert</B>()</PRE>
<DL>
<DD>Invert the image.
See: http://docs.opencv.org/java/org/opencv/core/Core.html#bitwise_not(org.opencv.core.Mat, org.opencv.core.Mat)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="dilate()"><!-- --></A><H3>
dilate</H3>
<PRE>
public void <B>dilate</B>()</PRE>
<DL>
<DD>Dilate the image. Dilation is a morphological operation (i.e. it affects the shape) often used to
close holes in contours. It expands white areas of the image.
See:
http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html#dilate(org.opencv.core.Mat, org.opencv.core.Mat, org.opencv.core.Mat)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="erode()"><!-- --></A><H3>
erode</H3>
<PRE>
public void <B>erode</B>()</PRE>
<DL>
<DD>Erode the image. Erosion is a morphological operation (i.e. it affects the shape) often used to
close holes in contours. It contracts white areas of the image.
See:
http://docs.opencv.org/java/org/opencv/imgproc/Imgproc.html#erode(org.opencv.core.Mat, org.opencv.core.Mat, org.opencv.core.Mat)
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="blur(int)"><!-- --></A><H3>
blur</H3>
<PRE>
public void <B>blur</B>(int&nbsp;blurSize)</PRE>
<DL>
<DD>Blur an image symetrically by a given number of pixels.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>blurSize</CODE> - int - the amount to blur by in x- and y-directions.</DL>
</DD>
</DL>
<HR>
<A NAME="blur(int, int)"><!-- --></A><H3>
blur</H3>
<PRE>
public void <B>blur</B>(int&nbsp;blurW,
int&nbsp;blurH)</PRE>
<DL>
<DD>Blur an image assymetrically by a different number of pixels in x- and y-directions.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>blurW</CODE> - amount to blur in the x-direction<DD><CODE>blurH</CODE> - amount to blur in the y-direction</DL>
</DD>
</DL>
<HR>
<A NAME="findCannyEdges(int, int)"><!-- --></A><H3>
findCannyEdges</H3>
<PRE>
public void <B>findCannyEdges</B>(int&nbsp;lowThreshold,
int&nbsp;highThreshold)</PRE>
<DL>
<DD>Find edges in the image using Canny edge detection.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lowThreshold</CODE> - <DD><CODE>highThreshold</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="findSobelEdges(int, int)"><!-- --></A><H3>
findSobelEdges</H3>
<PRE>
public void <B>findSobelEdges</B>(int&nbsp;dx,
int&nbsp;dy)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findScharrEdges(int)"><!-- --></A><H3>
findScharrEdges</H3>
<PRE>
public void <B>findScharrEdges</B>(int&nbsp;direction)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findContours()"><!-- --></A><H3>
findContours</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Contour.html" title="class in gab.opencv">Contour</A>&gt; <B>findContours</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findContours(boolean, boolean)"><!-- --></A><H3>
findContours</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Contour.html" title="class in gab.opencv">Contour</A>&gt; <B>findContours</B>(boolean&nbsp;findHoles,
boolean&nbsp;sort)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findLines(int, double, double)"><!-- --></A><H3>
findLines</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="../../gab/opencv/Line.html" title="class in gab.opencv">Line</A>&gt; <B>findLines</B>(int&nbsp;threshold,
double&nbsp;minLineLength,
double&nbsp;maxLineGap)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findChessboardCorners(int, int)"><!-- --></A><H3>
findChessboardCorners</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt; <B>findChessboardCorners</B>(int&nbsp;patternWidth,
int&nbsp;patternHeight)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="findHistogram(Mat, int)"><!-- --></A><H3>
findHistogram</H3>
<PRE>
public <A HREF="../../gab/opencv/Histogram.html" title="class in gab.opencv">Histogram</A> <B>findHistogram</B>(Mat&nbsp;mat,
int&nbsp;numBins)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mat</CODE> - The mat from which to calculate the histogram. Get this from getGray(), getR(), getG(), getB(), etc..
By default this will normalize the histogram (scale the values to 0.0-1.0). Pass false as the third argument to keep values unormalized.<DD><CODE>numBins</CODE> - The number of bins into which divide the histogram should be divided.<DD><CODE>normalize</CODE> - (optional)
Whether or not to normalize the histogram (scale the values to 0.0-1.0). Defaults to true.
<DT><B>Returns:</B><DD>A Histogram object that you can call draw() on.</DL>
</DD>
</DL>
<HR>
<A NAME="findHistogram(Mat, int, boolean)"><!-- --></A><H3>
findHistogram</H3>
<PRE>
public <A HREF="../../gab/opencv/Histogram.html" title="class in gab.opencv">Histogram</A> <B>findHistogram</B>(Mat&nbsp;mat,
int&nbsp;numBins,
boolean&nbsp;normalize)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="inRange(int, int)"><!-- --></A><H3>
inRange</H3>
<PRE>
public void <B>inRange</B>(int&nbsp;lowerBound,
int&nbsp;upperBound)</PRE>
<DL>
<DD>Filter the image for values between a lower and upper bound.
Converts the current image into a binary image with white where pixel
values were within bounds and black elsewhere.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lowerBound</CODE> - <DD><CODE>upperBound</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="gray(Mat)"><!-- --></A><H3>
gray</H3>
<PRE>
public static Mat <B>gray</B>(Mat&nbsp;src)</PRE>
<DL>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>src</CODE> - A Mat of type 8UC4 with channels arranged as BGRA.
<DT><B>Returns:</B><DD>A Mat of type 8UC1 in grayscale.</DL>
</DD>
</DL>
<HR>
<A NAME="gray()"><!-- --></A><H3>
gray</H3>
<PRE>
public void <B>gray</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setROI(int, int, int, int)"><!-- --></A><H3>
setROI</H3>
<PRE>
public boolean <B>setROI</B>(int&nbsp;x,
int&nbsp;y,
int&nbsp;w,
int&nbsp;h)</PRE>
<DL>
<DD>Set a Region of Interest within the image. Subsequent image processing
functions will apply to this ROI rather than the full image.
Full image will display be included in output.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>False if requested ROI exceed the bounds of the working image.
True if ROI was successfully set.</DL>
</DD>
</DL>
<HR>
<A NAME="releaseROI()"><!-- --></A><H3>
releaseROI</H3>
<PRE>
public void <B>releaseROI</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="loadImage(java.lang.String)"><!-- --></A><H3>
loadImage</H3>
<PRE>
public void <B>loadImage</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;imgPath)</PRE>
<DL>
<DD>Load an image from a path.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>imgPath</CODE> - String with the path to the image</DL>
</DD>
</DL>
<HR>
<A NAME="loadImage(processing.core.PImage)"><!-- --></A><H3>
loadImage</H3>
<PRE>
public void <B>loadImage</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="ARGBtoBGRA(Mat, Mat)"><!-- --></A><H3>
ARGBtoBGRA</H3>
<PRE>
public static void <B>ARGBtoBGRA</B>(Mat&nbsp;rgba,
Mat&nbsp;bgra)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSize()"><!-- --></A><H3>
getSize</H3>
<PRE>
public int <B>getSize</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="matToARGBPixels(Mat)"><!-- --></A><H3>
matToARGBPixels</H3>
<PRE>
public int[] <B>matToARGBPixels</B>(Mat&nbsp;m)</PRE>
<DL>
<DD>Convert a 4 channel OpenCV Mat object into
pixels to be shoved into a 4 channel ARGB PImage's
pixel array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - An RGBA Mat we want converted
<DT><B>Returns:</B><DD>An int[] formatted to be the pixels of a PImage</DL>
</DD>
</DL>
<HR>
<A NAME="toPImage(Mat, processing.core.PImage)"><!-- --></A><H3>
toPImage</H3>
<PRE>
public void <B>toPImage</B>(Mat&nbsp;m,
<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img)</PRE>
<DL>
<DD>Convert an OpenCV Mat object into a PImage
to be used in other Processing code.
Copies the Mat's pixel data into the PImage's pixel array.
Iterates over each pixel in the Mat, i.e. expensive.
(Mainly used internally by OpenCV. Inspired by toCv()
from KyleMcDonald's ofxCv.)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - A Mat you want converted<DD><CODE>img</CODE> - The PImage you want the Mat converted into.</DL>
</DD>
</DL>
<HR>
<A NAME="toCv(processing.core.PImage, Mat)"><!-- --></A><H3>
toCv</H3>
<PRE>
public static void <B>toCv</B>(<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A>&nbsp;img,
Mat&nbsp;m)</PRE>
<DL>
<DD>Convert a Processing PImage to an OpenCV Mat.
(Inspired by Kyle McDonald's ofxCv's toOf())
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>img</CODE> - The PImage to convert.<DD><CODE>m</CODE> - The Mat to receive the image data.</DL>
</DD>
</DL>
<HR>
<A NAME="matToPVectors(MatOfPoint)"><!-- --></A><H3>
matToPVectors</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt; <B>matToPVectors</B>(MatOfPoint&nbsp;mat)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="matToPVectors(MatOfPoint2f)"><!-- --></A><H3>
matToPVectors</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A>&lt;<A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PVector.html?is-external=true" title="class or interface in processing.core">PVector</A>&gt; <B>matToPVectors</B>(MatOfPoint2f&nbsp;mat)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="matToS(Mat)"><!-- --></A><H3>
matToS</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>matToS</B>(Mat&nbsp;mat)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getInput()"><!-- --></A><H3>
getInput</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A> <B>getInput</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getOutput()"><!-- --></A><H3>
getOutput</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A> <B>getOutput</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSnapshot()"><!-- --></A><H3>
getSnapshot</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A> <B>getSnapshot</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSnapshot(Mat)"><!-- --></A><H3>
getSnapshot</H3>
<PRE>
public <A HREF="http://processing.googlecode.com/svn/trunk/processing/build/javadoc/core/processing/core/PImage.html?is-external=true" title="class or interface in processing.core">PImage</A> <B>getSnapshot</B>(Mat&nbsp;m)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getR()"><!-- --></A><H3>
getR</H3>
<PRE>
public Mat <B>getR</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getG()"><!-- --></A><H3>
getG</H3>
<PRE>
public Mat <B>getG</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getB()"><!-- --></A><H3>
getB</H3>
<PRE>
public Mat <B>getB</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getA()"><!-- --></A><H3>
getA</H3>
<PRE>
public Mat <B>getA</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getH()"><!-- --></A><H3>
getH</H3>
<PRE>
public Mat <B>getH</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getS()"><!-- --></A><H3>
getS</H3>
<PRE>
public Mat <B>getS</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getV()"><!-- --></A><H3>
getV</H3>
<PRE>
public Mat <B>getV</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getGray()"><!-- --></A><H3>
getGray</H3>
<PRE>
public Mat <B>getGray</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setGray(Mat)"><!-- --></A><H3>
setGray</H3>
<PRE>
public void <B>setGray</B>(Mat&nbsp;m)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setColor(Mat)"><!-- --></A><H3>
setColor</H3>
<PRE>
public void <B>setColor</B>(Mat&nbsp;m)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getColor()"><!-- --></A><H3>
getColor</H3>
<PRE>
public Mat <B>getColor</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getROI()"><!-- --></A><H3>
getROI</H3>
<PRE>
public Mat <B>getROI</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="version()"><!-- --></A><H3>
version</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>version</B>()</PRE>
<DL>
<DD>return the version of the library.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>String</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../gab/opencv/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../gab/opencv/Line.html" title="class in gab.opencv"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?gab/opencv/OpenCV.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="OpenCV.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Processing library opencv_processing by Greg Borenstein. (c) 2013
</BODY>
</HTML>