Here you don't probably need `rows` and `cols` since the `m_points` already contains this information.