Skip to content

PatchExtractor filtering #446

@rogertrullo

Description

@rogertrullo
  • TIA Toolbox version: 1.2.1
  • Python version: 3.8
  • Operating System: ubuntu 20

Description

Hi, thanks for sharing this library!
I was checking the PatchExtractor class and it seems that patches containing at least one pixel of positive mask, will be included.
Depending on the scenario this can be undesired e.g. some patches will be mainly background.
I was wondering if we can include some kind of parameter e.g. min number of positive pixels or minimum area of the patch being positive?

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions