Lines Matching refs:shape
116 if img.shape[1] % 5 != 0:
118 w = img.shape[1]*4/5
119 h = img.shape[0]
166 if img.shape[1] % 3 != 0:
168 w = img.shape[1]*2/3
169 h = img.shape[0]
232 img = numpy.ndarray(shape=(h*w,), dtype='<u2',
368 h,w = r_plane.shape[:2]
418 if len(a.shape) == 3 and a.shape[2] == 3:
421 elif len(a.shape) == 2 or len(a.shape) == 3 and a.shape[2] == 1:
552 h = img.shape[0]
553 w = img.shape[1]
569 hfull = img.shape[0]
570 wfull = img.shape[1]
587 chans = img.shape[2]
602 chans = img.shape[2]
626 (h, w, chans) = img.shape
653 h,w,chans = img.shape
678 chans = img.shape[2]