Added two ways to skip the clicking delineation of particles while keeping a multitude (much more kept particles than the pebbleCountsAuto function:
Set the new -skip_manual_clicking command line option to True
When the image pops up to click on and delineate particles, simply type q and hit enter and all of the particles shown onscreen will be accepted.
Also made some modifications to handle greyscale images without throwing an error. Note: the k-means segmentation isn't as good with greyscale, but at least the code doesn't exit with exception any more.
Added two ways to skip the clicking delineation of particles while keeping a multitude (much more kept particles than the pebbleCountsAuto function:
Also made some modifications to handle greyscale images without throwing an error. Note: the k-means segmentation isn't as good with greyscale, but at least the code doesn't exit with exception any more.