- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi all,
I am using the dotnet-cpp (C#) examples to become more familiar with the ways IPP can be used through P/Invoke in C#.
From time to time, I run into "issues" that could be the fruit either of my IPP inexperience or of a need to correct the example code. I understand the example code is not supposed to be a full application.
Issue with Filtering Functions:
The code is shipped with an "roi" definition of 3/4 width * 3/4 height. I actually liked the approach because is shows the effects of a filter on a subsection of the image that can immediately be compared with the original.
I am now in need to use a blur filter on the entire picture. Thus I resized the ROI to:
roi = new IppiSize(bmpsrc.Width, bmpsrc.Height);
Unfortunately this causes an error (System.AccessViolationException: Attempted to read or write protected memory.)
In order to successfully invoke the method, I have to reduce the ROI as follows:
roi = new IppiSize(bmpsrc.Width - 4, bmpsrc.Height - 4);
Is this correct because the "maskSize" is 2*2 or is there some other issue that doesn't allow me to address the entire ROI?
TIA,
msjuniorc
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thank you Albert.
msjuniorc
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla