Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nick_T_1
Beginner
51 Views

Is there anyway to load TIFF image using Intel IPP?

I am using VS2008, on windows 7 32/64 bit.

I am trying to process a tiff image using IPP. I did some search, but have not found any possibility for Intel IPP to load tiff image. So I use libtiff to load tiff image. But the problem is, the datatype of the image is libtiff related, such as TIFFRGBAImage. These formats seems not acceptable to Intel IPP.

So, how do I process tiff image with Intel IPP? Or is there anyway to let Intel IPP accept datat type like TIFFRGBAImage? Thanks a lot.

0 Kudos
10 Replies
SKost
Valued Contributor II
51 Views

You need to do your own conversions. Please take a look at a similar thread: Forum topic: Is there a function in IPP to load image? Web-link: http://software.intel.com/en-us/forums/topic/330084
Nick_T_1
Beginner
51 Views

Thanks to Sergey. I am working on tiff file, so I used libtiff to load tiff image. The file format I have loaded is TIFF, or TIFFRGBAImage; I am trying to do resizing using ResizeSqrPixel(), but it seems it handles Ipp32f data type. I am really new to libtiff and IPP, I really appreciate some a little more detailed explanation or sample code. Thanks a lot.
Gennady_F_Intel
Moderator
51 Views

ResizeSqrPixel handls Ipp8u also. see the specification of that routine. You can find many ResizeSqrPixel examples into this Forum. e.g - http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpixel-crashed-for-small-image
SKost
Valued Contributor II
51 Views

>>...I am trying to do resizing using ResizeSqrPixel(), but it seems it handles Ipp32f data type... You could always convert an image, without loosing a dynamic range, to any floating-point data types ( single- or double-precision ). The 'ippiResizeSqrPixel_<...>' function supports 16 different types and please take a look at: . http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi_ch12/functn_ResizeSqrPixel.... By the way, did you manage to convert your Tiff-image to some Raw-image format?
Nick_T_1
Beginner
51 Views

Gennady Fedorov (Intel) wrote:

ResizeSqrPixel handls Ipp8u also. see the specification of that routine. You can find many ResizeSqrPixel examples into this Forum. e.g -
http://software.intel.com/en-us/articles/resize-function-ippiresizesqrpi...

Thanks Gennady. But I got error message "no DLL were found in the waterfall procedure", which I don't quite understand, when ippiResizeGetBufSize() was called. ippiResizeSqrPixel() was commented out though.
Nick_T_1
Beginner
51 Views

Sergey Kostrov wrote:

>>...I am trying to do resizing using ResizeSqrPixel(), but it seems it handles Ipp32f data type...

You could always convert an image, without loosing a dynamic range, to any floating-point data types ( single- or double-precision ). The 'ippiResizeSqrPixel_<...>' function supports 16 different types and please take a look at:
.
http://software.intel.com/sites/products/documentation/hpc/ipp/ippi/ippi...

By the way, did you manage to convert your Tiff-image to some Raw-image format?

I think so. I load them into raw buffer.
SKost
Valued Contributor II
51 Views

>>...But I got error message "no DLL were found in the waterfall procedure",.. Let's say a developer decided to investigate what are DLL-dependencies of an IPP application? The best way to do it is to use MS Depends utility and it will show a list of DLLs the IPP application uses. However, in case of IPP some CPU specific DLLs are loaded at runtime (!) using a 'LoadLibrary' Win32 API function and Depends doesn't show these DLLs (!). If the developer tries to execute the application and these CPU specific DLLs are not found some IPP's subsystem will display "No DLL were found in the waterfall procedure" error message. The developer needs to copy these DLLs to some searchable folder or needs to set a valid path to a folder with these DLLs in PATH environment varianbe.
fh_i_
Beginner
51 Views

not famaliar with this  programme. but i do know an image app which can load tiff image vb.net. it is much eailer than you think without changing image formats at all.

SKost
Valued Contributor II
51 Views

>>...not famaliar with this programme. but i do know an image app which can load tiff image vb.net. it is much eailer >>than you think... Thanks for the comment and the web-link.
arronlee
Beginner
51 Views

Yup indeed, I agree with FH i. I used to load images with the help of some professional imaging toolikits. I wonder whether this Tiff processor can be help? I hope you success. Good luck.

Best regards,

Arron