Unity/C# cannot find WriteableBitmap, BitmapSource, Int32Rect, and PixelFormat
My project requires some image processing from the kinect camera and the BackgroundRemovalTool class I found uses WriteableBitmap.aspx), BitmapSource.aspx), Int32Rect.aspx), and PixelFormat.aspx). It says it cannot find them, despite me trying to declare the namespace. Eg:
using System.Drawing.Imaging
using System.Windows.Media.Imaging;
using System.Windows;
But this doesn't work. I also read I should get the DLL files (eg. PresentationCore.dll) but Unity just ignores them. It provides no error message. I use the .NET Framework v3.5 folder when copying them from program files. Am I going in the wrong direction here? How do I use these variable types and enums?
I came across the exact same problem. That tool is not made for unity, so I decided to find another one. I'm using $$anonymous$$inect v2 Examples asset. It's not free but I$$anonymous$$HO well worth it ;) Edit: seems to be free for educational purposes here