Hi. I have a large number of captured images, however few of them are corrupted. So I use pixel threshold to identify those images and able to delete them. But I want to replace them with another image located in different folder. I am beginner to MATLAB and not aware of many functions which may solve this issue. Please let me know if you have any suggestion for this task.
I used "DELETE" function to delete images after storing the file name as a string scalar. Tried "replace" function for replaceing the images but it did not work.