Is there anyway to load TIFF image using Intel IPP?

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.

11 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

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

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.

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...

>>...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?

Citazione:

Gennady Fedorov (Intel) ha scritto:

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.

Citazione:

Sergey Kostrov ha scritto:

>>...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.

>>...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.

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.

>>...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.

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

Best Regards, Arron [B][I]Next Tomorrow is Another Day[/I][/B].

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi