Add a voxle a value

1 Ansicht (letzte 30 Tage)
sia
sia am 3 Jun. 2013
hi guys, I want to create a 3D coordinate system, then I want to assign a value of each voxel. e.g. the coordinates [1 1 1] will have the value first.
how can i do something like this?
THX

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 3 Jun. 2013
Bearbeitet: Azzi Abdelmalek am 3 Jun. 2013
out(:,:,1)=[1 1 1]
out(:,:,2)=[1 0 1]
  3 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 3 Jun. 2013
Which voxel?
sia
sia am 3 Jun. 2013
accepted my worldcoordinatesystem has the size(10X10X10), now I want to go through all voxel and add for each voxel the value 0 until this coordinate [5 5 5] is achieved, then I want to add value 1.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by