I want generate a random image using matlab which contains the object to be detected and the clutter images at random locations. I then want to detect this randomly generated ob
Try using the activecontour function from the Image Processing Toolbox.