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
76f47548
Commit
76f47548
authored
Aug 20, 2018
by
Colin Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add export macro for ios conversion functions
parent
3c03fb56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ios.h
modules/imgcodecs/include/opencv2/imgcodecs/ios.h
+3
-3
ios_conversions.mm
modules/imgcodecs/src/ios_conversions.mm
+2
-2
No files found.
modules/imgcodecs/include/opencv2/imgcodecs/ios.h
View file @
76f47548
...
...
@@ -50,8 +50,8 @@
//! @addtogroup imgcodecs_ios
//! @{
UIImage
*
MatToUIImage
(
const
cv
::
Mat
&
image
);
void
UIImageToMat
(
const
UIImage
*
image
,
cv
::
Mat
&
m
,
bool
alphaExist
=
false
);
CV_EXPORTS
UIImage
*
MatToUIImage
(
const
cv
::
Mat
&
image
);
CV_EXPORTS
void
UIImageToMat
(
const
UIImage
*
image
,
cv
::
Mat
&
m
,
bool
alphaExist
=
false
);
//! @}
modules/imgcodecs/src/ios_conversions.mm
View file @
76f47548
...
...
@@ -47,8 +47,8 @@
#include "opencv2/core.hpp"
#include "precomp.hpp"
UIImage* MatToUIImage(const cv::Mat& image);
void UIImageToMat(const UIImage* image, cv::Mat& m, bool alphaExist);
CV_EXPORTS
UIImage* MatToUIImage(const cv::Mat& image);
CV_EXPORTS
void UIImageToMat(const UIImage* image, cv::Mat& m, bool alphaExist);
UIImage* MatToUIImage(const cv::Mat& image) {
...
...
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