Search in sources :

Example 1 with PixelizeTransformer

use of org.jwildfire.transform.PixelizeTransformer in project JWildfire by thargor6.

the class RandomFlameGeneratorSampler method createSimplifiedRefImage.

public static SimpleImage createSimplifiedRefImage(SimpleImage pImg) {
    SimpleImage img = pImg.clone();
    PixelizeTransformer pT = new PixelizeTransformer();
    pT.setCentre(false);
    pT.setGridSize(5);
    pT.transformImage(img);
    return img;
}
Also used : PixelizeTransformer(org.jwildfire.transform.PixelizeTransformer) SimpleImage(org.jwildfire.image.SimpleImage)

Aggregations

SimpleImage (org.jwildfire.image.SimpleImage)1 PixelizeTransformer (org.jwildfire.transform.PixelizeTransformer)1