- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
I have a problem using ippiDiv_8u_C1RSfs and ippiDiv_8u_C1IRSfs as well. A destination bufferis always filled with zeros, no matter what is a content of source buffers. Even if I use same buffer as src1 and src2, the result of divide is zero filled buffer, but it should be 1's? I tried with many scale factors, including 1, 255, 65535
Thanks
Lien copié
4 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I have tried with IPP4.0 and IPP5.0
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
scalefactor=1 means that the result is multiplied by 2^(-1) ie x/x will be 1>>1=0 (see manual, Volume 1 p 2-11)
Have you tried with scalefactor=0 or scalefactor<0?
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Many thanks,
I tried with scalefactor = -8 and it is ok. Result is scaled by 256.
The problem was, that ippi manual doesn't mention it in ippiDiv function description. And in IppiMan.pdf on the page 2-11 thereare status constants descriptions only.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I may be wrong with the page number. The paragraph name is "Integer Scaling" or "Integer Result Scaling"

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable