I am trying to update coordinate points by comparing them to image intensity values. Part of that is being done by the following code:
mult_factor = int((len(