- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/tmp/cctK9Ema.o(.text+0x476): In function `iplWarpAffine(_IplImage*, _IplImage*, double const (*) [3], int)':
: undefined reference to `ippiWarpAffine_8u_C3R'
/tmp/cctK9Ema.o(.text+0x5e6): In function `rotateImage(_IplImage*, _IplImage*, float)':
: undefined reference to `ippiWarpAffine_8u_C3R'
Message Edited by avenk on 08-21-2005 10:24 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
export PKG_CONFIG_PATH=/usr/local/packages; g++ -o warp -g
-I/opt/intel/ipp41/ia32_itanium/include
`pkg-config --cflags opencv` warp.cc rotate.cpp
`pkg-config --libs opencv`
-L/opt/intel/ipp41/ia32_itanium/lib
-lippiemerged -lippimerged -lippcore
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x51b): In function `px_ownpi_WarpAffine':
: undefined reference to `px_ippsFree'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x2e12): In function `a6_ownpi_WarpAffine':
: undefined reference to `a6_ippsFree'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x2ee8): In function `a6_ownpi_WarpAffine':
: undefined reference to `a6_ippsFree'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x2f07): In function `a6_ownpi_WarpAffine':
: undefined reference to `a6_ippsMalloc_8u'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x3242): In function `w7_ownpi_WarpAffine':
: undefined reference to `w7_ippsFree'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x3321): In function `w7_ownpi_WarpAffine':
: undefined reference to `w7_ippsFree'
/opt/intel/ipp41/ia32_itanium/lib/libippimerged.a(piwarpa_split2.o)(.text+0x3346): In function `w7_ownpi_WarpAffine':
: undefined reference to `w7_ippsMalloc_8u'
#include "highgui.h"
#include "math.h"
#include "ippcore.h"
#include "ipp.h"
{
IplImage* src;
if( argc==2 && (src = cvLoadImage(argv[1], -1))!=0)
{
IplImage* dst = cvCloneImage( src );
int delta = 1;
int angle = 0;
cvShowImage( "src", src );
rotateImage(src, dst, 45);
cvShowImage( "dst", dst );
}
}
{
Ipp8u *pSrc = (Ipp8u*)(void*)(src->imageData);
Ipp8u *pDst = (Ipp8u*)(void*)(src->imageData);
IppiSize srcSize;
srcSize.width = src->width;
srcSize.height = src->height;
IppiRect srcRoi, dstRoi;
// ownCalcRoiSize(src, &roi);
srcRoi.x = 0;
srcRoi.y = 0;
srcRoi.width = src->width;
srcRoi.height = src->height;
// ownCalcRoiSize(dst, &dstRoiSize);
dstRoi.x = 0;
dstRoi.y = 0;
dstRoi.widt h = dst->width;
dstRoi.height = dst->height;
pDst, dst->widthStep, dstRoi, coeffs, interpolation);
}
// angle theta is ccwise in degrees
{
double c = cos(theta * 3.1415 / 180.0), s = sin(theta * 3.1415 / 180.0);
double x = ((double) img->width) / 2.0, y = ((double) img->height) / 2.0;
double coeffs[2][3];
coeffs[0][0] = c; coeffs[0][1] = s; coeffs[0][2] = x - x * c - y * s;
coeffs[1][0] = -s; coeffs[1][1] = c; coeffs[1][2] = y + x * s - y * c;
iplWarpAffine(img, out, coeffs, 1);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
INCLUDES = -I$(IPPROOT)/include
CFLAGS = $(INCLUDES)
-lippi -lippcore -lguide
$(CC) -o warp $(CFLAGS) warp.cc rotate.cpp $(LDFLAGS)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page