Easy code for create and visualize files in YCbCr colour space for ColourCaps project Colourisation with capsules repo.
- create_prior_prob.py -> create file prior_probs.npy
- quantization_colorspace.py -> create file pts_in_hull.npy
These files are needed for the colour quantization used in Colourisation with capsules repo -> resources folder.
Lab colour Space:
YCbCr colour Space:
If you use the repository for your paper, please cite us:
#Collaborative Image and Object Level Features for Image Colourisation#
@article{pucci2021collaboration, title={Collaboration among Image and Object Level Features for Image Colourisation}, author={Pucci, Rita and Micheloni, Christian and Martinel, Niki}, journal={arXiv preprint arXiv:2101.07576}, year={2021} }
and:
#Pro-CCaps: Progressively Teaching Colourisation to Capsules#
@inproceedings{pucci2022pro, title={Pro-CCaps: Progressively Teaching Colourisation to Capsules}, author={Pucci, Rita and Micheloni, Christian and Foresti, Gian Luca and Martinel, Niki}, booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision}, pages={2271--2279}, year={2022} }