return;\r
}\r
\r
+ private boolean _initialized=false;\r
\r
protected void initInstance(NyARParam i_param,int i_raster_type) throws NyARException\r
{\r
+ //初期化済?\r
+ assert this._initialized==false;\r
+ \r
NyARIntSize scr_size = i_param.getScreenSize();\r
// 解析オブジェクトを作る\r
this._square_detect = new NyARSquareDetector_Rle(i_param.getDistortionFactor(), scr_size);\r
// 2値画像バッファを作る\r
this._bin_raster = new NyARBinRaster(scr_size.w, scr_size.h);\r
this._threshold_detect=new NyARRasterThresholdAnalyzer_SlidePTile(15,i_raster_type,4);\r
+ this._initialized=true;\r
return;\r
}\r
\r
{\r
return;\r
}\r
+ private boolean _initialized=false;\r
protected void initInstance(NyARParam i_param,INyIdMarkerDataEncoder i_encoder,int i_raster_format) throws NyARException\r
{\r
+ //初期化済?\r
+ assert this._initialized==false;\r
+ \r
NyARIntSize scr_size = i_param.getScreenSize();\r
// 解析オブジェクトを作る\r
this._square_detect = new NyARSquareDetector_Rle(i_param.getDistortionFactor(), scr_size);\r
this._data_current=i_encoder.createDataInstance();\r
this._tobin_filter = new NyARRasterFilter_ARToolkitThreshold(110,i_raster_format);\r
this._threshold_detect=new NyARRasterThresholdAnalyzer_SlidePTile(15,i_raster_format,4);\r
+ this._initialized=true;\r
return;\r
\r
}\r