Automation and computerization of microdensitometer