- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
I'm having difficultiesin usingimage IPPfunctions with images loaded by using .NET CLR JPG loading.
Say, by using Image^ FromFile (String^ filename) to load and show them in the form.
I know thatthey are32 bits per pixelin ARGB structure, but I have no success in passing them as arguments to IPP functions.
Are there sample codes whith images read in such way, passed to IPP functions?
Pardon me for so basic question, but unfortunately I'm not able to see the answer...
Thanks in advance for any hint...
Jose
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
I'm having difficultiesin usingimage IPPfunctions with images loaded by using .NET CLR JPG loading.
Say, by using Image^ FromFile (String^ filename) to load and show them in the form.
I know thatthey are32 bits per pixelin ARGB structure, but I have no success in passing them as arguments to IPP functions.
Are there sample codes whith images read in such way, passed to IPP functions?
Pardon me for so basic question, but unfortunately I'm not able to see the answer...
Thanks in advance for any hint...
Jose
Hi Jose,
Bitmap^ img =
dynamic_cast
switch( bmpData->PixelFormat ) {
caseSystem::Drawing::Imaging::PixelFormat::Format8bppIndexed:
ippiMirror_8u_C1IR(pSrcDst, bmpData->Stride, roi, ippAxsBoth);
break;
case System::Drawing::Imaging::PixelFormat::Format24bppRgb:
ippiMirror_8u_C3IR(pSrcDst, bmpData->Stride, roi, ippAxsBoth);
break;
case System::Drawing::Imaging::PixelFormat::Format32bppArgb:
ippiMirror_8u_C4IR(pSrcDst, bmpData->Stride, roi, ippAxsBoth);
break;
default:
break;
}
img->UnlockBits(bmpData);
I hope this help you.
Albert
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora