Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Commit edb1181

Browse files
authored
Merge pull request #15 from tinalasisi/updates
Updates to section function
2 parents 0587ce1 + 961e2c7 commit edb1181

4 files changed

Lines changed: 244 additions & 146 deletions

File tree

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,24 @@ To run the demo, you will input something like:
8080
### Curvature
8181
To calculate curvature from grayscale TIFF images of hair fibers, the flag `--curvature` is used with the following flags in addition to input and output directories:
8282
```
83-
--resolution_mm Integer. Number of pixels per mm for curvature analysis.
83+
--resolution_mm Integer. Number of pixels per mm for
84+
curvature analysis.
8485
Default is 132.
85-
--window_size [ ...] Float or integer or None. Desired size for window of measurement
86+
--window_size [ ...] Float or integer or None. Desired size for
87+
window of measurement
8688
for curvature analysis in pixels or mm (given
8789
the flag --window_unit). If nothing is entered, the default
8890
is None and the entire hair will be used to for the curve fitting."
89-
--window_unit {px,mm} String. Unit of measurement for window of measurement for curvature
91+
--window_unit {px,mm} String. Unit of measurement for window of
92+
measurement for curvature
9093
analysis. Can be 'px' (pixels) or 'mm'. Default is 'px'.
91-
-s, --save_image Default is False. Will save intermediate curvature processing images if
92-
--save_image flag is included.
93-
-W, --within_element Boolean. Default is False. Will create an additional directory with
94+
-W, --within_element Boolean. Default is False. Will create
95+
an additional directory with
9496
spreadsheets of raw curvature measurements for each hair if the
9597
--within_element flag is included.
98+
-s, --save_image Default is False. Will save intermediate
99+
curvature/section processing images if
100+
--save_image flag is included.
96101
97102
```
98103

@@ -112,7 +117,7 @@ To calculate cross-sectional properties from grayscale TIFF images of hair fiber
112117

113118
An example command would be:
114119
```
115-
fibermorph --section --input_directory /Users/<UserName>/<ImageFolderPath> --output_directory /Users/<UserName>/<ExistingPath>/ --minsize 30 --maxsize 180 --resolution_mu 4.25 --jobs 2
120+
fibermorph --section --input_directory /Users/<UserName>/<ImageFolderPath> --output_directory /Users/<UserName>/<ExistingPath>/ --minsize 20 --maxsize 150 --resolution_mu 4.25 --jobs 2
116121
```
117122

118123

fibermorph/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.2"
1+
__version__ = "0.2.3"

0 commit comments

Comments
 (0)