When returning the histogram to be processed in the palette CLI command, it would help to divide all color counts by the number of images in the collection. Sine the building of the composite histogram can be performed incrementally, it's better to keep this process as it as and only modify the counts before sending the histogram to the palette, no persisting such modification back to the model. See: https://github.com/sul-cidr/histonets-cv/issues/153
It would also make sense to not even send colors with counts below the number of images in the collection.
When returning the histogram to be processed in the
palette
CLI command, it would help to divide all color counts by the number of images in the collection. Sine the building of the composite histogram can be performed incrementally, it's better to keep this process as it as and only modify the counts before sending the histogram to the palette, no persisting such modification back to the model. See: https://github.com/sul-cidr/histonets-cv/issues/153It would also make sense to not even send colors with counts below the number of images in the collection.