Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6212583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:32:34+00:00 2026-05-24T06:32:34+00:00

I am to create a 3D volume out of grayscale image set using Matlab.

  • 0

I am to create a 3D volume out of grayscale image set using Matlab. A set contains a continuous and quantized slices of 2D grayscale image. I am still considered myself a rookie in Matlab, but this is what I currently have in my mind:

  • create an empty space for 3D volume.
  • On each image, we perform all the preprocessing operation so that we only got the part that is of our interest. (In this question, assume that this preprocessing part always work flawlessly)
  • Go through the image, each pixel’s x and y coordinate on 2D will be transfer to the empty space. For z coordinate, we can use the slice number with respect to the distance between each slice. If a pixel is adjacent to another pixel, the 3D points will be connected together.
  • Repeat the previous 2 steps until all slices are done. We will now have all the points connected just like in the 2D slices.

But here comes the trouble, how can we connect the points between the slices, so that these points can become a volume? Or is there a more robust way to do in Matlab? Any suggestion is highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:32:35+00:00Added an answer on May 24, 2026 at 6:32 am

    Part 0 – Assumptions


    • all 2D images are of the same dimension, hence your 3D volume can hold all of them in a rectangular cube
    • majority of the pixels in each of the 2D images have 3D spatial relationships (you can’t visualize much if the pixels in each of the 2D images are of some random distribution. )

    Part 1 – Visualizing 3D Volume from A Stack of 2D Images


    To visualize or reconstruct a 3D volume from a stack of 2D images, you can try the following toolkits in matlab.

    1 3D CT/MRI images interactive sliding viewer
    http://www.mathworks.com/matlabcentral/fileexchange/29134-3d-ctmri-images-interactive-sliding-viewer

    [2] Viewer3D
    http://www.mathworks.com/matlabcentral/fileexchange/21993-viewer3d

    [3] Image3
    http://www.mathworks.com/matlabcentral/fileexchange/21881-image3

    [4] Surface2Volume
    http://www.mathworks.com/matlabcentral/fileexchange/8772-surface2volume

    [5] SliceOMatic
    http://www.mathworks.com/matlabcentral/fileexchange/764

    Note that if you are familiar with VTK, you can try this:
    [6] matVTK
    http://www.cir.meduniwien.ac.at/matvtk/

    I am currently sticking with [5] SliceOMatic for its simplicity and ease of use. However, by default, rendering 3D is quite slow in Matlab. Turning on openGL would give faster rendering. (http://www.mathworks.com/help/techdoc/ref/opengl.html) Or simply put, set(gcf, ‘Renderer’, ‘OpenGL’).


    Part 2 – Interpolating pixels in between the slices


    To interpolate pixels in between the slices, you need to specify an interpolation method (some of the above toolkits have this capability / flexibility. Otherwise, to give you a head start, some examples for interpolation are bicubic, spline, polynomial etc..(you can work this out by looking up on google or google/scholar for interpolation methods much more specific to your problem domain).


    Part 3 – 3D Pre-processing


    Looking at your procedures, you process the volumetric data by processing each of the 2D images first. In many advanced algorithms, or in true 3D processing, what you can do is to process the volumetric data in 3D domain first (simply put, you take the 26 neighbors or more in to account first.). Once this step is done, you can simply output the volumetric data into a stack of 2D images for cross-sectional viewing or supply to one of the aforementioned toolkits for 3D viewing or output to third party 3D viewing applications.


    I have followed the above concepts for my own medical imaging research projects and the above finding is based on my research experience documented here (with latest revisions).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the algorithm to create a x-ray image using ray-tracing from a 3-d
I want to create a volume slider for my application. I don't mind whether
I need to create a custom volume slider for a WMP object. The current
Is it possible to create a EBS volume from and attach it to the
I've had a need to create an encrypted volume on my mac for the
I want to create a slider to control the volume of the media player.
I would like to create a function for On Balance Volume (SQL Function). This
As a learning project, I'd like to set-out to make an ncurses-based UI for
I am starting out with audio recording using my Android smartphone. I successfully saved
Using Greenplum database version 3.2.3 on Solaris. Step 1. Create a table. CREATE TABLE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.