|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.intamap.generators.ImageGenerator
public class ImageGenerator
Generates image(s) from an interpolate response representing each of the sets of predicted values. The colour scheme of the images can be modified.
| Constructor Summary | |
|---|---|
ImageGenerator()
Creates a new image generator with the default colour. |
|
ImageGenerator(Colour colour)
Creates a new image generator with the given colour. |
|
| Method Summary | |
|---|---|
BufferedImage |
generateImage(InterpolateResponse response,
org.uncertml.statistics.Statistic statistic)
Generates an image for a single set of predicted values using min/max values derived from the range of the set. |
BufferedImage |
generateImage(InterpolateResponse response,
org.uncertml.statistics.Statistic statistic,
double min,
double max)
Generates an image for a single set of predicted values using the given min/max values. |
Map<org.uncertml.statistics.Statistic,BufferedImage> |
generateImages(InterpolateResponse response)
Generates images for each set of predicted values using min/max values derived from the range of each set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageGenerator()
public ImageGenerator(Colour colour)
colour - the colour| Method Detail |
|---|
public BufferedImage generateImage(InterpolateResponse response,
org.uncertml.statistics.Statistic statistic)
throws GeneratorException
response - the interpolate response to generate the image fromstatistic - the predicted values statistic to generate the image for
GeneratorException - if the domain in the response is not a grid or does not contain any statistics
public BufferedImage generateImage(InterpolateResponse response,
org.uncertml.statistics.Statistic statistic,
double min,
double max)
throws GeneratorException
response - the interpolate response to generate the image fromstatistic - the predicted values statistic to generate the image formin - the minimum valuemax - the maximum value
GeneratorException - if the domain in the response is not a grid or does not contain any statistics
public Map<org.uncertml.statistics.Statistic,BufferedImage> generateImages(InterpolateResponse response)
throws GeneratorException
response - the interpolate response to generate images from
GeneratorException - if the domain in the response is not a grid or does not contain any statistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||