-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DIP][OSPP] Add JPEG image encoding and decoding. (#222)
* [DIP][OSPP] Add JPEG image encoding and decoding. * Added opencv options for dip * Minor modification syntax
- Loading branch information
1 parent
7b2e447
commit 284b0ee
Showing
14 changed files
with
994 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
set(DIP_LIBS ${JPEG_LIBRARY} ${PNG_LIBRARY} BuddyLibDIP) | ||
|
||
if(BUDDY_ENABLE_OPENCV) | ||
find_package(OpenCV REQUIRED CONFIG) | ||
include_directories(${OpenCV_INCLUDE_DIRS}) | ||
endif() | ||
|
||
add_executable(correlation2D correlation2D.cpp) | ||
target_link_libraries(correlation2D ${OpenCV_LIBS} BuddyLibDIP) | ||
add_executable(correlation2D correlation2D.cpp) | ||
target_link_libraries(correlation2D ${OpenCV_LIBS} ${DIP_LIBS}) | ||
|
||
add_executable(correlationFFT2D correlationFFT2D.cpp) | ||
target_link_libraries(correlationFFT2D ${OpenCV_LIBS} ${DIP_LIBS}) | ||
|
||
add_executable(correlationFFT2D correlationFFT2D.cpp) | ||
target_link_libraries(correlationFFT2D ${OpenCV_LIBS} BuddyLibDIP) | ||
add_executable(morph2D morph2D.cpp) | ||
target_link_libraries(morph2D ${OpenCV_LIBS} ${DIP_LIBS}) | ||
|
||
add_executable(dip-all DIPAll.cpp) | ||
target_link_libraries(dip-all ${OpenCV_LIBS} ${DIP_LIBS}) | ||
|
||
add_executable(opencv-all OpenCVAll.cpp) | ||
target_link_libraries(opencv-all ${OpenCV_LIBS}) | ||
endif() | ||
|
||
add_executable(rotation2D rotation2D.cpp) | ||
target_link_libraries(rotation2D ${OpenCV_LIBS} BuddyLibDIP) | ||
target_link_libraries(rotation2D ${DIP_LIBS}) | ||
|
||
add_executable(resize2D resize2D.cpp) | ||
target_link_libraries(resize2D ${OpenCV_LIBS} BuddyLibDIP) | ||
target_link_libraries(resize2D ${DIP_LIBS}) | ||
|
||
add_executable(morph2D morph2D.cpp) | ||
target_link_libraries(morph2D ${OpenCV_LIBS} BuddyLibDIP) | ||
|
||
add_executable(dip-all DIPAll.cpp) | ||
target_link_libraries(dip-all ${OpenCV_LIBS} BuddyLibDIP) | ||
|
||
add_executable(opencv-all OpenCVAll.cpp) | ||
target_link_libraries(opencv-all ${OpenCV_LIBS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.