\r
// 輪郭バッファは頂点変換をするので、輪郭バッファの2倍取る。\r
this._max_coord = number_of_coord;\r
- this._xcoord = new int[number_of_coord * 2];\r
- this._ycoord = new int[number_of_coord * 2];\r
+ this._xcoord = new int[number_of_coord];\r
+ this._ycoord = new int[number_of_coord];\r
return;\r
}\r
\r
// 輪郭が大きすぎる。\r
continue;\r
}\r
- //輪郭分析用に正規化する。\r
- final int vertex1 = SquareContourDetector.normalizeCoord(xcoord, ycoord, coord_num);\r
-\r
//ここから先が輪郭分析\r
NyARSquare square_ptr = o_square_stack.prePush();\r
- if(!this._sqconvertor.coordToSquare(xcoord,ycoord,vertex1,coord_num,label_area,square_ptr)){\r
+ if(!this._sqconvertor.coordToSquare(xcoord,ycoord,coord_num,label_area,square_ptr)){\r
o_square_stack.pop();// 頂点の取得が出来なかったので破棄\r
continue; \r
}\r