Below is part of the code with the array I am talking about. It is a 2D list. My only knowledge of 2D list accessing is to reference each index, such as list[0][0] would give you the first item in the list. This line "img[0: lengthList[i], widthList[i]: widthList[i+1]] = outPut" has a lot of colons in it. what does the "0:" part mean? What does "widthList[i]: widthList[i+1]" mean?
When I try looking up more advanced array concepts in python I just get tutorials for things I already know how to do. Here an example where that list is being used.
img = np.zeros((length, width), np.float32)
for i in range(len(images)):
output = np.zeros(images[i].shape)
output = normalize(images[i])
img[0: lengthList[i], widthList[i]: widthList[i+1]] = outPut