Automatic computation of mandibular indices in dental panoramic radiographs for early osteoporosis detection