Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - x11
Search - x11 - List
a or b is not integer a = double(uint16(xx)) (a,b) is the base-dot b = double(uint16(yy)) x11 = double(I(a,b)) x11 <- I(a,b) x12 = double(I(a,b+1)) x12 <- I(a,b+1) x21 = double(I(a+1,b)) x21 <- I(a+1,b) x22 = double(I(a+1,b+1)) x22 <- I(a+1,b+1) J(x,y) = uint8( (b+1-yy) * ((xx-a)*x21 + (a+1-xx)*x11) + (yy-b) * ((xx-a)*x22 +(a+1-xx) * x12) ) calculate J(x,y) end end end- a or b is not integer a = double(uint16(xx)) (a,b) is the base-dot b = double(uint16(yy)) x11 = double(I(a,b)) x11 <- I(a,b) x12 = double(I(a,b+1)) x12 <- I(a,b+1) x21 = double(I(a+1,b)) x21 <- I(a+1,b) x22 = double(I(a+1,b+1)) x22 <- I(a+1,b+1) J(x,y) = uint8( (b+1-yy) * ((xx-a)*x21 + (a+1-xx)*x11) + (yy-b) * ((xx-a)*x22 +(a+1-xx) * x12) ) calculate J(x,y) end end end
Date : 2026-01-10 Size : 1kb User : Felix
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.