File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ md"""
396
396
👉 Define a `least_energy` function which returns:
397
397
1. the lowest possible total energy for a seam starting at the pixel at $(i, j)$;
398
398
2. the column to jump to on the next move (in row $i + 1$),
399
- which is one of $j-1$, $j$ or $j+1$, up toboundary conditions.
399
+ which is one of $j-1$, $j$ or $j+1$, up to boundary conditions.
400
400
401
401
Return these two values in a tuple.
402
402
"""
642
642
643
643
# ╔═╡ d88bc272-f392-11ea-0efd-15e0e2b2cd4e
644
644
if shrink_recursive
645
- recursive_carved = shrink_n (img, 200 , recursive_seam)
645
+ recursive_carved = shrink_n (img, 3 , recursive_seam)
646
646
md " Shrink by: $(@bind recursive_n Slider(1:200, show_value=true))"
647
647
end
648
648
697
697
698
698
# ╔═╡ ddba07dc-f3b7-11ea-353e-0f67713727fc
699
699
# Do not make this image bigger, it will be infeasible to compute.
700
- pika = decimate (load (download (" https://art.pixilart.com/901d53bcda6b27b.png" )),77 )
700
+ pika = decimate (load (download (" https://art.pixilart.com/901d53bcda6b27b.png" )),150 )
701
701
702
702
# ╔═╡ 73b52fd6-f3b9-11ea-14ed-ebfcab1ce6aa
703
703
size (pika)
You can’t perform that action at this time.
0 commit comments