Calculate_optimal_path confusion

as I understood I should start on given x coordinate in the bottom row and save x coordinates for the best (minimal energy) path from bottom to top, should I also save first given x coordinate as the first entry in the seam array?

Have a closer look at the definition of a seam in 1.1 of the project description PDF. This should answer your question.

1 Like