Skip to content

Commit

Permalink
Merge pull request #159 from kianmeng/fix-typos-again
Browse files Browse the repository at this point in the history
Fix typos again
  • Loading branch information
akash-akya authored Jul 26, 2024
2 parents d9e1863 + 06ad8c4 commit b982aa6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion livebooks/auto_correct_rotation.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ lines. Now we just need to find the angle.

## Finding the angle

As said before ouput of image of Fourier Transform will be in complex band format.
As said before output of image of Fourier Transform will be in complex band format.
The real part of it is amplitude, which is what we are
seeing as lines and there is imaginary part which is phase.

Expand Down
4 changes: 2 additions & 2 deletions livebooks/rainbow.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ width = height = 255
# pixel right-bottom will be `{255, 255}` (white)
xy = Operation.xyz!(width, height)

# Display how axis values are chaning
# Display how axis values are chaining
Kino.Layout.grid([Kino.Text.new("X-Axis"), Kino.Text.new("Y-Axis"), xy[0], xy[1]], columns: 2)
|> Kino.render()

Expand Down Expand Up @@ -274,7 +274,7 @@ defmodule ComplexOps do
# [new_x, new_y] = map[x, y]
# out[x, y] = img[new_x, new_y]
#
# mapim is to roate, displace, distort, any type of spatial operations.
# mapim is to rotate, displace, distort, any type of spatial operations.
# where the pixel value (color) remain same but the position is changed.
Operation.mapim!(img, xy, background: background)
end
Expand Down
2 changes: 1 addition & 1 deletion test/vix/vips/access_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ defmodule Vix.Vips.AccessTest do
test "Access behaviour with invalid dimensions" do
{:ok, im} = Image.new_from_file(img_path("puppies.jpg"))

# Negative indicies can't include 0 since thats a wrap-around
# Negative indices can't include 0 since that's a wrap-around
assert_raise ArgumentError, "Invalid range -3..0", fn ->
im[[-3..0]]
end
Expand Down

0 comments on commit b982aa6

Please sign in to comment.