trans.py is for depth and rgb images. trans_pose.py is for poses text. trans_rgb.py is for converting grey images to color images.
To use these tools, you can change the rgb_path, depth_path, bag_name, topic_name and generated files' names(depth.txt, rgb.txt) as your own.