Public datasets preprocessing

Segmentation

  • pascal-context.py: convert the mat format of annations (400 categoires) of PASCAL Context dataset into the png label (59 objects+1backgroubnd). Note: the code is borrowed from ZzzjzzZ.
  • Camvid.py: extract the 11 subset classes of total 32 classes. In particular, void pixel is represented by 255.