A method of imaging in an ophthalmic surgical procedure can include determining an excitation wavelength of light associated with a vital stain; transmitting light having the excitation wavelength; determining an emission wavelength of light associated with the vital stain; filtering light using a first optical element to allow transmission of light having the emission wavelength and to block light having the excitation wavelength. An ophthalmic surgical imaging system can include a light source, one or more optical elements, an image sensor, a computing device, and/or a display device to visualize target biological tissue stained with a fluorescent vital stain. A method of imaging in an ophthalmic surgical procedure can include determining a wavelength of light that increases the visual contrast of a vital stain; transmitting light having the determined wavelength; and receiving a reflection of the transmitted light such that target biological tissue stained by the vital stain is accentuated.