Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: impoint slow with on large figure/image
Date: Wed, 10 Jun 2009 10:04:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <h0o0eh$r6c$1@fred.mathworks.com>
References: <gdohns$foe$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1244628241 27852 172.30.248.37 (10 Jun 2009 10:04:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 10 Jun 2009 10:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1603307
Xref: news.mathworks.com comp.soft-sys.matlab:546127


I experience the same weird behavior with impoint and tried to fix it now for days. Unfortunately my matlab knowledge is not advanced enough to mess around in the default functions of the image processing toolbox, but I really go crazy with this problem.

in fact, I just need to let the user define one point in an image to start a semi-automatic-segmentation from. 
the function getpts() would also work well enough for me, except for the fact that you can't restrict it to one single point but letting the user choose as many as he likes to.

has no one a fix to that problem? i work with matlab r2009a.
thanks in advance,
patrick

"Abe Lau" <abe@nonexistancegmail.com> wrote in message <gdohns$foe$1@fred.mathworks.com>...
> Dear all,
> I am trying to use the function "impoint" to create user draggable points where some calculation is based upon on an GUI.  However, I found that with a large image, the selection of point is not very responsive, with the first left click end up dragging the point instead of setting it initially.
> 
> e.g.
> 
> test = zeros(3000,3000);
> figure; imshow(test, []);
> pt    = impoint;
> 
> Is it an expected behavior, or is there any workaround for it?
> Thanks,
> Abe