Add support for generating morphometrics files when images present in the same directory
See original GitHub issueCurrently, the recently merged PR (https://github.com/neuropoly/axondeepseg/pull/434), which adds an additional CLI feature to generate morphometrics files of the image using CLI command, is missing an additional functionality where when a user wants to generate morphometrics of all the images present in the same directory, the axondeepseg_morphometrics cli doesn’t work for this use case.
Proposed Solution
For this, instead of just naming the the morphometrics files as axon_morphometrics.xlsx
, I suggest we prepend the image name too with the computed morphometrics files. For instance, if the image name is test_image.png
, the moprhometrics file generated would be test_image_axon_morphometrics.xlsx
Renaming the morphometrics file would add an additional support for the described use case, where all the images are present in the same directory.
I’ll open a PR resolving this issue.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top GitHub Comments
Opened PR #518 for this.
@jcohenadad as discussed earlier we decided to add suffix
_axon_morphometrics.csv
to the morphometrics file. Would you like to change it to_ads_morphometrics.csv
instead?I don’t have a strong opinion about this, both are good with me.