Skip to content

Commit 69c12d5

Browse files
More formatting and readability changes
1 parent c2a6f53 commit 69c12d5

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

tests/interactive-imagej/shading-test.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1+
# Test shading function
12

2-
### ----------------------
3+
The following code block is a `python` script to be used in a Fiji with the shading branch's .jar already pasted into `./jars` in the Fiji installation
34

4-
The following code block is a `python` script to be used in a Fiji with the shading branch's .jar already pasted into ./jars in the Fiji installation
5-
6-
Recommended is to import an image you wish to test on (Shaded-blobs.png e.g) and then drag this script into Fiji and run it.
7-
If a resulting image pops up (while using flatfield method), everything works finely.
8-
### ----------------------
5+
Recommended is to import an image you wish to test on (`Shaded-blobs.png` e.g) and then drag this script into Fiji and run it, or make a new one and choose language Python, and paste the following block.
96

107
```python
118
from imcflibs.imagej import shading
12-
# import imcflibs.imagej
139
import ij
1410
from ij import IJ
1511

1612
imp = IJ.getImage()
13+
14+
# Any other method in class shading also works
1715
imcf_shading = shading.simple_flatfield_correction(imp)
18-
# Or any other method in class shading
1916
imcf_shading.show()
2017
```
2118

0 commit comments

Comments
 (0)