Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to select tiles from origin image? #40

Open
heshenghuan opened this issue Nov 28, 2024 · 1 comment
Open

How to select tiles from origin image? #40

heshenghuan opened this issue Nov 28, 2024 · 1 comment

Comments

@heshenghuan
Copy link

Hello, your work is quite outstanding, and I have gained a lot of help from it.

However, I still have some questions about the image preprocessing operations before obtaining the patch-level features that I would like to consult with you.

When preprocessing the input image, after using the OTSU algorithm distinguish between the foreground and background.
And then, when dividing the image into tiles of size 256*256, is it only the tiles that are entirely composed of foreground pixels that are selected?

If one tile contains any background pixel, would it be discarded?

@Dadatata-JZ
Copy link
Collaborator

@heshenghuan Hi there,

Yes, it is essential to discard background and non-informative tiles, at least for the sake of computational efficiency. Typically, a simple color filter is sufficient for this purpose.

Nowadays, some handy off-the-shelf tools are available. Personally, I switch between tools like histolab and HistomicsTK.

https://github.com/PathologyDataScience/histolab?tab=readme-ov-file#quickstart
https://github.com/DigitalSlideArchive/HistomicsTK?tab=readme-ov-file

Let me know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants