Closed abetancordelrosario closed 1 year ago
The artefacts are not normal. I suspect there could be a mistake in the conversion from RAW to PNG. Please the closed (resolved) comments in this repo for guidance.
Thank you for your prompt response
We have noticed that these artifacts appear when decreasing the size of the image, we would like to know if it is normal and the reason why they occur.
Thank you in advance.
Firstly, the adobe pre-trained model is trained on RGB input, not RAW. Are you using RAW directly as input to the model? If so 1) the pre-trained model is not for RAW data and 2) you are using the raw_ted.py model, you need to be careful when cropping or resizing RAW so that the crop or resize adheres to the Bayer pattern boundaries. If, however, you are using PNG as input (and hence using the rgb_ted.py model) - how do you go from RAW to PNG for Samsung (as this is a RAW dataset), and how do you then resize the images? Please let me know.
Closing due to a lack of activity.
I am picking up the work of a former coworker and I watched that he got this result using Samsung dataset with the adobe pre-trained model.
But when I test with the same dataset and model I get the next result.
I want to know if the artifacts in the first image are normal or if he made a mistake converting the images from RAW to PNG.
Thank you in advance.