Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

how to generat a pp16u type image?

dengfuqin
Beginner
2,112 Views

In the example ippiSamplein Ipp, I want to generate a pp16utype image anddisplay it .Using the followingcodes ,it can not work well, but when use Img.m_type=pp8u instead of Img.m_type=pp16u,it works well, it can call ippiImageJaehne_8u_C1Rto generate the pp8u type image and display it. Can anybody help me?

CImgHeader Img;
Img.m_channels=1;
Img.m_height=400;
Img.m_width=400;
Img.m_type=pp16u;
Img.m_plane=false;
CImgHeader* PImg=&Img;

CSampleDoc* pDst =((CIppiSampleApp*)AfxGetApp())->CreateNewDoc(PImg, FALSE);
pDst->MakeVisible();
return;

0 Kudos
5 Replies
Vladimir_Dudnik
Employee
2,112 Views

Hello,

what version of IPP do you use? I've just tried ippiDemo, menu File->New and you get dialog with options to choose image bit depth, number of channels, how to initialize (ramp, jaehne,..)

Vladimir

0 Kudos
dengfuqin
Beginner
2,112 Views

Hi:

Thanks for your help.

Yes, you are right, whentrying ippiDemo

My IPP version is 2.0, I want to devolop my programes based on the samplesprogrames ippiSample provide by the Intel Ipp, so I will generate a pp16utype image and display it by calling IPP functions.

0 Kudos
Vladimir_Dudnik
Employee
2,112 Views

WOW! What the reason you still on several years old library? The latest version of IPP is 5.1.1, and the next version, IPP 5.2 beta is coming soon.

Regards,
Vladimir

0 Kudos
dengfuqin
Beginner
2,112 Views

Woo

Iam trying topersuade myboss to orderthe new version Ipp. I am still a student in the university

0 Kudos
Vladimir_Dudnik
Employee
2,112 Views

Hi, while persuading you boss, don't forget to mention that there is "Academic" license of IPP

We have academic licences - for researchers and teaching, available through the resellers, e.g.

http://www.programmers.com/ppi_us/SearchResults.aspx?SearchPhrase=Primitives

Other resellers can be located via

http://xlsoft.com.cn/ProductList.asp?id=194
http://www3.intel.com/cd/software/products/asmo-na/eng/download/locations/219963.htm

We also have a "non-commercial" licence, for people using Intel IPP in work for which they do not get paid (e.g. hobbyists) - for Linux only.

http://www3.intel.com/cd/software/products/asmo-na/eng/download/eval/219771.htm

Regards,
Vladimir

0 Kudos
Reply