How to extract point cloud data and arrange it according to the format (height * width) of the image?

Please do not ask for the same question more than a time.

You can find a reply in the other post: