Added method for analyzing all database images