I have a bunch of images each one with over 100-500 particles. I have tresholded the image and analyzed the particles (shape, length, etc.) but I would like to extract an average color value of all the pixels contained in each particle (preferably in CIE Lab color space, or RGB if not possible).
If possible, I would like to create a result table with all shape descriptors I created for each particle with it’s average color value.
Is there any way of doing this in an easy manner?