RenYurui / StructureFlow

Code for paper "StructureFlow: Image Inpainting via Structure-aware Appearance Flow"
Other
222 stars 42 forks source link

Image smoothing for training #5

Closed RahulGalda closed 5 years ago

RahulGalda commented 5 years ago

hi, does it work if I use a Gaussian filter from python for smoothing the images instead of the matlab code that you have? or any other suggestions as I dont want use matlab separately everytime

RenYurui commented 5 years ago

If you want to train the model with Gaussian smoothed image labels, it may be feasible. But I think the performance will be degraded, since the recovered structure images do not contain sharp edges.

Maybe you can generate the smooth images for your entire test set to avoid using MATLAB everytime. Or maybe you can try to convert the MATLAB smooth code to python.

RahulGalda commented 5 years ago

thanks, one script is missing in matlab files. "tsmooth" can you share the script

RenYurui commented 5 years ago

Please follow the instruction in the Readme.md and download it from http://www.cse.cuhk.edu.hk/~leojia/projects/texturesep/