1. A system for cataract surgery on an eye of a patient, comprising: a. a laser source configured to produce a treatment beam comprising a plurality of laser pulses; b. an integrated optical system comprising an imaging assembly operatively coupled to a treatment laser delivery assembly such that they share at least one common optical element, the integrated optical system being configured to acquire image information pertinent to one or more targeted tissue structures and direct the treatment beam in a 3-dimensional pattern to cause breakdown in at least one of the targeted tissue structures; and c. a controller operatively coupled to the laser source and integrated optical system, and configured to: 1) adjust the laser beam and treatment pattern based upon the image information, and 2) distinguish two or more anatomical structures of the eye based at least in part upon a robust least squares fit analysis of the image information.