Esempio n. 1
0
 // @Override
 public Image process(Image imageIn) {
   Image clone = imageIn.clone();
   imageIn = gradient.process(imageIn);
   ImageBlender blender = new ImageBlender();
   blender.Mode = BlendMode.Multiply;
   return saturationFx.process(blender.Blend(clone, imageIn));
 }
Esempio n. 2
0
 // @Override
 public Image process(Image imageIn) {
   Image clone = imageIn.clone();
   imageIn = gradientFx.process(imageIn);
   ImageBlender blender = new ImageBlender();
   blender.Mode = BlendMode.Subractive;
   return saturationFx.process(blender.Blend(clone, imageIn));
   // return imageIn;// saturationFx.process(imageIn);
 }
 // @Override
 public Image process(Image imageIn) {
   ParamEdgeDetectFilter pde = new ParamEdgeDetectFilter();
   pde.K00 = 1;
   pde.K01 = 2;
   pde.K02 = 1;
   pde.Threshold = 0.25f;
   pde.DoGrayConversion = false;
   pde.DoInversion = false;
   ImageBlender ib = new ImageBlender();
   ib.Mode = (int) ImageBlender.BlendMode.LinearLight;
   ib.Mixture = 2.5f;
   return ib.Blend(imageIn.clone(), pde.process(imageIn));
 }