Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos again #159

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading