import tensorflow as tf


		# crop for patch training
		crop_h = h//self.crop_factor
		crop_w = w//self.crop_factor
		rgb = tf.image.random_crop(rgb,size=[crop_h,crop_w,c])

		# random left-right flops
		rgb = tf.image.random_flip_left_right(rgb)
