| View previous topic :: View next topic |
| Author |
Message |
Xiaoxiao Guest
|
Posted: Tue Oct 07, 2008 1:44 pm Post subject: Question on template matching |
|
|
Hi,
I am reading some documents on template matching of digital image
processing and I understood most of it, but have one confusion
question. I.e., when we do template matching, is the size of template
(mask) matter? For example, I would like to find ring shapes in an
image and I use a ring mask, if I don>t know adhead the sizes of the
rings in the images and I only uses a fixed size of the ring template,
will it find all the rings (different sizes) in the image? From
intuition, I would guess that the template matching should find them,
but from the equation of the template matching, I confused that is I
think if I don>t have a same size ring mask with the rings in the
image, I will not get maximum convulations on the locations of rings
with different sizes, then can i find them?
Sorry for the long question. Basically, the question is asking whether
the mask size is matter in the template matching. If not, why?
Thanks a lot. |
|
| |
|
Back to top |
Martin Leese Guest
|
Posted: Tue Oct 07, 2008 9:16 pm Post subject: Re: Question on template matching |
|
|
Xiaoxiao wrote:
[quote]Hi,
I am reading some documents on template matching of digital image
processing and I understood most of it, but have one confusion
question. I.e., when we do template matching, is the size of template
(mask) matter?
[/quote]
Yes.
[quote]For example, I would like to find ring shapes in an
image and I use a ring mask, if I don>t know adhead the sizes of the
rings in the images and I only uses a fixed size of the ring template,
will it find all the rings (different sizes) in the image?
[/quote]
No.
[quote]From
intuition, I would guess that the template matching should find them,
but from the equation of the template matching, I confused that is I
think if I don>t have a same size ring mask with the rings in the
image, I will not get maximum convulations on the locations of rings
with different sizes, then can i find them?
[/quote]
No.
[quote]Sorry for the long question. Basically, the question is asking whether
the mask size is matter in the template matching.
[/quote]
Yes.
[quote]If not, why?
[/quote]
Not applicable.
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/ |
|
| |
|
Back to top |
Xiaoxiao Guest
|
Posted: Tue Oct 07, 2008 9:37 pm Post subject: Re: Question on template matching |
|
|
On Oct 7, 2:18 pm, Elmar Sack <Elmar.S...@mnet-online.de> wrote:
[quote]Xiaoxiao wrote:
Hi,
I am reading some documents on template matching of digital image
processing and I understood most of it, but have one confusion
question. I.e., when we do template matching, is the size of template
(mask) matter? For example, I would like to find ring shapes in an
image and I use a ring mask, if I don>t know adhead the sizes of the
rings in the images and I only uses a fixed size of the ring template,
will it find all the rings (different sizes) in the image? From
intuition, I would guess that the template matching should find them,
but from the equation of the template matching, I confused that is I
think if I don>t have a same size ring mask with the rings in the
image, I will not get maximum convulations on the locations of rings
with different sizes, then can i find them?
Sorry for the long question. Basically, the question is asking whether
the mask size is matter in the template matching. If not, why?
Thanks a lot.
The following link may help you to overcome the fixed template size problem:http://www.lps.usp.br/~hae/software/cirateg/index.html
Regards,
Elmar- Hide quoted text -
- Show quoted text -
[/quote]
Thanks Martin and Elmar for the clarification and help. It seems
template matching is not that powerful as I thought. |
|
| |
|
Back to top |
Elmar Sack Guest
|
Posted: Tue Oct 07, 2008 11:18 pm Post subject: Re: Question on template matching |
|
|
Xiaoxiao wrote:
[quote]Hi,
I am reading some documents on template matching of digital image
processing and I understood most of it, but have one confusion
question. I.e., when we do template matching, is the size of template
(mask) matter? For example, I would like to find ring shapes in an
image and I use a ring mask, if I don>t know adhead the sizes of the
rings in the images and I only uses a fixed size of the ring template,
will it find all the rings (different sizes) in the image? From
intuition, I would guess that the template matching should find them,
but from the equation of the template matching, I confused that is I
think if I don>t have a same size ring mask with the rings in the
image, I will not get maximum convulations on the locations of rings
with different sizes, then can i find them?
Sorry for the long question. Basically, the question is asking whether
the mask size is matter in the template matching. If not, why?
Thanks a lot.
[/quote]
The following link may help you to overcome the fixed template size problem:
http://www.lps.usp.br/~hae/software/cirateg/index.html
Regards,
Elmar |
|
| |
|
Back to top |
|