code: def rosmsg(self):
          
          from cv_bridge import CvBridge, CvBridgeError
          cv_bridge = CvBridge()
          try:
              return cv_bridge.cv2_to_imgmsg(self._data, encoding=self._encoding)
          except CvBridgeError as cv_bridge_exception:
              logging.error('%s' % (str(cv_bridge_exception)))
docs: :obj:`sensor_msgs.Image` : ROS Image