(self, sample)
return ret
Denormalize sample from metric 3D to image coordinates
        :param sample: joints in (x,y,z) with x,y and z in mm
        :return: joints in (x,y,z) with x,y in image coordinates and z in mm
Denormalize sample from metric 3D to image coordinates
        :param sample: joints in (x,y,z) with x,y and z in mm
        :return: joints in (x,y,z) with x,y in image coordinates and z in mm
Denormalize sample from metric 3D to image coordinates : param sample : joints in ( x y z ) with x y and z in mm : return : joints in ( x y z ) with x y in image coordinates and z in mm
def joints3DToImg(self, sample):
        """
        Denormalize sample from metric 3D to image coordinates
        :param sample: joints in (x,y,z) with x,y and z in mm
        :return: joints in (x,y,z) with x,y in image coordinates and z in mm
        """
        ret = np.zeros((sample.shape[0], 3), np.float32)
        for i in range(sample.shape[0]):
            ret[i] = self.joint3DToImg(sample[i])
        return ret
def joints3DToImg ( self , sample ) : ret = np . zeros ( ( sample . shape [ 0 ] , 3 ) , np . float32 ) for i in range ( sample . shape [ 0 ] ) : ret [ i ] = self . joint3DToImg ( sample [ i ] ) return ret