Hey everyone,
I'm trying to get the maximum value in a line in an 2d array. For example is this greyscale image. For me it's no problem to calculate the horizontal and vertical maximum grey value.
However, I don't have a clue how to calculate an angled line (green line) from this 2d array.
Anyone can help me out with this.