MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Drawing on top of the image

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85221] RE: [mg85201] Drawing on top of the image
  • From: Šerých Jakub <Serych at panska.cz>
  • Date: Sat, 2 Feb 2008 03:31:52 -0500 (EST)

I found it myself today:

Show[image, Graphics[{Red, Thick, Line[{from, to}]}]]

I'm sorry for such a newbie question. Next time, I'll invest more energy in
searching the solution myself, before annoying here in the Mathematica list.

Jakub
> -----Original Message-----
> From: =A9er=FDch Jakub [mailto:Serych at panska.cz]
> Sent: Friday, February 01, 2008 8:22 AM
> To: mathgroup at smc.vnet.net
> Subject: [mg85201] Drawing on top of the image
>
> Does anybody have an idea, how to draw (lines) on top of the
> photo, which I import?
>
> Exactly what I need is:
> image = Import["something.jpg"]
> imageData = Import["something.jpg",{"JPEG","GrayLevels"}]
>
> Now I want to "slice" (with line) the image and work with the
> imageData on the "cut".
> 
> The question is, how to display the image together with the
> slicing line.
>
> Thanks for any hint
>
> Jakub
>
>


  • Prev by Date: Re: Mathematica And Cron
  • Next by Date: Re: Convex random polyhedrons
  • Previous by thread: Re: Drawing on top of the image
  • Next by thread: Re: Drawing on top of the image