Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[WIP] Adding @eldad-a's ridge directed ring detector #4847
Conversation
an implementation of the algorithm in Sci. Rep. 5, 13584; doi: 10.1038/srep13584 (2015). EA On branch ridge-directed-ring-detector Changes to be committed: new file: ridge-directed-ring-detector/demo.ipynb new file: ridge-directed-ring-detector/ridge_directed_ring_detector.pyx
1. Correct outer image frame error (`IndexError`) 2. Commented out `MaxRads`, a variable not being used in the code so far 3. Introduced a `rate` variable for future modification (growth rate of `ksigma` with the radius `R`)
On branch ridge-directed-ring-detector Your branch is up to date with 'origin/ridge-directed-ring-detector'. Changes to be committed: modified: ridge-directed-ring-detector/demo.ipynb new file: ridge-directed-ring-detector/unprocessed_fig_46.png
Hello @alexdesiqueira! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-07-26 19:33:12 UTC |
The following is based on the discussion I had with @clementkng on Slack during the SciPy 2020 sprint, and what I think we need to pursue for this PR. What we have:
I'd like to: |
Hello @alexdesiqueira Many thanks for moving forward with this PR, and sorry for my losing track of the process. I should have a draft which is If that's helpful, please let me know where to push it to. Thanking you, |
Hey @eldad-a ,
That would be great, thank you! I will add you as a contributor, please feel free to push it here when you can. |
|
||
from skimage.transform import ring_detector | ||
from skimage import data | ||
from scipy import ndimage |
mkcor
Jul 17, 2020
Contributor
import ndimage
before skimage
import ndimage
before skimage
using 2d microscope imaging. | ||
Here's a quick description of the parameters. The explanations refer to the | ||
terms as introduced in [Afik 2015](https://www.nature.com/articles/srep13584) |
mkcor
Jul 17, 2020
Contributor
Looks like you're using Markdown syntax. In my experience, it should be reStructuredText.
Looks like you're using Markdown syntax. In my experience, it should be reStructuredText.
emmanuelle
Jul 19, 2020
Member
indeed :-)
indeed :-)
emmanuelle
Jul 19, 2020
Member
you can take a look at existing gallery scripts for examples of rst syntax.
you can take a look at existing gallery scripts for examples of rst syntax.
alexdesiqueira
Jul 19, 2020
Author
Member
Sorry about that @mkcor @emmanuelle, but this is too raw for a review yet. 😄 I asked @clementkng to move the code from a notebook to this file, starting the documentation process. We'll take care of it 🙂
Sorry about that @mkcor @emmanuelle, but this is too raw for a review yet.
@@ -0,0 +1,30 @@ | |||
from ._ring_detector import RidgeHoughTransform | |||
|
|||
import matplotlib.pyplot as plt |
Co-authored-by: Marianne Corvellec <[email protected]>
Co-authored-by: Marianne Corvellec <[email protected]>
…kit-image into ring_detector
Thank you @mkcor! This is still very raw, not ready for a review, though. |
@alexdesiqueira sure, no worries! Your PR title says 'WIP' indeed :) |
Thank you all for your patience with me!
Noticed that I've been exploring the outcome on the use-case for which this code was developed originally (an example was provided in EA NOTES
EA TO-Consider
|
Hey @eldad-a,
Thank you very much, we appreciate your help!
I'd ask your help to determine that technical features, Eldad. I still don't understand the algorithm that much, so please feel free to check what you consider doable on that subject — I would take a time to understand
I'd like to structure the example on the lines of the examples we have already — hence
I like this! I'd need to understand the other points better, though; what would be their implications, you know... I need to read your paper again |
Hi @alexdesiqueira :-)
It is my pleasure;
Sure, I will.
Which data image to use... Why not both? My understanding of licensing goes a very short distance (well, maybe none...).
If you have questions, please let me know; may be easier than going over the paper. Below there's a TODO list I created for my future reference; some are added features, so I guess aren't a must. EA TODO:
In case
|
Description
Continues #1706, by @eldad-a:
Checklist
./doc/examples
(new features only)./benchmarks
, if your changes aren't covered by anexisting benchmark
For reviewers
later.
__init__.py
.doc/release/release_dev.rst
.