Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [image3d]

Questions about Image3D, its relation to Graphics3D and other 3-dimensional image issues.

-1
votes
0answers
108 views

How can I write code to generate data for Shepp-Logan phantom? [duplicate]

I want to generate the Shepp-Logan phantom data in Mathematica (I use version 11) before using it to build my phantom. I am hoping to have more control on the attenuation coefficient (please refer to ...
0
votes
0answers
100 views

Remove background image and redraw lines in black

I do not know if the title is correct. The image that I upload has liked me a lot because of the characteristic that no matter the angle it seems that it is looking at you, you could indicate me how ...
12
votes
2answers
223 views

3D Thinning algorithm in Mathematica

as far as I understood Thinning[] only works on 2D images thus far. Is there a library/piece of code that performs 3D Thinning in Mathematica? Max edit: I want ...
2
votes
0answers
29 views

Specifying different thickness for each graded contours of Mandelbrot Set so that I can export it as .STL file.

I am using Mandelbrot Set function in Mathematica to get the Mandelbrot plot. I want to 3d print this model, so want to specify thickness for each contour and then convert into .STL file. Is this ...
4
votes
1answer
95 views

Converting 3D graphics primitives to 3D image data

My goal is to produce a 3D dataset, from a scene of simple transformed shapes. The idea is that this data serves as a ground truth for some tomographic reconstruction problems. (For this, it is ...
0
votes
0answers
106 views

How do I overlay two images from Densityplot and ListDensityPlot?

I am trying to overlay two images as in the following (from here): I have a data in MS excel format here! (1) I want to select three columns for listdensityplot. This will serve as my background ...
2
votes
1answer
44 views

How to remove white margins of a rendered image of an Image3D object?

This question is related to this. In the case of Graphics3D, there is an option for Method->{"ShrinkWrap"->True}, however, ...
2
votes
0answers
59 views

Use List convolve for aligning images

I am trying to align images of point spread functions using a convolution. Before doing it on real data, I wanted to try on simulated data. I have no problem with the 1-D case where I create 2 ...
0
votes
2answers
77 views

Reproduce orthogonal images from 2d consecutive image set

I have 3474 images (png, 8bit, gey scale, horizontal size x=3107 pixels, vertical size y=1200 pixels). The images can be downloaded here: https://drive.google.com/open?id=1rK7xlbFIGMG4O3Z-...
3
votes
2answers
166 views

3D printing cardioid

I am hoping to 3D print some simple cardioid pictures, like the following: ...
1
vote
0answers
75 views

Saving in 2D and 3D in vectorial (pdf or svg) format

Good Day everybody, I have difficulties to save both 2D and 3D plots in vectorial format. I can get acceptable results if I save manually: righ-click on image, "Save Graphic as..." or "Print as...". ...
4
votes
0answers
46 views

What is a good source of public domain 3D images that can be imported into Mathematica?

I am interested in using some 3D images for a lesson I'm developing for kids, in which I want to show them various printouts of 2D cross-sections of the image and have them try to figure out what the ...
3
votes
2answers
77 views

How to combine density plot and a given image?

I have a sine plot and image, and I want to combine the two on 2D basis and 3D basis. I tried below:- ...
4
votes
1answer
86 views

How to add an image to the bottom of a ListPointPlot3D?

I am trying to plot the points of virus outbreak along time of 3 areas. I already have the data1, which have 3 columns: x-coordinate, y-coordinate and time. Then I ...
1
vote
0answers
24 views

Reading the color from a photo of a 3D object

While trying to cope with this problem, it came to me that I have no way of coloring the spikey correctly if I can't get to know the colors. The shapes could be easily judged, but the color gets ...
4
votes
1answer
172 views

Create 3D objects from 2D image and export as a 3D model

I want to create 3D objects from 2D image and export it as a "3ds" file (or "obj"). I tried: img=Import["https://i.imgur.com/orbbFG4.png"] ...
0
votes
0answers
119 views

How to implement a Cube 2: Sauerbraten octree?

I found this image of subdividing a cube based on octree model for the game "Cube 2: Sauerbraten octree". How can such an octree subdivision algorithm can be implemented? I also need a generalized ...
1
vote
1answer
139 views

Eliminate the black color of the “W” so that it is equal to the “S” using Mathematica?

I have searched the answers for a long time to help me with this but I can not find it. I tried to do with drawing programs but it looks good. How can I leave the "w" blank, respecting its shadows or ...
0
votes
1answer
31 views

The volume of the region enclosed around the Y-axis [duplicate]

The volume of the region enclosed by $x=y^{3}$, $x=0$, $y=2$, revolved around the Y-axis is? My question is, how would that solid be represented?
1
vote
2answers
116 views

The volume of the region enclosed by $x=y^3$, $x=0$, $y=2$ [duplicate]

The volume of the region enclosed by $x=y^{3}$, $x=0$, $y=2$, revolved around the X-axis is? My question is, how would that solid be represented?
6
votes
2answers
168 views

How to segment nuclei from a noisy image

(data can be downloaded from this link.) I am trying to segment and count nuclei in a noisy 3-D image stack and it is proving to be somewhat challenging. The strategy I could come up with requires ...
1
vote
2answers
117 views

Convert data from Image3D to ListPlot3D

Let's suppose I have created a 3d image of gray scale Images with: image3d = Image3D[Table[readImage[i], {i, numberOfImages}]]; and ...
1
vote
1answer
160 views

Image3D - plot physical axes scales

I have read in 600 thresholded gray scale images (located here - 14MB, png, 8bit, 300*200 pixel) into Image3D with: ...
4
votes
1answer
231 views

Image3D: Specify distance between image slices

When applying Image3D to an array of binary images, how can I specify the Z-depth between these images? Consider the RegionPlot3D of $x y z < 1$: ...
0
votes
0answers
215 views

How to dilate or erode a 3D geometry import with STL format?

I am a freshman to Mathematica. I just wonder if it is possible to dilate or erode directly the 3D geometry in STL format. I have tried to import a STL file and then used Dilation function. However, ...
6
votes
2answers
2k views

Create a 3D stack of 2D line plots [duplicate]

A simple concept but I've not been able to solve it. I'm trying to create a stack of 2D plots in 3D space using Mathematica 9. This is not a parametric plot, but I'm creating it from an array of ...
-1
votes
1answer
103 views

Importing a large number of 2d DICOM images and generating a 3D image from them [closed]

I would like to construct a 3D image from 900 2D images in DICOM format in a folder. I am fairly new to mathematica and would greatly appreciate your help. I am currently using Mathematica 11. I used ...
13
votes
1answer
428 views

How can Mathematica be used to create a 3D Maze with text like this?

Interesting Graphic that creates a cool visual 3D maze which could possibly be done in Mathematica but I haven't seen an example in 3D. Assuming a Randomized Prim's algorithm will work for the maze ...
3
votes
0answers
96 views

Stereogram in Mathematica: inverse question

I've seen in this wonderful post that it's possible to create a stereogram in Mathematica. But I didn't found anything regardless the inverse problem. Given a stereogram, is possible to retrieve the ...
0
votes
1answer
125 views

Custom Ticks for Image3D?

Is it possible to make user-defined ticks in an Image3D? (Wizardly solutions will be appreciated, too.) With ...
5
votes
0answers
133 views

Bug in Image3D?

On a fresh kernel, in an empty notebook, I go directly to the docs of Image3D and evaluate one of the Basic Examples: ...
2
votes
1answer
195 views

Interpolate discrete points to create a 3D surface and highlight points

I have some discrete points in 3D: https://www.dropbox.com/s/syl7w3s30tc30b9/amycoo.xlsx?dl=0 I have the following problem: I want to create a 3D surface from those points and need to somehow ...
1
vote
1answer
171 views

Visualize 3D Vector Field in Voxels with Mask

Is there a way to view a vector field specified in voxels with a mask? I have three 3D arrays with $x,y,z$ components of the fields at each voxel, as well as a 3D array of booleans saying which ...
1
vote
1answer
108 views

How to customize the Color Function Editor?

I'm happy with Mathematica's inbuilt Colour Function Editor. However, I wish to add some extra functionalities to this to make it customised for my purpose. For example, I wish to manipulate the ...
1
vote
0answers
194 views

How to design a simple 1D transfer function for volume visualization? [closed]

Consider a volume (MRI Head) from (http://www9.informatik.uni-erlangen.de/External/vollib/). I wish to design a simple 1D Transfer Function which will assign/map each intensity value to a specific ...
1
vote
0answers
110 views

Creating a 3D mesh on an Image3D Figure

I have a stack of images that I compile with the Image3D function. The resulting figure is 360x360x93 pixels and named "X". My goal is to mesh the figure. I have defined points that correspond the ...
0
votes
1answer
84 views

I have a short CT video of a BuffaloFish and i need to manipluate the Frames from the video to make a 3D model of the animals skeleton [duplicate]

I know i need to use Image3D but other than that, im not exactly sure on where to start? https://youtu.be/yPTEs6jE6B4 heres a link to the video.
0
votes
1answer
140 views

How to draw a 3-dimensional sphere whose Head is Image3D?

In 2 dimensions, I can do like this to draw my image: Image[Graphics[{Circle[]}]] But in 3 dimensions, this method will give an error information: So I try ...
3
votes
0answers
223 views

3d Image reconstruction

I'm using Image3D to reconstruct a 3d image from over 800 2d slices. I'm able to create the image but takes too long to do anything useful with the 3d image. Even rotating the output freezes ...
3
votes
0answers
129 views

Challenge: Calulating The Resulting 2D Image Behind A Lens [closed]

This is a tough question! I would like to calculate how an image (a real 2D photograph) looks if I place a lens at a certain distance d1 from it and I observe it at a certain distance d2. It is ...
2
votes
0answers
57 views

Is there a substitute for the “Show” function to use within the Mathematica kernel?

I needed to implement a function to convert an object from Graphics3D to Image3D, basically a 3D version of rasterisation (I need the geometry in a discretised form). I used the method suggested by R....
1
vote
0answers
163 views

Creating 3D image from importing 2D images [closed]

I'm trying to recreate a 3D image from it's 2D slices. I have saved the 2D images as "image1, image2, etc". I've imported them this way: ...
1
vote
0answers
42 views

How to make 3D image of dynamic current image [duplicate]

How to make a 3D image of Dynamic[CurrentImage[]]? for example: ...
0
votes
0answers
47 views

Why is the SelectComponents behaving differently?

based on the code provided by Dr. belisarius at here, I wanted to test it on a single slice of a 3d image. If I write the code in the following way I get the desired output. ...
66
votes
6answers
15k views

How to make a Spherical Cow?

Being a theoretical physicist, I always have a great respect for Spherical Cow. So I thought about making one myself. I am not sure how can I create (something considered to be the simplest!) this ...
5
votes
1answer
142 views

Implementation of interactive 3D slicer

Being motivated by this I have tried to proceed further to make it an interactive 3D slicer. Here is what I am up to now: Code ...
1
vote
0answers
63 views

PeronaMalikFilter for 3D image

Is there any other way to use PeronaMalikFilter for 3D images apart from using a loop to run through all the slices? What I tried to do ...
3
votes
1answer
176 views

How to read import VRML (.wrl) into Mathematica

I wonder if there is a way to Import VRML objects, e.g. here. The Export of These formats is provided but I did not found a way to Import it. Can anyone help here? (The Goal is to build a model of ...
4
votes
4answers
790 views

Plotting 3D points with an intensity

I have a list of elements where the first 3 numbers in each curly bracket are x,y,z coordinates and the last number is an intensity: ...
0
votes
0answers
66 views

3D Plots and vector fields [duplicate]

I'm a beginner. How I make a 3D Plot from zero? (like a graphics with the potencial of the electric field). I have to make vector fields too. (vectors of the electric field). I search at internet but ...