(self, filename)
return imgdata
Read a depth-map
        :param filename: file name to load
        :return: image data of depth image
Read a depth-map
        :param filename: file name to load
        :return: image data of depth image
Read a depth - map : param filename : file name to load : return : image data of depth image
def loadDepthMap(self, filename):
        """
        Read a depth-map
        :param filename: file name to load
        :return: image data of depth image
        """

        img = Image.open(filename)  # open image

        assert len(img.getbands()) == 1  # ensure depth image
        imgdata = np.asarray(img, np.float32)

        return imgdata
def loadDepthMap ( self , filename ) : img = Image . open ( filename ) # open image assert len ( img . getbands ( ) ) == 1 # ensure depth image imgdata = np . asarray ( img , np . float32 ) return imgdata