Questions tagged [volume-rendering]

In the case of Direct Volume Rendering (DVR), a transfer function (TF) maps the raw volume data to optical properties needed for image synthesis, e.g. from opaque black and white images to translucent and coloured results.

In the case of indirect rendering methods, opaque surfaces get extracted by preprocessing the raw volume data, e.g. resulting in isosurfaces.

105 questions
22
votes
3 answers

Fast interpolation of regularly sampled 3D data with different intervals in x,y, and z

I have some volumetric imaging data consisting of values sampled on a regular grid in x,y,z, but with a non-cubic voxel shape (the space between adjacent points in z is greater than in x,y). I would eventually like to be able to interpolate the…
ali_m
  • 71,714
  • 23
  • 223
  • 298
20
votes
1 answer

volume rendering (using glsl) with ray casting algorithm

I am learning volume rendering using ray casting algorithm. I have found a good demo and tuturial in here. but the problem is that I have a ATI graphic card instead of nVidia which make me can't using the cg shader in the demo, so I want to change…
toolchainX
  • 1,998
  • 3
  • 27
  • 43
8
votes
2 answers

How could I polygonise a bool[,,]

If anyone cares, I'm using WPF.... Beginning of story: I got a series of gray-scale images(slices of a model). The user inputs a "range" of gray-scale values to build a 3D model upon. Thus I created a 3D bool array to make it easier to build the 3D…
None
  • 609
  • 7
  • 22
7
votes
1 answer

How to visualize 3D scalar field with Helix.SharpDX Volume Rendering?

I have a task to visualize 3D field of scalars using Helix Toolkit. The input array contains double values without limitations, but usually somewhere between [-50000, +50000]. The scalar value affect a color of a cube: The minimum value have a blue…
Aleksei Petrov
  • 936
  • 12
  • 31
6
votes
2 answers

Matlab 3d volume visualization and 3d overlay

The question is pretty much the title. I have a 3d volume loaded as raw data [256, 256, 256] = size(A). It contains only values of zero's and ones, where the 1's represent the structure and 0's the "air". I want to visualize the structure in MATLAB…
scigor
  • 1,603
  • 5
  • 24
  • 38
4
votes
3 answers

PCA on a 3D image to obtain 3 principal axes

I have an anatomical volume image (B), which is an indexed image i,j,k: B(1,1,1)=0 %for example. The file contains only 0s and 1s. I can visualize it correctly with isosurface: isosurface(B); I would like to cut the volume at some coordinate in j…
gari
  • 63
  • 1
  • 5
4
votes
1 answer

Matlab's slice() function not working as desired

I want to plot discrete 2D images at 13 z locations at [4:4:52] using the following lines of code. a=100; [mesh.x,mesh.y,mesh.z] =…
user238469
3
votes
1 answer

C- Indexing x,y,z coordinates in a 1D byte array

I want to evaluate the values of the surface to implement a marching tetrahedron algorithm, but I don't understand how to work with .raw unformatted data. After loading a .raw file with a volume dataset into a 1D byte array, what arithmetic…
andandandand
  • 21,946
  • 60
  • 170
  • 271
3
votes
0 answers

Rendering a surface (or a smoothed volume) from a numpy array with VTK

I'm discovering VTK and want to use it to plot a 3D numpy array. So far, I've managed to convert a numpy array to a vtk.Volume and displaying it but from there I am having a hard time getting something pretty. I get a very blocky rendering like this…
Soltius
  • 2,162
  • 1
  • 16
  • 28
3
votes
1 answer

Load non power of two image stack into 3d texture OpenGL C++

i have tried to load stack of .png image files into glTexImage3D for volume rendering purpose. However, i just cant make it work as it keeps crashing. BTW, the problem seems to be related with pData. Below is the code for your reference: GLubyte *…
vincent911001
  • 523
  • 1
  • 6
  • 20
3
votes
1 answer

VTK - explain simple code

Can you explain me following simple code ? VolumeScalarOpacity->AddPoint(0.0, 0.0); VolumeScalarOpacity->AddPoint(0.25, 0.0); VolumeScalarOpacity->AddPoint(1.0, 0.1); and VolumeGradientOpacity->AddPoint(0.0,…
Flaviu_
  • 1,285
  • 17
  • 33
3
votes
3 answers

Computing the gradient in volume ray casting

Please help me clear up this question I have about the volume ray casting algorithm: In the wikipedia article (link), it says that "For each sampling point, a gradient of illumination values is computed. These represent the orientation of local…
Imre Kerr
  • 2,388
  • 14
  • 34
3
votes
1 answer

Texture is not generated valid (probably)

My app for volume ray casting in WebGL is almost done. But i have found a problem. I have to simulate 3D texture by 2D texture. It is not problem. I am creating a huge texture from small slices. Dimensions of huge texture are about 4096x4096px.…
Xrew
  • 173
  • 13
3
votes
2 answers

How can I get view direction from the OpenGL ModelView Matrix?

I am writing a volume render program that constantly adjusts some plane geometry so it always faces the camera. The plane geometry rotates whenever the camera rotates in order to appear as if it doesn't move--relative to everything else in the…
AAB
  • 674
  • 3
  • 14
  • 27
3
votes
1 answer

Processing large image volumes

I have a huge 3D volume, which sizes above 2GB. I want to load this data, process it and display in my application as a 3D volume, in which zooming and rotation of volume cn be performed. I saw applications which loads this huge data and displays…
1
2 3 4 5 6 7