useful for getting size distribution of known rois from each category. gathers size information from idsize text files produced when training a new classifier in VP (Visual Plankton)

vpr_trrois_size(directory, category, opticalSetting)

Arguments

directory

cruise directory eg. 'C:/data/IML2018051/'

category

list of character elements containing category of interest

opticalSetting

VPR optical setting determining conversion between pixels and millimetres (options are 'S0', 'S1', 'S2', or 'S3')