tiatoolbox icon indicating copy to clipboard operation
tiatoolbox copied to clipboard

[skip ci] DOC: DFBR Jupyter Notebook

Open ruqayya opened this issue 2 years ago • 16 comments

Notebook to show how to perform WSI registration using the DFBR method, followed by the BSpline approach.

Readthedocs link: https://tia-toolbox.readthedocs.io/en/dfbr_notebook/_notebooks/jnb/10-wsi_registration.html

ruqayya avatar Oct 06 '22 12:10 ruqayya

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Please rename the notebook to 10-wsi-registration.ipynb to make it consistent with current format. We will update it later when we restructure the examples.

shaneahmed avatar Oct 06 '22 12:10 shaneahmed

Please also upload with results as in other example notebooks.

shaneahmed avatar Oct 06 '22 12:10 shaneahmed

Codecov Report

Merging #485 (2fa22a9) into develop (00b6e9c) will increase coverage by 0.00%. The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #485   +/-   ##
========================================
  Coverage    99.65%   99.65%           
========================================
  Files           61       61           
  Lines         6044     6064   +20     
  Branches       990      995    +5     
========================================
+ Hits          6023     6043   +20     
  Misses           9        9           
  Partials        12       12           
Impacted Files Coverage Δ
tiatoolbox/wsicore/wsireader.py 98.06% <0.00%> (+0.05%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 06 '22 12:10 codecov[bot]

I've just added one comment on NBReview. There is a cell that looks like it should be a heading to me.

John-P avatar Oct 11 '22 12:10 John-P

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-12T09:29:22Z ----------------------------------------------------------------

Please add these two lines

mpl.rcParams["figure.dpi"] = 300  # for high resolution figure in notebook
mpl.rcParams["figure.facecolor"] = "white"  # To make sure text is visible in dark mode


View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-13T09:22:19Z ----------------------------------------------------------------

This cell needs to be removed from documentation as well.


ruqayya commented on 2022-10-16T21:12:44Z ----------------------------------------------------------------

Done.

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-13T09:23:32Z ----------------------------------------------------------------

Do you need to print the transformation matrix?


ruqayya commented on 2022-10-16T21:06:20Z ----------------------------------------------------------------

Removed it.

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-13T09:23:33Z ----------------------------------------------------------------

output of this cell can be hidden


ruqayya commented on 2022-10-16T21:08:03Z ----------------------------------------------------------------

You mean hide it from documentation?

shaneahmed commented on 2022-10-16T22:50:37Z ----------------------------------------------------------------

yes

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-13T11:38:44Z ----------------------------------------------------------------

Line #2.    !pip install git+https://github.com/TissueImageAnalytics/tiatoolbox.git | tail --line 1

Please use @develop

!pip install git+https://github.com/TissueImageAnalytics/tiatoolbox.git@develop | tail --line 1


shaneahmed commented on 2022-10-18T12:54:24Z ----------------------------------------------------------------

pip install git+https://github.com/TissueImageAnalytics/tiatoolbox.git@dev-non-rigid-registeration

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-13T11:39:29Z ----------------------------------------------------------------

Line #16.    mpl.rcParams["figure.dpi"] = 160  # for high resolution figure in notebook

why not 300?


Please can you also update https://github.com/TissueImageAnalytics/tiatoolbox/blob/develop/examples/README.md

shaneahmed avatar Oct 14 '22 10:10 shaneahmed

Removed it.


View entire conversation on ReviewNB

ruqayya avatar Oct 16 '22 21:10 ruqayya

You mean hide it from documentation?


View entire conversation on ReviewNB

ruqayya avatar Oct 16 '22 21:10 ruqayya

Done.


View entire conversation on ReviewNB

ruqayya avatar Oct 16 '22 21:10 ruqayya

yes


View entire conversation on ReviewNB

shaneahmed avatar Oct 16 '22 22:10 shaneahmed

Please can you also update https://github.com/TissueImageAnalytics/tiatoolbox/blob/develop/examples/README.md

Added here: https://github.com/TissueImageAnalytics/tiatoolbox/blob/DFBR_notebook/examples/README.md#10--image-alignment-10-wsi_registration

ruqayya avatar Oct 18 '22 10:10 ruqayya

pip install git+https://github.com/TissueImageAnalytics/tiatoolbox.git@dev-non-rigid-registeration


View entire conversation on ReviewNB

shaneahmed avatar Oct 18 '22 12:10 shaneahmed

View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-18T12:59:25Z ----------------------------------------------------------------

delete


View / edit / reply to this conversation on ReviewNB

shaneahmed commented on 2022-10-18T12:59:26Z ----------------------------------------------------------------

delete


@ruqayya I am merging this PR to create a link on master and to make a release. I will reopen this PR so you can address comments from David.

shaneahmed avatar Oct 20 '22 15:10 shaneahmed

@ruqayya Please can you create a new PR using the same branch? Please address David's comments in that PR https://github.com/TissueImageAnalytics/tiatoolbox/files/9830884/comments.docx

shaneahmed avatar Oct 20 '22 15:10 shaneahmed

@DavidBAEpstein Thanks for your comments.

ruqayya avatar Oct 20 '22 21:10 ruqayya