mirror of
https://github.com/esimov/caire.git
synced 2025-09-26 20:41:14 +08:00
Small typo fix
This commit is contained in:
@@ -182,9 +182,8 @@ func (c *Carver) FindLowestEnergySeams() []Seam {
|
||||
seams = append(seams, Seam{X: px, Y: c.Height - 1})
|
||||
var left, middle, right float64
|
||||
|
||||
// Walk up in the matrix table,
|
||||
// check the immediate three top pixel seam level and
|
||||
// add add the one which has the lowest cumulative energy.
|
||||
// Walk up in the matrix table check the immediate three top pixel seam level
|
||||
// and add the one which has the lowest cumulative energy.
|
||||
for y := c.Height - 2; y >= 0; y-- {
|
||||
middle = c.get(px, y)
|
||||
// Leftmost seam, no child to the left
|
||||
|
Reference in New Issue
Block a user