Examples of IHSColorQuantizer


Examples of JDescriptors.fr.lip6.color.model.IHSColorQuantizer

    HoneycombDetector detector = new HoneycombDetector(12, 12);
    c.setDetector(detector);
   
    int x = 10, y = 6, z = 4;
//    RGBColorQuantizer q =new RGBColorQuantizer(x, y, z);
    IHSColorQuantizer q = new IHSColorQuantizer(x, y, z);
    c.setQuantizer(q);
   
    c.setNormalize(true);
   
    ArrayList<ColorVQFloatDescriptor> d = c.createDescriptors(args[0]);
View Full Code Here

Examples of JDescriptors.fr.lip6.color.model.IHSColorQuantizer

    //System.out.println(" s = " + s + " ; r = " + s + " ; cut = " + cut);
   
    //Descriptor creator
    HoneycombDetector detector = new HoneycombDetector(s, r);
    c.setDetector(detector);
    IHSColorQuantizer q = new IHSColorQuantizer(I, H, S);
    c.setQuantizer(q);
    c.setNormalize(false);
   
    File src = new File(srcDir);
    if(!src.exists() || !src.isDirectory())
View Full Code Here

Examples of JDescriptors.fr.lip6.color.model.IHSColorQuantizer

    HoneycombDetector detector = new HoneycombDetector(12, 12);
    c.setDetector(detector);
   
    int x = 8, y = 6, z = 3;
//    RGBColorQuantizer q = new RGBColorQuantizer(x, y, z);
    IHSColorQuantizer q = new IHSColorQuantizer(x, y, z);
    c.setQuantizer(q);
   
    c.setNormalize(false);
   
    ArrayList<ColorVQFloatDescriptor> d = c.createDescriptors(args[0]);
View Full Code Here

Examples of JDescriptors.fr.lip6.color.model.IHSColorQuantizer

    ColorVQDescriptorCreator c = ColorVQDescriptorCreator.getInstance();
   
    //Descriptor creator
    HoneycombDetector detector = new HoneycombDetector(s, r);
    c.setDetector(detector);
    IHSColorQuantizer q = new IHSColorQuantizer(I, H, S);
    c.setQuantizer(q);
    c.setNormalize(false);
    try{
    desc.addAll((ArrayList<Descriptor>) c.createDescriptors(img, maxHeight, onlyTop))
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.