Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9959

Re: Drawing on an image in Mathematica

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Drawing on an image in Mathematica
Date 2012-05-05 08:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jo2nen$mbg$1@smc.vnet.net> (permalink)
References <201205040223.WAA08594@smc.vnet.net>

Show all headers | View raw


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@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Drawing on an image in Mathematica Murray Eisenberg <murray@math.umass.edu> - 2012-05-05 08:13 +0000

csiph-web