coastalimagelib/argusIO.py
def cropFrames(self):

        '''
        Function called to crop a debayered frame
        
        '''

        self.gray = np.zeros(((self.vmax - self.vmin), (self.umax - self.umin), self.nFrames), dtype='uint8')

        if self.nFrames == 1:
            self.gray = self.imGrayCV[self.vmin:(self.vmax), self.umin:(self.umax)]
        else:
            for i in range(self.nFrames):
                self.gray[:, :, i] = self.imGrayCV[self.vmin:(self.vmax), self.umin:(self.umax), i]

        Function called to crop a debayered frame
        
        
Function called to crop a debayered frame
Function called to crop a debayered frame
def cropFrames(self):
        self.gray = np.zeros(((self.vmax - self.vmin), (self.umax - self.umin), self.nFrames), dtype='uint8')
        if self.nFrames == 1:
            self.gray = self.imGrayCV[self.vmin:(self.vmax), self.umin:(self.umax)]
        else:
            for i in range(self.nFrames):
                self.gray[:, :, i] = self.imGrayCV[self.vmin:(self.vmax), self.umin:(self.umax), i]
def cropFrames ( self ) : self . gray = np . zeros ( ( ( self . vmax - self . vmin ) , ( self . umax - self . umin ) , self . nFrames ) , dtype = 'uint8' ) if self . nFrames == 1 : self . gray = self . imGrayCV [ self . vmin : ( self . vmax ) , self . umin : ( self . umax ) ] else : for i in range ( self . nFrames ) : self . gray [ : , : , i ] = self . imGrayCV [ self . vmin : ( self . vmax ) , self . umin : ( self . umax ) , i ]
Function called to crop a debayered frame
Function called to crop a debayered frame
'''
        Function called to crop a debayered frame
        
        '''
self