Struck tracking algorithm (4)

Source: Internet
Author: User

Next, we analyze raw features and histogram features.

Raw features: scales an image to a 16*16 pixel space. The pixel values are dimmed to (0, 1). Combined with the Gaussian Kernel function, then we get the 16*16 = 256 feature vector.

The source code is as follows:

/** Struck: Structured output tracking with kernels ** code to accompany the paper: * struck: Structured output tracking with kernels * Sam hare, Amir saffari, Philip H. s. torr * International Conference on Computer Vision (iccv), 2011 ** copyright (c) 2011 Sam hare, Oxford Brookes University, Oxford, UK ** this file is part struof ck. ** struck is free software: You can redistribute it And/o R modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. ** struck is distributed in the hope that it will be useful, * but without any warranty; without even the implied warranty of * merchantability or fitness for a particle purpose. see the * GNU General Public Lic Ense for more details. ** you shoshould have written ed a copy of the GNU General Public License * along with struck. if not, see  

Histogram features: The image is divided into four layers, and the I layer is divided into I * I cells. Each cell calculates its 16 intensity histogram Statistical Distribution vectors, the feature dimension is (1 + 4 + 9 + 16) x 16 = 480 dimension.

/** Struck: Structured output tracking with kernels ** code to accompany the paper: * struck: Structured output tracking with kernels * Sam hare, Amir saffari, Philip H. s. torr * International Conference on Computer Vision (iccv), 2011 ** copyright (c) 2011 Sam hare, Oxford Brookes University, Oxford, UK ** this file is part struof ck. ** struck is free software: You can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the license, or * (at your option) any later version. ** struck is distributed in the hope that it will be useful, * but without any warranty; without even the implied warranty of * merchantability or fitness for a particle purpose. see the * GNU General Public License for more details. ** you shoshould have written ed a copy of the GNU General Public License * along with struck. if not, see 





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.