org.apache.hadoop.chukwa.hicc
Class ImageSlicer

java.lang.Object
  extended by org.apache.hadoop.chukwa.hicc.ImageSlicer

public class ImageSlicer
extends Object


Constructor Summary
ImageSlicer()
           
 
Method Summary
 BufferedImage prepare(String filename)
           
 int process(String filename)
           
 BufferedImage subdivide(BufferedImage image, int level, org.apache.hadoop.chukwa.hicc.XYData quadrant, org.apache.hadoop.chukwa.hicc.XYData size, String prefix)
           
 BufferedImage tile(BufferedImage image, int level, org.apache.hadoop.chukwa.hicc.XYData quadrant, org.apache.hadoop.chukwa.hicc.XYData size, boolean efficient)
           
 void write(BufferedImage image, int level, org.apache.hadoop.chukwa.hicc.XYData quadrant, String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSlicer

public ImageSlicer()
Method Detail

prepare

public BufferedImage prepare(String filename)

tile

public BufferedImage tile(BufferedImage image,
                          int level,
                          org.apache.hadoop.chukwa.hicc.XYData quadrant,
                          org.apache.hadoop.chukwa.hicc.XYData size,
                          boolean efficient)
                   throws Exception
Throws:
Exception

subdivide

public BufferedImage subdivide(BufferedImage image,
                               int level,
                               org.apache.hadoop.chukwa.hicc.XYData quadrant,
                               org.apache.hadoop.chukwa.hicc.XYData size,
                               String prefix)

write

public void write(BufferedImage image,
                  int level,
                  org.apache.hadoop.chukwa.hicc.XYData quadrant,
                  String prefix)

process

public int process(String filename)


Copyright © ${year} The Apache Software Foundation