Copy/Paste a Segment in the image

I have a masked image selecting my region of interst. It has same size of input image. I want to get that particular masked segement from the image and paste somewhere in other image or same image.
Thanks

Asked:

on 20 Feb 2020

Edited:

on 4 Mar 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!