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

Data preprocessing #3

Open
syy-create opened this issue Sep 8, 2024 · 2 comments
Open

Data preprocessing #3

syy-create opened this issue Sep 8, 2024 · 2 comments

Comments

@syy-create
Copy link

hi, @Jiangbo-Shi
May I ask for a brief explanation of the data preprocessing method for tissue graph and patch graph? I'm not sure what the correct processing method is.
Best wishes!

@Jiangbo-Shi
Copy link
Owner

Patch graph is built based on Patch-GCN. The node of the tissue graph is segmented using the SLIC method (skimage.segmentation.slic package) on the resized image. The edge is constructed using the nearest neighbor method. To find the corresponding spatial relations between patches at different magnifications, you can rescale the coordinate into the same magnification.

@syy-create
Copy link
Author

Hi, @Jiangbo-Shi
Thank you for your reply.
Excuse me again, I would like to confirm whether the patch features were extracted using ResNet50 or other methods in the feature extraction section.
Can you also provide example feature files for these patches and tissues in the script file.
--data_folder_s gastric_pt_staging_20x
--data_folder_l gastric_pt_staging_10x
--tg_file tissue_graph_files_slic
Best wishes!

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