Add image size
Delete type declaration and use ExtactHoG function