Digital imaging processing for biophysical applications