Beans quality inspection using correlation-based granulometry. (April 2015)