Device and method for the measurement and classification of trash in fiber samples parts