OSDN Git Service

[tag]NyARToolkit/2.5.1
[nyartoolkit-and/nyartoolkit-and.git] / tags / 2.5.1 / src / jp / nyatla / nyartoolkit / core / pca2d / INyARPca2d.java
diff --git a/tags/2.5.1/src/jp/nyatla/nyartoolkit/core/pca2d/INyARPca2d.java b/tags/2.5.1/src/jp/nyatla/nyartoolkit/core/pca2d/INyARPca2d.java
new file mode 100644 (file)
index 0000000..5f7b113
--- /dev/null
@@ -0,0 +1,65 @@
+/* \r
+ * PROJECT: NyARToolkit\r
+ * --------------------------------------------------------------------------------\r
+ * This work is based on the original ARToolKit developed by\r
+ *   Hirokazu Kato\r
+ *   Mark Billinghurst\r
+ *   HITLab, University of Washington, Seattle\r
+ * http://www.hitl.washington.edu/artoolkit/\r
+ *\r
+ * The NyARToolkit is Java edition ARToolKit class library.\r
+ * Copyright (C)2008-2009 Ryo Iizuka\r
+ *\r
+ * This program is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ * \r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
+ * \r
+ * For further information please contact.\r
+ *     http://nyatla.jp/nyatoolkit/\r
+ *     <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
+ * \r
+ */\r
+package jp.nyatla.nyartoolkit.core.pca2d;\r
+\r
+import jp.nyatla.nyartoolkit.NyARException;\r
+import jp.nyatla.nyartoolkit.core.types.NyARDoublePoint2d;\r
+import jp.nyatla.nyartoolkit.core.types.matrix.NyARDoubleMatrix22;\r
+\r
+public interface INyARPca2d\r
+{\r
+       /**\r
+        * 通常のPCA\r
+        * @param i_v1\r
+        * @param i_v2\r
+        * @param i_start\r
+        * @param i_number_of_point\r
+        * @param o_evec\r
+        * 要素2の変数を指定してください。\r
+        * @param o_ev\r
+        * 要素2の変数を指定してください。\r
+        * @param o_mean\r
+        * @throws NyARException\r
+        */\r
+       public void pca(double[] i_v1,double[] i_v2,int i_number_of_point,NyARDoubleMatrix22 o_evec, double[] o_ev,double[] o_mean) throws NyARException;\r
+       /**\r
+        * カメラ歪み補正つきのPCA\r
+        * @param i_x\r
+        * @param i_y\r
+        * @param i_start\r
+        * @param i_number_of_point\r
+        * @param i_factor\r
+        * @param o_evec\r
+        * @param o_mean\r
+        * @throws NyARException\r
+        */\r
+//     public void pcaWithDistortionFactor(int[] i_x,int[] i_y,int i_start,int i_number_of_point,INyARCameraDistortionFactor i_factor,NyARDoubleMatrix22 o_evec,NyARDoublePoint2d o_ev, NyARDoublePoint2d o_mean) throws NyARException;\r
+}\r