mouse input from image?

View: New views
3 Messages — Rating Filter:   Alert me  

mouse input from image?

by dclapp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good morning,

I am using Octave 3.0.1 under windows and am using many of the image processing tools.  I would like to be able to get pixel information off a figure, once I draw an image.

I am using the imshow(myImg), to draw a greyscale image.  

I would like to be able to drag my mouse over the image and have a print out of the pixel value on the image.

Any ideas on how to do this?

thanks!

Dan

Re: mouse input from image?

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe you could do this using "ginput".

Michael.


On Mon, Sep 8, 2008 at 4:29 PM, dclapp <ipswicheg@...> wrote:

>
> Good morning,
>
> I am using Octave 3.0.1 under windows and am using many of the image
> processing tools.  I would like to be able to get pixel information off a
> figure, once I draw an image.
>
> I am using the imshow(myImg), to draw a greyscale image.
>
> I would like to be able to drag my mouse over the image and have a print out
> of the pixel value on the image.
>
> Any ideas on how to do this?
>
> thanks!
>
> Dan
> --
> View this message in context: http://www.nabble.com/mouse-input-from-image--tp19373230p19373230.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: mouse input from image?

by dclapp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the input...

I am finding that plotting and images to not seem to work well within Octave/Windows XP.

When I just have a figure, the plot routines work o.k. but if I have an underlying image, nothing
get redrawn on top of the image (the pixels are always on top).

I am assuming this is issue with using windows platform only?...

thanks!

Michael Goffioul-2 wrote:
Maybe you could do this using "ginput".

Michael.


On Mon, Sep 8, 2008 at 4:29 PM, dclapp <ipswicheg@gmail.com> wrote:
>
> Good morning,
>
> I am using Octave 3.0.1 under windows and am using many of the image
> processing tools.  I would like to be able to get pixel information off a
> figure, once I draw an image.
>
> I am using the imshow(myImg), to draw a greyscale image.
>
> I would like to be able to drag my mouse over the image and have a print out
> of the pixel value on the image.
>
> Any ideas on how to do this?
>
> thanks!
>
> Dan
> --
> View this message in context: http://www.nabble.com/mouse-input-from-image--tp19373230p19373230.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave