Skip to content

Commit 38b795d

Browse files
author
WeisongZhao
committed
v0.1.0, add example
1 parent 753e12c commit 38b795d

11 files changed

Lines changed: 60 additions & 50 deletions

File tree

Adaptive_Median_Filter-0.1.0.jar

5.99 KB
Binary file not shown.

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
##Adaptive Median fiter
1+
## Adaptive Median fiter - imageJ plugin
2+
## Motivation
3+
The pulse pixels exsiting in images because of various reasons, and it happens offenly in confocal stype microscopes.
4+
Also, the uncleaned slides can lead to this problem.
5+
This plugin will handle this type of problems easily withou any blurring or re-doing experiments.
6+
## Installation
7+
###1. Add the `Adaptive_Median_Filter-0.1.0.jar` to your imageJ plugin folder as usual and it will show up in `process -> Adaptive median filter`:
8+
<p align='center'>
9+
<img src='img/1.png' width='200'/>
10+
</p>
11+
12+
###2. UI
13+
<p align='center'>
14+
<img src='img/2.png' width='200'/>
15+
</p>
16+
17+
#### The window and weight to filter the pulse pixels. Radius should be `3 or 5`. Threshold should be `1~10`.
18+
## Example
19+
<p align='center'>
20+
<img src='img/3.png' width='600'/>
21+
</p>
22+
23+
#### As the images visualized with imageJ is processed already with histogram equalization, it seems nothing serious to us(red arrows). However, as long as we want to futher process the data, it will influence much to us.</br>
24+
### **The saved data:**
25+
<p align='center'>
26+
<img src='img/5.png' width='600'/>
27+
</p>
28+
<p align='center'>
29+
<img src='img/6.png' width='900'/>
30+
</p>
31+
#Filtered Result:
32+
<p align='center'>
33+
<img src='img/4.png' width='600'/>
34+
</p>
35+
##No pulse and no time bar.

img/1.png

18.2 KB
Loading

img/2.png

4.28 KB
Loading

img/3.png

281 KB
Loading

img/4.png

283 KB
Loading

img/5.png

162 KB
Loading

img/6.png

314 KB
Loading

pom.xml

Lines changed: 23 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@
1212
<relativePath />
1313
</parent>
1414

15-
<groupId>com.mycompany</groupId>
16-
<artifactId>Process_Pixels</artifactId>
17-
<version>0.1.0-SNAPSHOT</version>
15+
<groupId>com.HIT.weisongzhao</groupId>
16+
<artifactId>Adaptive_Median_Filter</artifactId>
17+
<version>0.1.0</version>
1818

19-
<name>Process Pixels</name>
20-
<description>A Maven project implementing an ImageJ 1.x plugin.</description>
21-
<url>http://mycompany.com/imagej/process-pixels/</url>
22-
<inceptionYear>2012</inceptionYear>
19+
<name>Adaptive Median Filter</name>
20+
<url>https://github.com/WeisongZhao/AdaptiveMedian.imagej</url>
21+
<inceptionYear>2019</inceptionYear>
2322
<organization>
24-
<name>My Company</name>
25-
<url>http://mycompany.com/</url>
23+
<name>Harbin Institute of Technology</name>
24+
<url>http://en.hit.edu.cn/</url>
2625
</organization>
2726
<licenses>
2827
<license>
@@ -33,9 +32,9 @@
3332

3433
<developers>
3534
<developer>
36-
<id>ctrueden</id>
37-
<name>Curtis Rueden</name>
38-
<url>http://imagej.net/User:Rueden</url>
35+
<id>weisongzhao</id>
36+
<name>Weisong Zhao</name>
37+
<url>https://weisongzhao.github.io/</url>
3938
<roles>
4039
<role>lead</role>
4140
<role>developer</role>
@@ -48,36 +47,12 @@
4847
</developers>
4948
<contributors>
5049
<contributor>
51-
<name>Johannes Schindelin</name>
52-
<url>http://imagej.net/User:Schindelin</url>
53-
<roles><role>founder</role></roles>
54-
<properties><id>dscho</id></properties>
55-
</contributor>
56-
<contributor>
57-
<name>Olivier Burri</name>
58-
<url>http://imagej.net/User:Oburri</url>
59-
<properties><id>lacan</id></properties>
60-
</contributor>
61-
<contributor>
62-
<name>Mark Hiner</name>
63-
<url>http://imagej.net/User:Hinerm</url>
64-
<properties><id>hinerm</id></properties>
65-
</contributor>
66-
<contributor>
67-
<name>Jules Maselbas</name>
68-
</contributor>
69-
<contributor>
70-
<name>Kota Miura</name>
71-
<url>http://imagej.net/User:Miura</url>
72-
<properties><id>cmci</id></properties>
73-
</contributor>
74-
<contributor>
75-
<name>Yili Zhao</name>
76-
<url>http://imagej.net/User:Panovr</url>
77-
<properties><id>panovr</id></properties>
50+
<name>Weisong Zhao</name>
51+
<url>https://weisongzhao.github.io/</url>
52+
<roles><role>developer</role></roles>
53+
<properties><id>weisongzhao</id></properties>
7854
</contributor>
7955
</contributors>
80-
8156
<mailingLists>
8257
<mailingList>
8358
<name>Image.sc Forum</name>
@@ -86,24 +61,24 @@
8661
</mailingLists>
8762

8863
<scm>
89-
<connection>scm:git:git://github.com/imagej/example-legacy-plugin</connection>
90-
<developerConnection>scm:git:git@github.com:imagej/example-legacy-plugin</developerConnection>
64+
<connection>scm:git:git://github.com/WeisongZhao/AdaptiveMedian.imagej</connection>
65+
<developerConnection>scm:git:git@github.com:WeisongZhao/AdaptiveMedian.imagej</developerConnection>
9166
<tag>HEAD</tag>
92-
<url>https://github.com/imagej/example-legacy-plugin</url>
67+
<url>https://github.com/WeisongZhao/AdaptiveMedian.imagej</url>
9368
</scm>
9469
<issueManagement>
9570
<system>GitHub Issues</system>
96-
<url>https://github.com/imagej/example-legacy-plugin/issues</url>
71+
<url>https://github.com/WeisongZhao/AdaptiveMedian.imagej/issues</url>
9772
</issueManagement>
9873
<ciManagement>
9974
<system>None</system>
10075
</ciManagement>
10176

10277
<properties>
103-
<package-name>com.mycompany.imagej</package-name>
104-
<main-class>com.mycompany.imagej.Process_Pixels</main-class>
10578
<license.licenseName>bsd_2</license.licenseName>
106-
<license.copyrightOwners>My Company, Inc.</license.copyrightOwners>
79+
<package-name>com.HIT.weisongzhao</package-name>
80+
<main-class>com.HIT.weisongzhao.AdaptiveMedian</main-class>
81+
<license.copyrightOwners>Weisong Zhao</license.copyrightOwners>
10782
</properties>
10883

10984
<dependencies>
@@ -112,4 +87,5 @@
11287
<artifactId>ij</artifactId>
11388
</dependency>
11489
</dependencies>
90+
<description>An adaptive median filter plugin. It filters the pulse intensity with no bluring images. and removes time bar easily.</description>
11591
</project>

src/main/java/com/mycompany/imagej/AdaptiveMedian.java renamed to src/main/java/com/HIT/weisongzhao/AdaptiveMedian.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.mycompany.imagej;
1+
package com.HIT.weisongzhao;
22
import ij.*;
33

44
import ij.gui.GenericDialog;

0 commit comments

Comments
 (0)