How to run render_pointcloud_in_image based on an image path

I have 2 questions:
How to run render_pointcloud_in_image based on a camera image path as a parameter only?
Also, is it possible to run render_pointcloud_in_image on the data in the sweeps folder?