JirongZhang / DeepHomography

Content-Aware Unsupervised Deep Homography Estimation
MIT License
340 stars 57 forks source link

Data processing: Image normalization #24

Open thedjofsis opened 4 years ago

thedjofsis commented 4 years ago

Hello, I'm working with this code and have a question concerning data processing involved. In the following line for TrainData loader, what are these mean and std values? Where are they calculated from? I was wondering if I can use some normalization functions from OpenCV or Numpy for this purpose. https://github.com/JirongZhang/DeepHomography/blob/fab5701bc4680b83821c83d4a06992fe1bddf609/Oneline-DLTv1/dataset.py#L26

Thank you Warm regards, Dharm

CallMeFrozenBanana commented 3 years ago

Just do it ~