- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use MKL to do NCC in order to find a pattern in a whole image.
It seems that vsldCorrExecX only can do correlation but not NCC.
for example,
pattern = [1 2;
3 4];
image = [1 2;
5 6]
We expect to get 0.9762 for sum((pattern-mean(pattern)).*(image-mean(image)))/sqrt((pattern-mean(pattern))^2*(image-mean(image))^2).
However, we actually get sum(pattern.*image) = 44.
Is there any way to do NCC directly?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Siqing,
You may consider other two library also: Intel IPP or Intel DAAL
https://software.intel.com/en-us/intel-ipp/documentation,
https://software.intel.com/en-us/intel-daal
Which should provide such functionality.
Best Regards,
Ying
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page