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
0fd0acf2
Commit
0fd0acf2
authored
Jul 07, 2016
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GDCM: modified compilation scheme
- renamed source files - guard the contents - always include
parent
6f22f49c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
CMakeLists.txt
modules/imgcodecs/CMakeLists.txt
+0
-5
grfmt_gdcm.cpp
modules/imgcodecs/src/grfmt_gdcm.cpp
+6
-1
grfmt_gdcm.hpp
modules/imgcodecs/src/grfmt_gdcm.hpp
+6
-0
grfmts.hpp
modules/imgcodecs/src/grfmts.hpp
+1
-0
loadsave.cpp
modules/imgcodecs/src/loadsave.cpp
+0
-3
No files found.
modules/imgcodecs/CMakeLists.txt
View file @
0fd0acf2
...
...
@@ -63,11 +63,6 @@ endif()
file
(
GLOB grfmt_hdrs
${
CMAKE_CURRENT_LIST_DIR
}
/src/grfmt*.hpp
)
file
(
GLOB grfmt_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/grfmt*.cpp
)
if
(
HAVE_GDCM
)
list
(
APPEND grfmt_hdrs
${
CMAKE_CURRENT_LIST_DIR
}
/src/gdcm_dicom.hpp
)
list
(
APPEND grfmt_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/gdcm_dicom.cpp
)
endif
()
list
(
APPEND grfmt_hdrs
${
CMAKE_CURRENT_LIST_DIR
}
/src/bitstrm.hpp
)
list
(
APPEND grfmt_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/bitstrm.cpp
)
list
(
APPEND grfmt_hdrs
${
CMAKE_CURRENT_LIST_DIR
}
/src/rgbe.hpp
)
...
...
modules/imgcodecs/src/g
dcm_dico
m.cpp
→
modules/imgcodecs/src/g
rfmt_gdc
m.cpp
View file @
0fd0acf2
...
...
@@ -41,7 +41,9 @@
//M*/
#include "precomp.hpp"
#include "gdcm_dicom.hpp"
#include "grfmt_gdcm.hpp"
#ifdef HAVE_GDCM
#include <gdcmImageReader.h>
...
...
@@ -214,3 +216,5 @@ bool DICOMDecoder::readData( Mat& csImage )
return
(
bOK
);
}
}
#endif
\ No newline at end of file
modules/imgcodecs/src/g
dcm_dico
m.hpp
→
modules/imgcodecs/src/g
rfmt_gdc
m.hpp
View file @
0fd0acf2
...
...
@@ -43,6 +43,10 @@
#ifndef _GDCM_DICOM_H_
#define _GDCM_DICOM_H_
#include "cvconfig.h"
#ifdef HAVE_GDCM
#include "grfmt_base.hpp"
namespace
cv
...
...
@@ -68,4 +72,6 @@ protected:
}
#endif
#endif
/*_GDCM_DICOM_H_*/
modules/imgcodecs/src/grfmts.hpp
View file @
0fd0acf2
...
...
@@ -54,5 +54,6 @@
#include "grfmt_webp.hpp"
#include "grfmt_hdr.hpp"
#include "grfmt_gdal.hpp"
#include "grfmt_gdcm.hpp"
#endif
/*_GRFMTS_H_*/
modules/imgcodecs/src/loadsave.cpp
View file @
0fd0acf2
...
...
@@ -45,9 +45,6 @@
#include "precomp.hpp"
#include "grfmts.hpp"
#ifdef HAVE_GDCM
#include "gdcm_dicom.hpp"
#endif
#undef min
#undef max
#include <iostream>
...
...
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