manuel-munoz-aguirre / PyHIST

A pipeline to segment tissue from the background in histological images
GNU General Public License v3.0
64 stars 13 forks source link

Padded tiles #26

Closed franfcunha closed 3 years ago

franfcunha commented 3 years ago

Hi @manuel-munoz-aguirre Thank you for this amazing tool :)

I was wondering if your program handles padding in case of the image is not divisible by a given tilesize. How does the system deals with this?

Thank youuu

manuel-munoz-aguirre commented 3 years ago

Hi, By default, tiles (towards the right and bottom edges of the image) that do not meet the tile size are dropped out. These tiles can be saved with the --save-nonsquare flag, but they will be output at their actual size (i.e. not padded).

franfcunha commented 3 years ago

Muchas gracias :+1: