Image segmentation applied to the investigation of craquelure domains in paintings