A new method for automatic recognition of the radiographic trabecular pattern