Thread Subject: impoint slow with on large figure/image

Subject: impoint slow with on large figure/image

From: Abe Lau

Date: 23 Oct, 2008 00:50:04

Message: 1 of 9

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

Subject: impoint slow with on large figure/image

From: Patrick R

Date: 10 Jun, 2009 10:04:01

Message: 2 of 9

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

Subject: impoint slow with on large figure/image

From: Steven Lord

Date: 10 Jun, 2009 14:12:21

Message: 3 of 9


"Patrick R" <p.reichmann@inode.at> wrote in message
news:h0o0eh$r6c$1@fred.mathworks.com...
>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.

For your application, you may be able to use GINPUT instead of IMPOINT.

--
Steve Lord
slord@mathworks.com

Subject: impoint slow with on large figure/image

From: Patrick R

Date: 10 Jun, 2009 14:31:03

Message: 4 of 9

"Steven Lord" <slord@mathworks.com> wrote in message <h0oev9$s6m$1@fred.mathworks.com>...
>
> "Patrick R" <p.reichmann@inode.at> wrote in message
> news:h0o0eh$r6c$1@fred.mathworks.com...
> >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.
>
> For your application, you may be able to use GINPUT instead of IMPOINT.
>
> --
> Steve Lord
> slord@mathworks.com
>


thanks alot Steve, I will try that right away.

Subject: impoint slow with on large figure/image

From: Patrick R

Date: 11 Jun, 2009 10:08:01

Message: 5 of 9

"Patrick R" <p.reichmann@inode.at> wrote in message <h0og37$fj5$1@fred.mathworks.com>...
> "Steven Lord" <slord@mathworks.com> wrote in message <h0oev9$s6m$1@fred.mathworks.com>...
> >
> > "Patrick R" <p.reichmann@inode.at> wrote in message
> > news:h0o0eh$r6c$1@fred.mathworks.com...
> > >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.
> >
> > For your application, you may be able to use GINPUT instead of IMPOINT.
> >
> > --
> > Steve Lord
> > slord@mathworks.com
> >
>
>
> thanks alot Steve, I will try that right away.

GINPUT works perfectly fine, thank you very much Steve, that one really helped me a lot.
cheers, Patrick

Subject: impoint slow with on large figure/image

From: Alex Taylor

Date: 11 Jun, 2009 20:27:02

Message: 6 of 9

"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

Abe,

Thank you for reporting this issue. This is a bug that we are addressing in a future release.

Thanks,

Alex.

Subject: impoint slow with on large figure/image

From: Abe Lau

Date: 11 Jun, 2009 23:34:02

Message: 7 of 9

"Alex Taylor" <alex.taylorREMOVE.THIS@mathworks.com> wrote in message <h0rpam$es5$1@fred.mathworks.com>...
> "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
>
> Abe,
>
> Thank you for reporting this issue. This is a bug that we are addressing in a future release.
>
> Thanks,
>
> Alex.

No worries. really glad to hear an update on this.
Just a side question.... is there any kind of bug database we may possibly make reference to/search ... rather than waiting for developers to fish for possible problem? It's great to know that someone pick it up, but it doesn't look very efficient.

Abe

Subject: impoint slow with on large figure/image

From: Steve Eddins

Date: 12 Jun, 2009 11:15:05

Message: 8 of 9

Abe Lau wrote:
>
> [snip]
>
> No worries. really glad to hear an update on this.
> Just a side question.... is there any kind of bug database we may possibly make reference to/search ... rather than waiting for developers to fish for possible problem? It's great to know that someone pick it up, but it doesn't look very efficient.
>
> Abe

The most efficient way to view and report bugs is via this page:

http://www.mathworks.com/support/

---
Steve Eddins
http://blogs.mathworks.com/steve/

Subject: impoint slow with on large figure/image

From: Abe Lau

Date: 12 Jun, 2009 11:45:02

Message: 9 of 9

Steve Eddins <Steve.Eddins@mathworks.com> wrote in message <h0tdbp$4v2$1@fred.mathworks.com>...
> Abe Lau wrote:
> >
> > [snip]
> >
> > No worries. really glad to hear an update on this.
> > Just a side question.... is there any kind of bug database we may possibly make reference to/search ... rather than waiting for developers to fish for possible problem? It's great to know that someone pick it up, but it doesn't look very efficient.
> >
> > Abe
>
> The most efficient way to view and report bugs is via this page:
>
> http://www.mathworks.com/support/
>
> ---
> Steve Eddins
> http://blogs.mathworks.com/steve/

Thanks Steve. I really completely missed that.... I remember looking for bug report database few years ago but never find it haha.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
impoint slow un... Abe Lau 22 Oct, 2008 20:55:30
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com