faustomilletari / VNet

GNU General Public License v3.0
284 stars 123 forks source link

why filtering of the ground truth? #38

Closed RSly closed 7 years ago

RSly commented 7 years ago

hi,

I see in here https://github.com/faustomilletari/VNet/blob/584c1502f369f2547e7ed384f9cc25beb09f65e1/pyLayer.py#L39 that you use a threshold for GT, why is that?

faustomilletari commented 7 years ago

because due to augmentation we deform the GT and therefore we interpolate. the GT, as a result, is not binary any longer. also sometimes binary GT are represented with 0 and 255. in this way one avoids problems because the operator > will give back 0 and 1 when its result is interpreted as integer