Painting Analysis Using Wavelets and Probabilistic Topic Models