Posted by
dscho on
Feb 15, 2014; 7:43pm
URL: http://imagej.273.s1.nabble.com/Visual-grep-doesn-t-find-anything-tp5006303p5006537.html
Hi Flash,
please note that I fix the layout of the mail I quote here this time, I
won't do it again. Likewise, I advise you this once again to click
> >
http://mattgemmell.com/what-have-you-tried/and read this once again, because it appears to me that the 20 minutes I
spent on working on your problem were pretty much 19 minutes more than you
did. At least there is not the slightest indication to the contrary in
your reply.
On Sat, 15 Feb 2014, Ja wrote:
> Dnia 15 lutego 2014 18:12 Johannes Schindelin
> <
[hidden email]> napisaĆ(a):
> >
> > On Mon, 27 Jan 2014, Ja wrote:
> >
> > > Does anybody have any idea how Visual grep plugin works? I opened image,
> > > copied small part of it to clipboard, then set it as needle and it
> > > doesn't find anything. Why is that? Anybody managed to make it work?
> >
> > Visual grep tries to accelerate things by downsampling both needle and
> > haystack a couple of times and find candidate locations in the coarser
> > resolutions. If that does not find the correct locations, finer
> > resolution steps will necessarily fail.
> >
> > Please also keep in mind that the provided information is insufficient
> > [*1*] for the author of the plugin (read: myself) to get a clear
> > picture what might go wrong.
I have to note that this is still true.
> > If you require further help [*2*], you might want to consider offering an
> > example image with a recorded macro of the process that "doesn't find
> > anything".
>
> I tried every configuration I could imagine and still nothing found.
> Could You get it to work at least once on any image?
Please recognize that ignoring my suggestions rather blatantly is outright
rude, in particular since you ask me for help and seem to be unwilling to
follow even the gentlest advice: I asked for details and was rewarded with
a one-liner that cannot have taken more effort than 30 seconds to type and
send, containing a statement ("I tried every configuration") that
challenges my intelligence.
Since Visual grep is my project, though, I did what I would have
considered to be the natural first thing for any bug reporter to do --
without having to be prompted for it: a detailed description how to
reproduce the problem.
My macro (which is the most complete description you can provide for
ImageJ):
run("Close All");
run("Clown (14K)");
id = getImageID();
makeRectangle(182, 70, 28, 26);
run("Duplicate...", "title=eye.jpg");
selectImage(id);
run("Select None");
run("Visual grep", "needle=eye.jpg tolerance=5000 pyramidlevel=1");
This works for me.
Hth,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html