OSDN Git Service

[backup]NyARToolkit
[nyartoolkit-and/nyartoolkit-and.git] / trunk / sample / sandbox / jp / nyatla / nyartoolkit / core / rasterfilter / NyARRasterFilter_Edge.java
index d3794eb..ed04d31 100644 (file)
@@ -42,8 +42,8 @@ public class NyARRasterFilter_Edge implements INyARRasterFilter
 {\r
        public void doFilter(INyARRaster i_input, INyARRaster i_output) throws NyARException\r
        {\r
-               assert (i_input.isEqualBufferType(INyARRaster.BUFFERFORMAT_INT1D_GRAY_8));\r
-               assert (i_output.isEqualBufferType(INyARRaster.BUFFERFORMAT_INT1D_GRAY_8));\r
+               assert (i_input.isEqualBufferType(NyARBufferType.INT1D_GRAY_8));\r
+               assert (i_output.isEqualBufferType(NyARBufferType.INT1D_GRAY_8));\r
                assert (i_input.getSize().isEqualSize(i_output.getSize()) == true);\r
 \r
                int[] out_buf = (int[]) i_output.getBuffer();\r