Skip to main content

Correlation operator

3 replies [Last post]
drychter
Offline
Joined: 2010-02-18

Hello

I have an image, and a template.

How can i do a correlation between them? Is there any operator or something?

thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Rafael Santos

Drychter.
> I have an image, and a template.
>
> How can i do a correlation between them? Is there any operator or something?
>
Some template matching implementations:
https://jaistuff.dev.java.net/algorithms.html

Rafael

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net

drychter
Offline
Joined: 2010-02-18

Thanks Rafael. It works.
I want to know which method is the best. RandomIterator or Raster access? I have a big image 2736 x 3648 and a template of 100 x 100. it takes long time with RandomIterator, about 50 min. I get reduce time (5 min)scaling the image and the mask 25 percentage

Rafael Santos

I'd guess using a raster will be faster -- the image is not that large.

Rafael

> I want to know which method is the best. RandomIterator or Raster access? I have a big image 2736 x 3648 and a template of 100 x 100. it takes long time with RandomIterator, about 50 min. I get reduce time (5 min)scaling the image and the mask 25 percentage
> [Message sent by forum member 'drychter' (drychter@gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388191
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net