Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alessiamarcolini
Copy link
Collaborator

@alessiamarcolini alessiamarcolini commented Dec 8, 2021

Description

This PR introduces little modifications to the parameters of the filters used to calculate the tissue mask on the Tile, in order to have a sharper mask.

This is necessary for the implementation of the method of Reinhard for stain normalization (#322), because it calculates means/std on tissue and it needs to be as precise as possible.

Example

Tile in tests/expectations/tiles/tissue-level0-4302-10273-4814-10785.png

tissue-level0-4302-10273-4814-10785

Before

Schermata 2021-12-08 alle 19 38 28

After

Schermata 2021-12-08 alle 19 38 34

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Issues Fixed or Closed by This PR

  • Fixes:

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@alessiamarcolini alessiamarcolini added the enhancement New feature or request label Dec 8, 2021
@alessiamarcolini alessiamarcolini added this to the 0.5.0 milestone Dec 8, 2021
@codecov
Copy link

codecov bot commented Dec 8, 2021

Codecov Report

Merging #364 (a88e715) into master (0f74c87) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #364   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1411      1411           
  Branches       218       218           
=========================================
  Hits          1411      1411           
Impacted Files Coverage Δ
histolab/filters/compositions.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0f74c87...a88e715. Read the comment docs.

Copy link
Collaborator

@nicolebussola nicolebussola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MKAY

@alessiamarcolini alessiamarcolini merged commit 6578345 into master Dec 13, 2021
@alessiamarcolini alessiamarcolini deleted the tissue-mask-tile-sharp branch December 13, 2021 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants