Open MLRadfys opened 4 years ago
Hello Michael,
you are right. Thanks for pointing this out.
It was originally intended but, as far as I can see right now, it can and should be modified accordingly when using the resize or resample subfunction.
I will dig into it and add the shape update to the two subfunctions.
Cheers, Dominik
Hi Dominik,
thanks! It does not affect the functionality though. I just stumbled about it while debugging my code :-)
Cheers,
Michael
Hi Dominik,
I just noticed that the img_shape attribute is not updated in a sample object when for example using the resample subfunction. Is that on purposes in order to preserve information about the original dimension. Otherwise adding :
sample.shape = img_data.shape
to the preprocessing function should do the magic.
Cheers,
Michael