Re: Advice on basic operations: zoom, crop and splice

Thanks for all of your help guys. I was unaware of image Inpainting, so thank you Chintak for bringing that fascinating concept to my attention. Josh, thanks for your help. I am capable enough to do such manipulations in numpy and matplotlib; hell,I could even just save a zoomed/crop version of the images of interest. I was certainly interested in doing such manipulations in the notebook. I wouldn't worry about tweaking the viewer, as it would just be easier for me to, as I said, do the manipulations in and save them to separate images. The discussion that followed was quite interesting, and in line with what I expected might be the case. It's really great to see the progress of iPython widgets. I'm fairly competent at traits/chaco, but don't have a javascript background. Stefan, any idea how much javascript competency one might need to begin to approach this effort? On Friday, November 22, 2013 2:03:04 PM UTC-5, Adam Hughes wrote:
Hi everyone,
I'm used to working with big images of lots of particles. In the notebook, I'd like to be able to look at a full image, and then at a zoomed in region of interest. A few basic questions come to mind:
Is there a zoom/crop function or preffered approach to basic manipulations of zooming and cropping, or would I have to do this at the numpy or matplotlib level? I saw that there's a rectangle function that probably would be useful here. Does anyone have any examples or personal code built for doing some of these common manipulations? Ideally, I want to take the fastest approach to:
1. Selecting a rectangular region of interest (ROI). 2. Cropping or zooming in on this region, and storing the ROI as its own array/image. 3. If possible, removing the ROI from the original image, and splicing the original image back together. If this is possible, that would be amazing. This would allow us to effectively cut out regions of our images that are obviously contaminates.
Thanks.
participants (1)
-
Adam Hughes