MIC-DKFZ / BraTS2017

Apache License 2.0
74 stars 16 forks source link

cut_off_values_upper_lower_percentile #10

Closed yianzhongguo closed 5 years ago

yianzhongguo commented 5 years ago

@FabianIsensee Hi, sir. I find that in the function cut_off_values_upper_lower_percentile(image, mask=None, percentile_lower=0.2, percentile_upper=99.8), maybe res should be returned instead of returning image since res = np.copy(image) is used. I am not sure since I am a novice. Is it this? Thank you!

FabianIsensee commented 5 years ago

You are correct. That is a mistake. Thanks for pointing that out!

FabianIsensee commented 5 years ago

It is fixed now =)

yianzhongguo commented 5 years ago

@FabianIsensee Thank you!