Digital imaging and analysis of dusty plasmas