1 package ij.plugin.filter;
14 boolean showUpdates=
true;
22 public void run(ImageProcessor ip) {
23 Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
24 ip.setInterpolate(
false);
25 for (
int i=0; i <4; i++) {
29 for (
int i=0; i <4; i++) {
33 ip.flipHorizontal(); updateScreen(imp);
34 ip.flipHorizontal(); updateScreen(imp);
35 for (
int i=0; i <6; i++) {
40 for (
int i=0; i <6; i++) {
45 ip.smooth(); updateScreen(imp);
46 ip.findEdges(); updateScreen(imp);
47 ip.invert(); updateScreen(imp);
48 ip.autoThreshold(); updateScreen(imp);
50 ip.medianFilter(); updateScreen(imp);
51 for (
int i=0; i <360; i +=15) {
57 for (
int i=0; i <8; i++) {
59 ip.scale(scale, scale);
63 for (
int i=0; i <12; i++) {
66 ip.scale(scale, scale);