Skip to content

Commit

Permalink
Merge pull request #35 from JuliaImages/tag_release
Browse files Browse the repository at this point in the history
Bumps release
  • Loading branch information
zygmuntszpak authored Jul 13, 2021
2 parents 02464cc + 3878b75 commit f171b26
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ImageTracking"
uuid = "7632190a-71f5-11e9-04ef-99e081817785"
version = "0.1.0"
version = "0.2.0"

[deps]
AxisAlgorithms = "13072b0f-2c55-5437-9ae7-d433b7a33950"
Expand Down
2 changes: 1 addition & 1 deletion src/utility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ function calculate_statistics(error::Array{Float64, 2})

# AX stats
AX_count = Dict()
edges, counts = imhist(error)
edges, counts = build_histogram(error)
max_val = maximum(counts)
total_pix = length(error)
pixel_cumulative_count = cumsum(counts)
Expand Down
9 changes: 2 additions & 7 deletions test/error_evaluation.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# We output a message after loading each package to work around a
# ten-minute timeout limit on Travis. Travis assumes the tests have hung
# if the interval between printing something to stdio exceeds ten minutes.
using Images
@info "Finished loading Images package."
using StaticArrays
@info "Finished loading StaticArrays package."

@testset "Error Evaluation" begin
@info "Running flow evaluation test."

img1 = load("../demo/car2.jpg")
img2 = load("../demo/car1.jpg")
img2 = load("../demo/car1.jpg")

algorithm = Farneback(50, estimation_window = 11,
σ_estimation_window = 9.0,
Expand All @@ -35,4 +30,4 @@ using StaticArrays
@test ep_AX[0.5] < 1e-5
@test ang_RX[0.5] == 0
@test ang_AX[0.5] < 1e-5
end;
end
11 changes: 1 addition & 10 deletions test/farneback.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# We output a message after loading each package to work around a
# ten-minute timeout limit on Travis. Travis assumes the tests have hung
# if the interval between printing something to stdio exceeds ten minutes.
using Images
@info "Finished loading Images package."
using TestImages
@info "Finished loading TestImages package."
using StaticArrays
@info "Finished loading StaticArrays package."
using OffsetArrays
@info "Finished loading OffsetArrays package."
using Random
@info "Finished loading Random package."
using CoordinateTransformations
@info "Finished loading CoordinateTransformations package."

function evaluate_error(dims, flow::Array{SVector{2, Float64}, 2}, Δ, tol)
error_count = 0
Expand Down Expand Up @@ -164,4 +155,4 @@ end

end

end;
end
9 changes: 1 addition & 8 deletions test/visualization.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# We output a message after loading each package to work around a
# ten-minute timeout limit on Travis. Travis assumes the tests have hung
# if the interval between printing something to stdio exceeds ten minutes.
using Images
@info "Finished loading Images package."
using StaticArrays
@info "Finished loading StaticArrays package."



@testset "Visualization" begin
@info "Running flow visualization test."
Expand All @@ -25,4 +18,4 @@ using StaticArrays
@test hsv[2] == hsv[4]
@test hsv[3] == hsv[5]

end;
end

2 comments on commit f171b26

@zygmuntszpak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/40795

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.0 -m "<description of version>" f171b2681be39790aedf4ebe760072afca5a3cf2
git push origin v0.2.0

Please sign in to comment.