Help please with 'Index out of bounds error'

Continuing the discussion from Index is out of bounds error!:


I had posted my question on the analysis thread, but perhaps here is more appropriate. A few people kindly replied and added on to the fact that there are several cases facing a similar problem.

Could anyone please check my initial question & pipeline (Index is out of bounds error!) and offer some help/input?
The error comes on all my images, and I have no clue on how to change the type of the .tif of my images.

Thank you for your time, in advance.

Best wishes,