A color histogram based image database system