scaelles / OSVOS-TensorFlow

One-Shot Video Object Segmentation

Home Page:http://vision.ee.ethz.ch/~cvlsegmentation/osvos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magic numbers for image preprocessing

wenfenglin opened this issue · comments

commented

@scaelles Thanks for sharing this project.

In the function preprocess_img() from osvos.py, where do the mean values (104.00699, 116.66877, 122.67892) come from? I saw those numbers in a lot of projects, but no one has explained how they are calculated.

Hi, you are right! There is some explanation behind those numbers :)
They are the mean color values of BSDS500 dataset, used for an old experiment that we were doing.

Since changing these values did not contribute anything to our tasks, we kept them as they are.
For the record, they are taken from here.

commented

Thanks for your prompt response! It is really helpful.