private void convert(BufferedImage image) {
        int imageWidth = image.getWidth();
        int imageHight = image.getHeight();
        int size = imageWidth * imageHight;
        Integer imagePixel[] = new Integer[size];
        int i = 0;
        for (int y = 0; y < imageHight; y++) {
            for (int x = 0; x < imageWidth; x++) {
                imagePixel[i] = image.getRGB(x, y);
                i++;
            }
        }
        System.out.println("Goto Convert Color from RGB -> HSV Color model");
        Integer a;
        Integer r;
        Integer g;
        Integer b;
        this.renderR = new float[size];
        this.renderG = new float[size];
        this.renderB = new float[size];
        int render[] = new int[size];
        int average;
        hsv = new float[3];
        Color newH, newS, newV;
        for (i = 0; i < size; i++) {
            a = (imagePixel[i] >> 24) & 0xff;
            r = (imagePixel[i] >> 16) & 0xff;
            g = (imagePixel[i] >> 8) & 0xff;
            b = imagePixel[i] & 0xff;
            hsv = RGBtoHSV(r, g, b);
//            System.out.println("h : " + this.h);
//            System.out.println("s : " + this.s);
//            System.out.println("v : " + this.v);
//            System.out.println("red : " + r);
//            System.out.println("green : " + g);
//            System.out.println("blue : " + b);
            newH = Color.getHSBColor(hsv[0] * 255, 1.0F, 1.0F);
            renderR[i] = newH.getRGB();
            System.out.println(renderR[i]);
//            System.out.println(hsv[0] * 255);
//            newS = Color.getHSBColor(this.h, this.s, 1.0F);
//            average = (newS.getRed() + newS.getGreen() + newS.getBlue()) / 3;
//            renderG[i] = new Color(average, average, average, a).getRGB();
//
//            newV = Color.getHSBColor(this.h, 1.0F, this.v);
//            average = (newV.getRed() + newV.getGreen() + newV.getBlue()) / 3;
//            renderB[i] = new Color(average, average, average, a).getRGB();
        }
        this.hImage = this.createImage(new MemoryImageSource(imageWidth, imageHight,render , 0, imageWidth));
//        this.sImage = this.createImage(new MemoryImageSource(imageWidth, imageHight, this.renderG, 0, imageWidth));
//        this.vImage = this.createImage(new MemoryImageSource(imageWidth, imageHight, this.renderB, 0, imageWidth));
    }