Re: Drawing on an image in Mathematica

*To*: mathgroup at smc.vnet.net*Subject*: [mg126377] Re: Drawing on an image in Mathematica*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Sat, 5 May 2012 04:12:25 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*References*: <201205040223.WAA08594@smc.vnet.net>*Reply-to*: murray at math.umass.edu

Yes: use Import to get the image into a Mathematica notebook. Then use the Graphics Tools to draw just like you would with many sketching programs. On 5/3/12 10:23 PM, Julian Francis wrote: > Dear all, > > I have a binary image in which I'd like to use the mouse to draw > (freehand) on top of the image, and use this in Mathematica. > > Presently, I can import the image into a painting program, use its > sketching facilities, then cut and paste into Mathematica. I can > extract the matrix if I wish by using ImageData. > > Is there a way of drawing on the image directly in Mathematica to save > me cutting and pasting between programs? > > I've worked out how to create a graphic and draw into it using the > Mathematica graphics drwaing tools, but my problem is either the > graphic is far too large, or if I shrink it down > (I want to work on matrices 16x16), the resulting picture is far too > small. I want to draw into a matrix 16x16, but it be large enough for > me to see easily. > > Thanks, > Julian. > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305

**References**:**Drawing on an image in Mathematica***From:*Julian Francis <julian.w.francis@gmail.com>