Baeksweety / superpixel_transformer

13 stars 0 forks source link

About superpixels #4

Open ljhOfGithub opened 1 year ago

ljhOfGithub commented 1 year ago

When I use your code to generate superpixels, I meet the following problem: image I use the BRCA datasets. How should I change the parameters. Why the patch_judge_20x function use the superpixels[y_n][x_n] instead of superpixels[x_n][y_n]? Could you please help me? And what is your CLAM parameters to generate patches and extract patches features, could you please tell me? Thx.

Wan-Jiayu commented 1 year ago

@ljhOfGithub Hello! Do you know in the patch_judge_20x function, why do x and y need to be divided by 16 and convert to int? image

ljhOfGithub commented 1 year ago

@ljhOfGithub Hello! Do you know in the patch_judge_20x function, why do x and y need to be divided by 16 and convert to int? 你好啊!你知道在patch_judge_20x函数中,为什么x和y需要除以16并转换为int吗? image

I guess it depends on the patch size set in the CLAM code. I am not sure, because the repo owner hasn't release the parameters.

Baeksweety commented 1 year ago

superpixels

Hello, the patch we use CLAM to process is cut into 256x256 at 10x magnification, and the generated stitch is the result of downsampling 16 times.