public void initInstance(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._do_filter_impl=new IdoFilterImpl_GRAY_8(); break; default: throw new NyARException(); } }
public NyARRasterFilter_GaussianSmooth(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._do_filter_impl=new IdoFilterImpl_GRAY_8(); break; default: throw new NyARException(); } }
protected NyARRasterFilter_CustomToneTable(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._dofilterimpl=new IdoFilterImpl_INT1D_GRAY_8(); break; default: throw new NyARException(); } this._dofilterimpl._table_ref=this.table; }
public NyARRasterFilter_Roberts(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._do_filter_impl = new IdoFilterImpl_GRAY_8(); break; default: throw new NyARException(); } }
public void initInstance(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._do_filter_impl = new IdoFilterImpl_GRAY_8(); break; default: throw new NyARException(); } }
public NyARRasterFilter_Rgb2Hsv(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.BYTE1D_B8G8R8_24: this._dofilterimpl = new IdoFilterImpl_BYTE1D_B8G8R8_24(); break; case NyARBufferType.BYTE1D_R8G8B8_24: default: throw new NyARException(); } }
public NyARRasterFilter_Rgb2Hsv(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.BYTE1D_B8G8R8_24: this._dofilterimpl = new IdoFilterImpl_BYTE1D_B8G8R8_24(); break; case NyARBufferType.BYTE1D_R8G8B8_24: default: throw new NyARException(); } }
protected NyARRasterFilter_CustomToneTable(int i_raster_type) { switch (i_raster_type) { case NyARBufferType.INT1D_GRAY_8: this._dofilterimpl = new IdoFilterImpl_INT1D_GRAY_8(); break; default: throw new NyARException(); } this._dofilterimpl._table_ref = this.table; }
/** * このクラスの初期化シーケンスです。コンストラクタから呼び出します。 * @param i_size * @param i_buf_type * @param i_is_alloc * @return */ protected bool initInstance(NyARIntSize i_size, int i_buf_type, bool i_is_alloc) { switch (i_buf_type) { case NyARBufferType.INT1D_GRAY_8: this._impl = new IdoFilterImpl_INT1D_GRAY_8(); this._buf = i_is_alloc ? new int[i_size.w * i_size.h] : null; break; default: return(false); } this._is_attached_buffer = i_is_alloc; return(true); }
protected bool initInstance(int i_in_raster_type,int i_out_raster_type) { switch(i_out_raster_type){ case NyARBufferType.INT1D_GRAY_8: switch (i_in_raster_type) { case NyARBufferType.BYTE1D_B8G8R8_24: this._dofilterimpl=new IdoFilterImpl_BYTE1D_B8G8R8_24(); break; case NyARBufferType.BYTE1D_R8G8B8_24: default: return false; } break; default: return false; } return true; }
protected bool initInstance(int i_in_raster_type, int i_out_raster_type) { switch (i_out_raster_type) { case NyARBufferType.INT1D_GRAY_8: switch (i_in_raster_type) { case NyARBufferType.BYTE1D_B8G8R8_24: this._dofilterimpl = new IdoFilterImpl_BYTE1D_B8G8R8_24(); break; case NyARBufferType.BYTE1D_R8G8B8_24: default: return(false); } break; default: return(false); } return(true); }