Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
campvis-public
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CAMP
campvis-public
Commits
b501af81
Commit
b501af81
authored
Sep 11, 2014
by
Hossain Mahmud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jenkins fix
#1
parent
cc13551b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
test/visregtests/script.py
test/visregtests/script.py
+1
-2
No files found.
test/visregtests/script.py
View file @
b501af81
...
...
@@ -97,7 +97,6 @@ for case in casesDir :
if
(
ref
.
shape
==
testim
.
shape
)
:
test
=
np
.
abs
(
ref
.
astype
(
int
)
-
testim
.
astype
(
int
));
else
:
print
"i'm in else! HELP me!"
test
=
ref
;
# Store fully opaque image
rgb
=
test
[:,
:,
:
3
];
...
...
@@ -109,7 +108,7 @@ for case in casesDir :
# Calculate MSE and SSIM
mse
=
np
.
linalg
.
norm
(
test
);
reff
=
color
.
rgb2gray
(
ref
);
testf
=
color
.
rgb2gray
(
test
);
testf
=
color
.
rgb2gray
(
test
.
astype
(
float
)
);
ssimval
=
ssim
(
reff
,
testf
);
# XML
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment