Re: Image processing Questions
- To: mathgroup at smc.vnet.net
- Subject: [mg110580] Re: Image processing Questions
- From: Matthias Odisio <matthias at wolfram.com>
- Date: Sat, 26 Jun 2010 03:11:51 -0400 (EDT)
Robert, On 6/25/10 6:26 AM, Robert Pigeon wrote: > Hello to all, > > I have two questions related to image processing. > > First question : I have some pictures taken with my digital camera and on > the pictures I have the date in red numbers on them. I would like to erase > those numbers from the pictures. I tried the procedure described on Wolfram > web site about image processing (Removing text from an image). But it is > not working and I don't know why. Maybe some of you are doing it and could > share with me the procedure ? > What exactly did you try? If you could point to an example that would be easier to help. > Second question : I take a portion of an image using ImageTake. I do some > processing on that portion. Now I would like to put back that portion in the > original image. How can I do that? It would be like the inverse of > ImageTake... Any idea? > Assuming the portion you take has its top left corner at {r1, c1}: sub = ImageTake[img, {r1, r2}, {c1, c2}] new = ImageCompose[img, sub, {Left, Top}, {r1, c1}] Matthias Odisio Wolfram Research