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

Question about the num of patches with mitosis in MIODG daataset #28

Open
Shentl opened this issue Jun 2, 2023 · 9 comments
Open

Question about the num of patches with mitosis in MIODG daataset #28

Shentl opened this issue Jun 2, 2023 · 9 comments

Comments

@Shentl
Copy link

Shentl commented Jun 2, 2023

Hi, @Xiyue-Wang

In the paper, you introduce the MIDOG dataset as "The publicly available training set contains 150 WSIs with a size of 8,000 × 8,000 pixels, which are cropped into 79,399 patches (6,699 with mitosis) with a size of 256 × 256 pixels" and I have some queestions

Assume you crop WSI based on the grid:

  1. There are a total of 7149 annotations, of which only 1721 are for the "mitotic figure". So how did you obtain 6699 mitotic patches, as most of the "mitotic figure" bounding boxes only fall within one patch

  2. Assuming you crop WSI based on the grid (for i in range(0,shape[0]/256): ......) instead of randomly cropping, the resulting number of patches should be 79426, which is 27 more than what was mentioned in the paper. And i wonder what happens

@Shentl
Copy link
Author

Shentl commented Jun 2, 2023

Sorry , the total number of annotations is 4135, and only 1721 annotations are for the "mitotic figure"

@Xiyue-Wang
Copy link
Owner

Xiyue-Wang commented Jun 2, 2023

@Shentl please download MIDOG dataset , Not every image size is 8000x8000, but the average size is 8000x8000

@Shentl
Copy link
Author

Shentl commented Jun 2, 2023

I konw it, and 79426 is calculated using the actual image size

@Shentl
Copy link
Author

Shentl commented Jun 2, 2023

What I would rather know is how 6399 mitotic patches were obtained as only 1721 annotations are for the "mitotic figure"

@Xiyue-Wang
Copy link
Owner

‘So how did you obtain 6699 mitotic patches, as most of the "mitotic figure" bounding boxes only fall within one patch’:Crop the patch overlap 50%, and then there will be some boundary processing

@Shentl
Copy link
Author

Shentl commented Jun 2, 2023

By croping the patch overlap 50%, the total number of patches would be approximately twice of 79426, so I guess this is only done for areas labeled with mitosis

@Xiyue-Wang
Copy link
Owner

Right

@Shentl
Copy link
Author

Shentl commented Jun 2, 2023

By "Crop the patch overlap 50%", at the inference time, a mitotic area is very likely to have multi bounding boxs. May I ask how you handled it? Did you directly use all the boxes to calculate the F1 score, or did you merge different bounding boxes?

@Shentl
Copy link
Author

Shentl commented Jun 11, 2023

Can you tell me how you do at the inference time? If still crop patches overlap 50%, then how to deal with the multi bounding boxs for just one mitotic area?

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