image filtering using .NET Compact Framework

F

FCBfreak

Is it possibly to apply filters to captured images under the .NET
Compact Framework?

I would like to port an existing C# managed application (full .NET
Framework) to a WinCE embedded development board (which only
supports .NET Compact Framework).

Captured images from webcam device are being loaded into memory and
the developed application then converts these images (image processing
by using gaussian filter etc.) into perceptible audio signals, which
point out the direction of the target.

But as I'm seeing it now, implementing a gaussian filter to smooth out
irrelevant parts in the captured frames requires the namespace
"System.Drawing.Imaging" (to edit images and save information in
bitmaps), this namespace is available when using the complete .NET
Framework, but isn't supported in the .NET Compact Framework.

Maybe I can use the p/invoke method (managed code calling unmanaged
code) to apply image filtering?
 
G

Guest

You would have to do all of that work yourself. I don't know if there's
even something to P/Invoke - you might need to write your own filter for
that even.
 
F

FCBfreak

You would have to do all of that work yourself. I don't know if there's
even something to P/Invoke - you might need to write your own filter for
that even.

--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded Worldwww.opennetcf.com
--










- Tekst uit oorspronkelijk bericht weergeven -

So you'e saying the original C# code that implements the filtering
can't be reused at all?
 
G

Guest

Correct. The namespaces used on the desktop just don't exist on the device.
Of souce you could create them and then the app code would work, but you'd
have to write all of the imaging libraries yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top