- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the IPP as DLLs in my Delphi application.
Version 2020.0.0 could be integrated years ago without any issue.
Trying to update to 2022.0.0 now throws in some cases (not all - even with identic dimensions and stepsizes for image & template) an exception of class $C0000090 / Float_Invalid_Operation. This cannot be catched by the application itself and results in abborting the entrire application. I'd expect an error code to be returned instead of the raised exception.
System: Core i7-12700, OS: Win 11 Build 22631
vars used:
Img : PIpp8u;
ImgSize : IppiSize;
ImgStep : Integer;
Template : PIpp8u;
TemplateSize : IppiSize;
TemplateStep : Integer;
TemplateFOVNo : Integer;
Stat : Integer;
CCResult : PIpp32f;
CCSize : IppiSize;
TmpInt : Integer;
input values
ImgSize.Width := 1280;
ImgSize.Height:= 184;
ImgStep := 1280
TemplateSize.Width := 1214;
TemplateSize.Height:= 122;
TemplateStep := 1280;
CCSize.Width := ImgSize.Width - TemplateSize.Width + 1; //=67
CCSize.Height := ImgSize.Height - TemplateSize.Height + 1; //=63
Img, Template : not nil, valid, allocated by ippiMalloc_8u_C1
ippiROIValid := $00010000
ippiNormCoefficient := $00000200
code sequence:
Alg := Integer (ippiROIValid) or Integer (ippiNormCoefficient);
ippiCrossCorrNormGetBufferSize (ImgSize, TemplateSize, Alg, @CorrBufSize);
//--> CorrBufSize=4718528
CCResult := ippiMalloc_32f_C1 (CCSize.Width, CCSize.Height, @TmpInt);
CorrBuffer := ippMalloc (CorrBufSize)
Stat := ippiCrossCorrNorm_8u32f_C1R (Img, ImgStep, ImgSize, Template, TemplateStep, TemplateSize, CCResult, 4 * CCSize.Width, Alg, CorrBuffer);
//throws exception instead of returing error code.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
could you provide c/c++ code sample reproducing the issue?
Thanks,
Aleksandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to run the provided code sequence, but didn't get that exception. Some code example from you would enable me to check if there is an IPP issue.
By the way, I noticed a few typos: .Width, .Height (instead of .width, .height), PIpp8u (instead of Ipp8u).
Regards,
Aleksandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, do you have any updates regarding a reproducer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With no response from you, this issue will no longer be tracked by Intel. If you have further queries, please feel free to post them in the forum.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page