public void ImageDWT_Color(int _numCoefficient)
    {
        // for color R
        double[][] _r = ImageSetDWT_Byte(_numCoefficient, 0, 0);
        // for color G
        double[][] _g = ImageSetDWT_Byte(_numCoefficient, this.height, 0);
        // for color B
        double[][] _b = ImageSetDWT_Byte(_numCoefficient, this.height*2, 0);

        for(int i=0;i< height;i++){
            for(int j=0;j<width;j++)
            {
                int pix = (((int)(_r[i][j]) & 0xff) << 16) |
                        (((int)_g[i][j] & 0xff) << 8) | ((int)_b[i][j] & 0xff);
                this.img.setRGB(j,i, pix);
            }
        }
    }