Automated measurement of nerve fiber density using line intensity scan analysis