Created
June 2, 2015 07:25
-
-
Save luoyetx/48f50b178bcabcad6f08 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #define C_IplImage_T_RwImage(ipl, rwi) do { \ | |
| (rwi).height = (ipl).height; (rwi).width = (ipl).width; \ | |
| (rwi).image_size = (ipl).imageSize; (rwi).widthStep = (ipl).widthStep; \ | |
| (rwi).imagedata = (uchar*)((ipl).imageData); \ | |
| } while(0) | |
| #define C_RwImage_T_IplImage(rwi, ipl) do { \ | |
| (ipl).height = (rwi).height; (ipl).width = (rwi).width; \ | |
| (ipl).imageSize = (rwi).image_size; (ipl).widthStep = (rwi).widthStep; \ | |
| (ipl).imageData = (uchar*)((rwi).imagedata); \ | |
| } while(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment