Questions tagged [d3dimage]
35 questions
9
votes
1 answer
Is it possible to use OpenGL ES code with a WPF application via a D3DImage and ANGLE?
Summary (TL:DR version)
Ultimately our goal is to be able to utilize OpenGL ES code in a WPF application natively (i.e. not SharpGL, etc.) and without Airspace or driver issues, possible using Google's ANGLE project.
Background:
One of the things I…
![](../../users/profiles/168179.webp)
Mark A. Donohoe
- 23,825
- 17
- 116
- 235
9
votes
3 answers
Programmatically determine if system has switchable graphics
We are struggling with the following problem on laptops with switchable graphics (AMD Radeon 7670M + Intel 4000) in our WPF application:
The D3DImage we use to display some video only shows a black frame. This only happens when the discrete graphics…
![](../../users/profiles/361490.webp)
humbagumba
- 2,024
- 15
- 16
6
votes
2 answers
D3DImage TryLock Fails
I'm using D3DImage as part of my WPF user control. Very rarely, when rendering, the D3DImage.TryLock fails.
So far, I haven't been able to find any documentation as to why D3D.TryLock would fail.
Does anyone know why this might be happening?
![](../../users/profiles/3084585.webp)
jwp36
- 136
- 5
5
votes
3 answers
Need SharpDXElement alternative. Workaround to sharpDX WPF flickering
I have a SharpDX project that is very near completion. It uses a Kinect for interaction. Because of this my project uses WPF both for the Kinect region and the KinectUserViewer object. SharpDX has worked great for everything so far, however, when it…
![](../../users/profiles/4400722.webp)
Asor
- 61
- 2
5
votes
1 answer
Multisampling (MSAA) for DirectX11/DirectX10 with D3DImage shared resource
I am trying to get MSAA in DX11 using D3DImage, but is seems, it is not possible, since shared multisampling texture are not allowed, as stated here: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476531(v=vs.85).aspx
Actually, I use the…
![](../../users/profiles/1110751.webp)
DerPrzem
- 133
- 2
- 6
4
votes
3 answers
D3DImage and SharpDX flickering on slow hardware
I am using the SharpDX.WPF project for the WPF abilities, it seems like an easy to understand low-overhead library, compared to the Toolkit that comes with SharpDX (which has the same issue!)
First: I fixed the SharpDX.WPF project for the latest…
![](../../users/profiles/442833.webp)
ManIkWeet
- 1,188
- 10
- 32
3
votes
1 answer
How to remove small objects from 3D image?
Do you see that?There are some small objects spread below the brain. and I want to remove them to get a whole clean brain.
A 3D image can be expressed as a 3D array in Numpy.
Below is an approach to remove small objects in 2D image.
from skimage…
![](../../users/profiles/7007522.webp)
Weiziyoung
- 161
- 1
- 2
- 10
3
votes
1 answer
Convert D3DImage to byte array
Is there any way to do that ?
I can cast the object to ImageSource and assign to Image but I have to be able to store it in byte[]. All the methods I found use casting to BitMap and that won't work here.
![](../../users/profiles/2725487.webp)
Mateusz Migała
- 1,286
- 3
- 22
- 33
3
votes
2 answers
Rendering on a WPF Control with DirectX 11
I am trying to create a map editor based on WPF. Currently I'm using a hack to render DirectX contents. I created a WinFormsHost and rendered on a WinForms-Panel.
This all because DirectX (I´m using DirectX 11 with Featurelevel 10) wants a Handle…
![](../../users/profiles/559310.webp)
SharpShade
- 1,531
- 2
- 30
- 40
2
votes
2 answers
How to detect ending location (x,y,z) of certain sequence in 3D domain
I have protein 3D creo-EM scan, such that it contains a chain which bends and twists around itself - and has in 3-dimension space 2 chain endings (like continuous rope). I need to detect (x,y,z) location within given cube space of two or possibly…
![](../../users/profiles/3956711.webp)
Leon Kigelman
- 87
- 4
2
votes
1 answer
Remote desktop behavior with 3D3 Device and RDP window minimize
In our C# WPF we use a 3rd party (unmanaged) library that display a map.
We use the System.Windows.Interop.D3DImage class.
The 3rd party library uses Direct3D for the the IntPtr32 surface location property.
When i open a remote desktop from…
![](../../users/profiles/1426106.webp)
ilansch
- 4,484
- 5
- 40
- 83
2
votes
0 answers
D3DImage: display bitmap from byte array
I have raw bitmap data (pixel colors, 32 bit) in an array.
Is there a simple way to display such a "sprite" on a D3DImage?
Preferably without use of thirdparty libs (such as SharpDX).
Background:
I have raw bitmap frames coming from unmanaged DLL…
![](../../users/profiles/305020.webp)
Pavel Tupitsyn
- 6,658
- 3
- 18
- 41
1
vote
0 answers
Image data generator for my (x, 12, 370, 235, 3) dataset
I have made a model with 12 2D CNN inputs. I suddenly realized that the ImageDataGenerator from
from keras.preprocessing import image
don't accept inputs with more than 4 dimensions or as the error message stated it:
('Input data in…
![](../../users/profiles/12925555.webp)
bjornsing
- 181
- 2
- 15
1
vote
0 answers
D3DImage flickering when resizing
I have an issue with D3DImage when resizing.
First I had the flickering when I had a high amount of frames per second too but I could resolve it by only setting the back buffer when I am creating a new texture to render to (which I have to when…
![](../../users/profiles/12819631.webp)
Homiee
- 11
- 1
1
vote
3 answers
How to convert pcap data of Velodyne's VLP-16 to point cloud without using Veloview?
I am new to LiDAR technology. From the Documentation I found that we can visualize LiDAR data using Veloview software. But my aim is to create a 3D image using .pcap file and process it further for object detection. Whole working is in Ubuntu 14.04.…
![](../../users/profiles/4057209.webp)
Shaikh Ibrahim
- 53
- 2
- 9