How to restore/reshape image that hass been cropping to original size?
My image size 560x560, I has been crop my training image dataset and testing image to patch with size 48x48, and feed to my neural network. So I need to restore/reshape the output from network to original size. Is there a way to do this?
Hi @bangluqman, I am not quite sure if I follow what you mean... You can add a final resize operation to the end of the pipeline (by setting probability=1.0) that would resize every image back to 560x560 but this would mean of course your 48x48 patches would be up-scaled quite dramatically, which would affect the quality of your final images.
Thank you for your reply, an I am sorry while my question not detail. I can explain my method in general like this :
I have image the input image (1x560x560) and I split into patches (3000x48x48) using Augmentor. And then I applied some image processing technique to the patch. After that, how to reconstruction output image (3000x48x48) back to (1x560x560)?