There are several extremely useful tools available in ROS to visualize these types of data, such as image_view and rqt_image_view for 2D data. Similarly, in ROS, we have rviz and rqt_rviz, which integrates an OpenGL interface with a 3D world that represents sensor data in a world representation.