Background Removal in C#

Hi! I have an image of an object that is on top of a dark grey carpet.

I’ve been playing with the C# samples but I am not familiar with the capabilities of Aspose Imaging.

Because the carpet has different colors and texture, which Aspose Imaging method should I focus on?

I’ve had no luck with the GraphCut method of the RemoveBackgroundGenericExample as it does not produce a result that is acceptable.

Any help would be appreciated! Thanks!

PS: Where are the images needed for the samples to run? Where is “couple.jpg”?

@Bendit,

Apologies for the wait. I will transfer your thread to the appropriate forum where a member of our Aspose.Imaging team will assess your needs or concerns and provide assistance as needed.

@Bendit Hello! Thank you for your interest in our product. Let me help clarify the documentation examples.

For testing purposes, you can use any input image, including the sample images provided in our documentation here:

For automatic background removal, I recommend checking out our auto-masking example “Graph Cut auto masking using Imaging.Cloud API”:
https://docs.aspose.com/imaging/net/remove-background-from-images/#graph-cut-auto-masking-using-imagingcloud-api

For optimal results, we suggest combining auto-masking with manual adjustments. Please let me know if you need any further assistance!