Any ideas?
Sorry, didn't know that img sharing is so easy nowadays.
I know you said more than 2 or 3, but these are the first two I could grab. One shows the normal video feed and the other shows the segmented rat. Ignore the accidental segmentation of the rat's reflection, today I'm using a temporary box that is unfortunately very glossy.
Thanks in advance, I can gladly post some more pics, I'm just not sure what else you'd like to see.
Well that's just a guess based on. . . well, nothing actually - just
my intuition. But it might work. You might find better methods by
looking at the pattern recognition literature (http://iris.usc.edu/
Vision-Notes/bibliography/contents.html) or by asking in
sci.image.processing.
One possibility is to first fit a skeleton to the shape. Then finding
the head and its direction is trivial. For example:
http://www.win.tue.nl/~alext/ALEX/PAPERS/VisSym02/dskel.pdf
From a quick Google scholar search though people tend to solve this in
a much more pragmatic fashion, that is, by taping a green and a red
LED to the back of the rat.
Do you need to know which way the head is pointing, or just which end has
the head? If the latter, perhaps the simpler thing to determine is which
end is not the head. That long tail looks easy to spot.
--
Dr Tristram J. Scott
Energy Consultant
Patrick Mineault <patrick....@gmail.com> wrote in message <dbb916c8-6656-4680...@m1g2000yqo.googlegroups.com>...
tristra...@ntlworld.com (Tristram Scott) wrote in message <i5qhve$l5s$1...@news.eternal-september.org>...