question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for generating morphometrics files when images present in the same directory

See original GitHub issue

Currently, 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
vasudev-sharmacommented, May 25, 2021

Opened PR #518 for this.

i’m 100% in favour of option 2, ie: using image file name and add suffix “_ads_morphometrics.csv”

@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?

0reactions
mariehbourgetcommented, May 25, 2021

Would you like to change it to _ads_morphometrics.csv instead?

only if everyone is ok with that

I don’t have a strong opinion about this, both are good with me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction — AxonDeepSeg 4.1.0 documentation
AxonDeepSeg is an open-source software using deep learning and aiming at automatically segmenting axons and myelin sheaths from microscopy images.
Read more >
Image Processing with Python - Data Carpentry
BMP files store raster graphics images as long sequences of binary-encoded numbers that specify the colour of each pixel in the image. Since...
Read more >
agporto/ml-morph: Machine-learning-based morphometrics
ML‐morph: A fast, accurate and general approach for automated detection and landmarking of biological structures in images. Methods in Ecology and Evolution, 11 ......
Read more >
Integrated Morphometrics Package (IMP) Suite
Software name Description Download CoordGen 8 MyAppInstaller_CoordGen8... CVAGen 8 Canonical Variates Analysis of landmark data CVAGen8_Win (852 downlo... Simple3D8 Simple3D8_Win (396 downlo...
Read more >
MorphoLibJ - ImageJ Wiki
Interactive Geodesic Reconstruction 3D: compute the geodesic reconstruction by erosion or dilation on using the current 3D image as mask and creating the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found