@ptrblck Many Thanks for your help. I would like to implement this into a training model. My aim by doing this, is to increase the number of images for training. The idea i have is to split each image into 4 patches prior to the model training, which works by counting the number of cells in a microscopy image. After splitting each image into 4 patches i would like to do a count of each patch then sum the total. Is this feasible to do or would you recommend a different method? Many Thanks