Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
b0ca93b2
Commit
b0ca93b2
authored
Jan 12, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
by default enabled tests vtk
parent
d7c30281
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
CMakeLists.txt
CMakeLists.txt
+1
-1
tests_simple.cpp
modules/viz/test/tests_simple.cpp
+12
-12
No files found.
CMakeLists.txt
View file @
b0ca93b2
...
@@ -116,7 +116,7 @@ endif()
...
@@ -116,7 +116,7 @@ endif()
OCV_OPTION
(
WITH_1394
"Include IEEE1394 support"
ON
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_1394
"Include IEEE1394 support"
ON
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_AVFOUNDATION
"Use AVFoundation for Video I/O"
ON IF IOS
)
OCV_OPTION
(
WITH_AVFOUNDATION
"Use AVFoundation for Video I/O"
ON IF IOS
)
OCV_OPTION
(
WITH_CARBON
"Use Carbon for UI instead of Cocoa"
OFF IF APPLE
)
OCV_OPTION
(
WITH_CARBON
"Use Carbon for UI instead of Cocoa"
OFF IF APPLE
)
OCV_OPTION
(
WITH_VTK
"Include VTK library support (and build opencv_viz module eiher)"
O
FF
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_VTK
"Include VTK library support (and build opencv_viz module eiher)"
O
N
IF
(
NOT ANDROID AND NOT IOS
)
)
OCV_OPTION
(
WITH_CUDA
"Include NVidia Cuda Runtime support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_CUDA
"Include NVidia Cuda Runtime support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_CUFFT
"Include NVidia Cuda Fast Fourier Transform (FFT) library support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_CUFFT
"Include NVidia Cuda Fast Fourier Transform (FFT) library support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_CUBLAS
"Include NVidia Cuda Basic Linear Algebra Subprograms (BLAS) library support"
OFF
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_CUBLAS
"Include NVidia Cuda Basic Linear Algebra Subprograms (BLAS) library support"
OFF
IF
(
NOT IOS
)
)
...
...
modules/viz/test/tests_simple.cpp
View file @
b0ca93b2
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
using
namespace
cv
;
using
namespace
cv
;
using
namespace
cv
::
viz
;
using
namespace
cv
::
viz
;
TEST
(
Viz
,
DISABLED_
show_cloud_bluberry
)
TEST
(
Viz
,
show_cloud_bluberry
)
{
{
Mat
dragon_cloud
=
readCloud
(
get_dragon_ply_file_path
());
Mat
dragon_cloud
=
readCloud
(
get_dragon_ply_file_path
());
...
@@ -73,7 +73,7 @@ TEST(Viz, show_cloud_random_color)
...
@@ -73,7 +73,7 @@ TEST(Viz, show_cloud_random_color)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_cloud_masked
)
TEST
(
Viz
,
show_cloud_masked
)
{
{
Mat
dragon_cloud
=
readCloud
(
get_dragon_ply_file_path
());
Mat
dragon_cloud
=
readCloud
(
get_dragon_ply_file_path
());
...
@@ -90,7 +90,7 @@ TEST(Viz, DISABLED_show_cloud_masked)
...
@@ -90,7 +90,7 @@ TEST(Viz, DISABLED_show_cloud_masked)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_cloud_collection
)
TEST
(
Viz
,
show_cloud_collection
)
{
{
Mat
cloud
=
readCloud
(
get_dragon_ply_file_path
());
Mat
cloud
=
readCloud
(
get_dragon_ply_file_path
());
...
@@ -105,7 +105,7 @@ TEST(Viz, DISABLED_show_cloud_collection)
...
@@ -105,7 +105,7 @@ TEST(Viz, DISABLED_show_cloud_collection)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_mesh
)
TEST
(
Viz
,
show_mesh
)
{
{
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
...
@@ -117,7 +117,7 @@ TEST(Viz, DISABLED_show_mesh)
...
@@ -117,7 +117,7 @@ TEST(Viz, DISABLED_show_mesh)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_mesh_random_colors
)
TEST
(
Viz
,
show_mesh_random_colors
)
{
{
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
theRNG
().
fill
(
mesh
.
colors
,
RNG
::
UNIFORM
,
0
,
255
);
theRNG
().
fill
(
mesh
.
colors
,
RNG
::
UNIFORM
,
0
,
255
);
...
@@ -131,7 +131,7 @@ TEST(Viz, DISABLED_show_mesh_random_colors)
...
@@ -131,7 +131,7 @@ TEST(Viz, DISABLED_show_mesh_random_colors)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_polyline
)
TEST
(
Viz
,
show_polyline
)
{
{
Mat
polyline
(
1
,
32
,
CV_64FC3
);
Mat
polyline
(
1
,
32
,
CV_64FC3
);
for
(
size_t
i
=
0
;
i
<
polyline
.
total
();
++
i
)
for
(
size_t
i
=
0
;
i
<
polyline
.
total
();
++
i
)
...
@@ -143,7 +143,7 @@ TEST(Viz, DISABLED_show_polyline)
...
@@ -143,7 +143,7 @@ TEST(Viz, DISABLED_show_polyline)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_sampled_normals
)
TEST
(
Viz
,
show_sampled_normals
)
{
{
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
Mesh
mesh
=
Mesh
::
load
(
get_dragon_ply_file_path
());
computeNormals
(
mesh
,
mesh
.
normals
);
computeNormals
(
mesh
,
mesh
.
normals
);
...
@@ -157,7 +157,7 @@ TEST(Viz, DISABLED_show_sampled_normals)
...
@@ -157,7 +157,7 @@ TEST(Viz, DISABLED_show_sampled_normals)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_trajectories
)
TEST
(
Viz
,
show_trajectories
)
{
{
std
::
vector
<
Affine3d
>
path
=
generate_test_trajectory
<
double
>
(),
sub0
,
sub1
,
sub2
,
sub3
,
sub4
,
sub5
;
std
::
vector
<
Affine3d
>
path
=
generate_test_trajectory
<
double
>
(),
sub0
,
sub1
,
sub2
,
sub3
,
sub4
,
sub5
;
...
@@ -189,7 +189,7 @@ TEST(Viz, DISABLED_show_trajectories)
...
@@ -189,7 +189,7 @@ TEST(Viz, DISABLED_show_trajectories)
//viz.spin();
//viz.spin();
}
}
TEST
(
Viz
,
DISABLED_
show_trajectory_reposition
)
TEST
(
Viz
,
show_trajectory_reposition
)
{
{
std
::
vector
<
Affine3f
>
path
=
generate_test_trajectory
<
float
>
();
std
::
vector
<
Affine3f
>
path
=
generate_test_trajectory
<
float
>
();
...
@@ -199,7 +199,7 @@ TEST(Viz, DISABLED_show_trajectory_reposition)
...
@@ -199,7 +199,7 @@ TEST(Viz, DISABLED_show_trajectory_reposition)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_camera_positions
)
TEST
(
Viz
,
show_camera_positions
)
{
{
Matx33d
K
(
1024.0
,
0.0
,
320.0
,
0.0
,
1024.0
,
240.0
,
0.0
,
0.0
,
1.0
);
Matx33d
K
(
1024.0
,
0.0
,
320.0
,
0.0
,
1024.0
,
240.0
,
0.0
,
0.0
,
1.0
);
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
...
@@ -222,7 +222,7 @@ TEST(Viz, DISABLED_show_camera_positions)
...
@@ -222,7 +222,7 @@ TEST(Viz, DISABLED_show_camera_positions)
viz
.
spin
();
viz
.
spin
();
}
}
TEST
(
Viz
,
DISABLED_
show_overlay_image
)
TEST
(
Viz
,
show_overlay_image
)
{
{
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
Mat
gray
=
make_gray
(
lena
);
Mat
gray
=
make_gray
(
lena
);
...
@@ -253,7 +253,7 @@ TEST(Viz, DISABLED_show_overlay_image)
...
@@ -253,7 +253,7 @@ TEST(Viz, DISABLED_show_overlay_image)
}
}
TEST
(
Viz
,
DISABLED_
show_image_method
)
TEST
(
Viz
,
show_image_method
)
{
{
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
Mat
lena
=
imread
(
Path
::
combine
(
cvtest
::
TS
::
ptr
()
->
get_data_path
(),
"lena.png"
));
...
...
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