superxuang / caffe_3d_faster_rcnn

Caffe for 3D organ localization in CT image
Other
46 stars 19 forks source link

Would you tell me how to draw a bounding box on a .mhd .raw file based on the six parameters in ‘segmentation-XX.txt’? #7

Closed SwanKnightZJP closed 5 years ago

SwanKnightZJP commented 5 years ago

I have benefited a lot after reading your paper, but I have encountered some problems during the experiments. Would you tell me how to draw a bounding box on a .mhd &.raw file based on the six parameters in ‘segmentation-XX.txt’? I mean, what is the positional relationship between those parameters and images? According to your paper, the six parameters are x, y, z, w, h, l, which is the coordinates of the center point of the bounding box and the parameters corresponding to the length, width and height. I tried to read a section of the CT sequence in the mhd file and display the center point of each organ, but got a very strange result (it seems to be rotated 45 degrees?) Or, what do I need to do with the original image before marking the center point? 草图 草图1

SwanKnightZJP commented 5 years ago

I think, I know what the problem is...... The six parameters, they are (x0, x1, y0, y1, z0, z1)..... (:з)∠)....