Skip to main content
. Author manuscript; available in PMC: 2014 Apr 11.
Published in final edited form as: IEEE Trans Image Process. 2013 Apr 4;22(7):2723–2736. doi: 10.1109/TIP.2013.2256919

Algorithm 1.

TGP Regression to Map Features from Visual Space to BIS [31]

Input: N training data represented by visual features as: X = (x1,x2,…,xN), with xi = (xi,1, xi,2,…,xi,d1) and represented by BIS features as: Y = (y1,y2,…,yN), with yi = (yi,1, yi,2,…, yi,d2);
 A test data with only visual features, xN+1.
Output: Predicted BIS features of the test data, yN+1.
Step1: Compute the kernel matrix KX and KY, where
(KX)i,j=ϕ(xi)Tϕ(xj)=KX(xi,xj)=exp(-θxxi-xj2)+λxδi,j
 Here, θx ≥ 0 is the kernel width parameter, λx ≥ 0 is the noise variance, and δi,j is the Kronecker delta function. KY is defined in the same way;
Step2: For xN+1, predict yN+1 by optimizing the following function [31]:
F(yN+1)=KY(yN+1,yN+1)-2μTKYyN+1-νlog[KY(yN+1,yN+1)-(KYyN+1)TKY-1KYyN+1]
 where μ=KX-1KXxN+1 and Equation. ν=KX(xN+1,xN+1)-(KXxN+1)TKX-1KXxN+1.KXxN+1 is a N × 1 column vector with (KXxN+1)i=KX(xi,xN+1);
Return: yN+1.