Parameterize cropsize for region-based feature extraction