Fixed some bugs and framework for the image filters
This commit is contained in:
parent
9f839fd803
commit
1bde5a6977
13 changed files with 342 additions and 266 deletions
|
|
@ -3,7 +3,6 @@ package zutil.test;
|
|||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
|
||||
import zutil.FileFinder;
|
||||
import zutil.network.http.HttpPage;
|
||||
import zutil.network.http.HttpPrintStream;
|
||||
import zutil.network.http.HttpServer;
|
||||
|
|
|
|||
|
|
@ -61,13 +61,13 @@ public class ImageProcessorTest implements ProgressListener{
|
|||
|
||||
BufferedImage procImg = null;
|
||||
try {
|
||||
//ImageFilterProcessor processor = new SpotLightFilter(img,100,100,100);
|
||||
//ImageFilterProcessor processor = new ContrastBrightnessFilter(img);
|
||||
//ImageFilterProcessor processor = new BlurFilter(img, 10);
|
||||
//ImageFilterProcessor processor = new ColorIntensityFilter(img, true);
|
||||
ImageFilterProcessor processor = new BlurFilter(img, 100);
|
||||
//ImageFilterProcessor processor = new DitheringFilter(img);
|
||||
//ImageFilterProcessor processor = new ResizeImage(img,100,100);
|
||||
//ImageFilterProcessor processor = new ContrastBrightnessFilter(img);
|
||||
ImageFilterProcessor processor = new DitheringFilter(img);
|
||||
//ImageFilterProcessor processor = new MedianFilter(img);
|
||||
//ImageFilterProcessor processor = new ResizeImage(img,100,100);
|
||||
//ImageFilterProcessor processor = new SpotLightFilter(img,100,100,100);
|
||||
//ImageFilterProcessor processor = new FaceDetectionFilter(img);
|
||||
|
||||
processor.setProgressListener(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue