(self)
Load the image file self.imgfile to self.input_img. Additionally set the image width and height (self.img_w
        and self.img_h)
Load the image file self.imgfile to self.input_img. Additionally set the image width and height (self.img_w
        and self.img_h)
Load the image file self . imgfile to self . input_img . Additionally set the image width and height ( self . img_w and self . img_h )
def _load_imgfile(self):  
        """Load the image file self.imgfile to self.input_img. Additionally set the image width and height (self.img_w
        and self.img_h)"""      
        self.input_img = cv2.imread(self.imgfile)
        if self.input_img is None:
            raise IOError("could not load file '%s'" % self.imgfile)

        self.img_h, self.img_w = self.input_img.shape[:2]
def _load_imgfile ( self ) : self . input_img = cv2 . imread ( self . imgfile ) if self . input_img is None : raise IOError ( "could not load file '%s'" % self . imgfile ) self . img_h , self . img_w = self . input_img . shape [ : 2 ]