200 likes | 350 Views
Texture with Moments. Longin Jan Latecki CIS Dept. Temple Univ., Philadelphia latecki@temple.edu with some slides from David Kriegman , UCSD . Texture examples. Wheat. Alfalfa. Alfalfa. Forest. Forest. Corn. Corn. Wheat. Alfalfa. Alfalfa. Corn. Wheat. Soybean. Corn. Corn.
E N D
Texture with Moments Longin Jan Latecki CIS Dept. Temple Univ., Philadelphia latecki@temple.edu with some slides from David Kriegman, UCSD
Wheat Alfalfa Alfalfa Forest Forest Corn Corn Wheat Alfalfa Alfalfa Corn Wheat Soybean Corn Corn Corn Corn Corn Forest Forest Alfalfa Alfalfa Corn Soybean Corn Spatial Resolution = 6 m
p, q = 0, 1, 2, …; • = (p + q / 2) +1; p+q = 2, 3, …
Seven 2D moment invariants that are invariant to translation, scale, mirroring, and rotation. 1 = 20 + 02 2 = (20 - 02)2 + 4211 3 = (30 - 312)2 + (03 - 321)2 4= (30 + 12)2 + (03 + 21)2 5 = (330 - 312)(30 + 12)[(30 + 12)2 –3(21 + 03)2] + (321 - 03)(21 + 03) [3(30 + 12)2 – (21 + 03)2] Hu, M. K. (1962) Visual Pattern Recognition by Moment Invariants, IEEE Transactions on Information Theory, Vol IT-8.
6 = (20 - 02)[(30 + 12)2 – (21 + 03)2] + 411(30 + 12)(21 + 03) 7 = (321 - 03)(30 + 12)[(30 + 12)2 - 3(21 + 03)2] + (312 - 30)(21 + 03) [3(30 + 12)2 – (21 + 30)2]
y x
Matlab function • invmoments