help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image display with pixel indices and values?


From: Andreas Weber
Subject: Re: Image display with pixel indices and values?
Date: Thu, 01 Jan 2015 16:08:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

Hi Alasdair,
please use bottom or interleaved posting style on this mailinglist.

Am 31.12.2014 um 12:57 schrieb Alasdair McAndrew:
> Thank you - but that's somewhat beyond my understanding at the moment. 
> On my system, the only init_fltk file is
> /usr/lib/x86_64-linux-gnu/octave/3.8.1/oct/x86_64-pc-linux-gnu/__init_fltk__.oct
> which is a binary file, and so doesn't help me much.  Can fltk callbacks
> be written from within octave itself?
> 
> Oh - I'm using Octave 3.8.1 under Ubuntu linux, 64 bit.  Normally I use
> the fltk toolkit, but I could switch to gnuplot if that would be easier.

libinterp/dldfcn/__init_fltk__.cc is part of Octaves sources and is not
part of a binary release. You can also find it online:
http://hg.savannah.gnu.org/hgweb/octave/file/93dd3457eef9/libinterp/dldfcn/__init_fltk__.cc

If it's okay for you to show an image with "image" or "imshow" and get
pixel values if you click with the mouse (not just moving) then I can
prepare a little script.

Unfortunately, using callbacks to capture mouse movement with FLTK
graphics_toolkit isn't implemented yet in the stable release.

-- Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]