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