1. A method of detecting macromolecular crystals in images comprising: detecting edges in said images by identifying local maxima of a phase congruency-related function associated with each image; segmenting the detected edges into discrete line segments; evaluating the geometric relationships that the line segments have with each other to identify any crystal-like qualities; and determining the presence of crystals in each image based on said evaluation.