Selectivity estimation for semantic filters on image data