Picture editing

I want to change background of a image in matlab .
Which is the best and easy method to change background?

background = grayImage < 50; % or whatever number works

grayImage(background) = 0; % Set background to 0 (black).

i am using this code but this code is making it grey

I find another method how to change background in picsart (opens in a new tab) from bestpicsart

As @camperextraordinaire stated, we really need to see the code that you’re using and not just a brief description. Please feel free to share the actual code in question.

Thanks!

1 Like

Previously i was using matlab but then i follow best picsart arrticle.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.