- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I want to replace zero values in a 32f image with another floating point value. I tried to combineippiCompareC with ippiThreshold function but couldn't succeed. Is there any simple solution for this purpose?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kadir,
Could you clarify theexact problem when combine the ippiCompareC and ippiThreshold.
It was expected the functions like ippiThreshold_Val can set the pixel which meet some condition ( value=0.0f)to other floating point value.
IppStatus ippiThreshold_Val_(const Ipp* pSrc, int srcStep,
Ipp* pDst, int dstStep, IppiSize roiSize, Ipp threshold,
Ipp value, IppCmpOp ippCmpOp);
but could bebecause that zero values in floating point value is hard to defined?
Regards,
YingH.
Could you clarify theexact problem when combine the ippiCompareC and ippiThreshold.
It was expected the functions like ippiThreshold_Val can set the pixel which meet some condition ( value=0.0f)to other floating point value.
IppStatus ippiThreshold_Val_
Ipp
Ipp
but could bebecause that zero values in floating point value is hard to defined?
Regards,
YingH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I have completely missed outippiThreshold_Val. I was just trying to use Threshold_LTVal, Threshold_GTValetc..
That will exactly solve the problem.
Best regards.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page