UNIT_VECTOR_NORM_CVIP
unit_vector_norm_cvip() - applies unit vector normalization to set of feature vectors in a matrix.
Contents
SYNTAX
a = unit_vector_norm_cvip(vector)
Input Parameter include :
- vector - An m by n numerical matrix where m is the number of vectors and n is the length of each row vector. Output Parameter include :
- a - A matrix with the same size as the input 'vector', where each column(feature vector) is normalized by unit vector normalization method.
DESCRIPTION
This function normalizes the feature vector input based on the unit vector normalization method. Each column of the input matrix is scaled by the square root of the sum of squares of the features in each vector.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
% input vector vectors = randn(13,6); % Call function a = unit_vector_norm_cvip(vectors)
a = 0.0814 -0.0174 0.1689 -0.6231 -0.3479 0.0215 0.2776 0.1969 -0.0705 -0.0372 -0.3190 -0.3727 -0.3419 -0.0565 0.0683 -0.0879 -0.0020 -0.1855 0.1305 -0.0342 -0.1829 0.1162 0.4391 -0.2653 0.0482 0.4104 0.2064 0.1139 -0.2205 0.5874 -0.1979 0.3882 -0.2665 -0.3149 0.1064 -0.1538 -0.0656 0.3904 -0.2484 -0.0109 -0.0646 0.1869 0.0519 0.1850 -0.1881 -0.0600 0.3201 -0.0481 0.5416 -0.3327 -0.6842 0.2285 -0.3120 0.2221 0.4192 0.1976 0.3342 0.3980 0.0093 -0.1911 -0.2043 0.4491 0.0756 0.4038 0.1583 -0.3504 0.4594 0.1347 -0.1754 -0.3144 0.3153 -0.3555 0.1098 0.2851 0.3184 0.0282 0.4425 0.1220
CREDITS
Author: Norsang Lama, March 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website