问题
Trying to figure out the first step in ImageMagick - Trim / Crop to contiguous objects
Say you have a background removed product photo such as this one. The object contains gradients and shadows etc, so it's not a solid rigid object.
How do you convert it to just its masked area for connected component analysis?
来源:https://stackoverflow.com/questions/62100307/imagemagick-general-way-to-convert-background-removed-product-photo-into-masked