pub type PtrOfLpMotionStabilizer = Ptr<LpMotionStabilizer>;
assumes that [0, size-1) is in or equals to [range.first, range.second)