DSB2017 icon indicating copy to clipboard operation
DSB2017 copied to clipboard

how to convert detected nodule coordinates back to original scanning coordinates?

Open galactica147 opened this issue 7 years ago • 7 comments

Hi @lfz

Can you please advise how to convert the nodule detection results (coordinates in .pbb) files back to the original coordinate system in the scan? For example, all luna16 data has been pre-processed and normalized, so if we want to test on luna16, how do we get the corresponding coordinates in the original system? Any ideas? I assume this reverse transform would be scan-dependent.

Thanks!

galactica147 avatar Jun 22 '17 21:06 galactica147

Have you found the way to convert?

iridescent303 avatar Jun 28 '17 12:06 iridescent303

Sorry about the late reply, you need to store the crop origin and spacing information at the preprocessing stage, which could be found in the savenpy_luna function

Besides, please refer to data_classifier to see how to convert pbb into the bounding box you need.

BTW, I know you guys are preparing for the Tianchi competition, good luck. Do not just ask for help, you guys should share thoughts with each other more frequently to get better results together.

lfz avatar Jun 28 '17 17:06 lfz

Thank you very much!

iridescent303 avatar Jun 29 '17 12:06 iridescent303

anyone have a code edit to save this information, make the conversion for the DSB data during the Test stage, and map the nodules back to the original files? Or even just for the luna16 data to give an example? Thanks!

teaghan avatar Sep 20 '17 01:09 teaghan

may this script can help you! convert.txt

to gen the 'lung_segments.json' use this script states.txt

this is the "lung_segments.json" i created luna_segments.txt

zhaifly avatar Sep 20 '17 06:09 zhaifly

Has anybody able to find the slice number of the detected nodule. Need help

bijoygit avatar Jan 10 '18 11:01 bijoygit

Hi, In the luna16 evaluation scripts, it seems the prediction probability should be in the range of 0-1, but my prediction probability is not in the range of 0-1. How can I solve this problem?

wjx2 avatar Jul 26 '18 07:07 wjx2