Questions tagged [image3d]

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

126 questions
Filter by
Sorted by
Tagged with
87 views

Highlight area on 3D image, volume

I am trying to highlight a specific area in a 3D image, all the solution I found was for 2D images and the functions are not compatible with 3D images if anyone has a solution, I would be appreciated ...
• 21
64 views

Plotting a cylinder using ListPlot3d

I have a table of dimensions {$\theta$,$z$}= {20,200} that I want to plot as a cylinder instead of a plane. The code I have is: ...
• 73
205 views

How to obtain a 3D matrix from Graphics3D?

I have a capillary system and I want to convert this into a numeric matrix. My aim is to create a matrix with NxNxN dimensions of 1's and 0's where the 0's represent the capillary and the 1's ...
• 1,100
76 views

How to show/merge multiple Image3D[] graphics?

Suppose I have 2 (or more) Image3D graphics: redCubes = Image3D[RandomInteger[1, {3, 3, 3}], ColorFunction -> (If[# == 1, Red, Transparent] &)] ...
• 1,303
42 views

Strange artifacts when exporting Plot3D images

I have a variable that stores a Show[] that has surface (Plot3D) and two Graphics3D objects. ...
1k views

How can I create an animation showing how a circular sector deformed to a cone?

I want to create the following animation with Mathematica. What is the simplest way to do so? My first effort: ...
425 views

Create a revolved 3D image of a line

p = {{0, 0}, {3, 2}, {6, 10}, {9, 8}, {12, 7}, {15, 9}, {18, 9}}; Graphics[Line[p]] These are the x,y coordinates I got to work with in order to make a line and ...
293 views

Creating a smooth 3D solid from 3D point cloud

I have set of 3D data points in the form of a .csv file. I import this file into Mathematica as such: ...
• 341
99 views

How do I perform volume rendering on image slices imported from a directory on my local machine?

I have a set of image slices (in .MHA and DICOM formats) in a folder on my local machine. I will like to import these slices, perform rendering to get 3D volume, perform "ClusterComponents" ...
• 595
1 vote
76 views

Is there a simple method to make a 3D cube from six square matrices?

I'd like to use Graphics3D to display a cube with an image on each face of the cube. Before I start padding x,y matrices to make x,y,z matrices, I thought I would ask the forum for any other ...
• 547
92 views

How can I create a graphic array of wedges of cylinders (slice of pie)?

I'm trying to create an array of wedges of cylinders. So far I have been able to create an array of a full cylinder as shown in the next figure: Using the next code: ...
50 views

Combine two Image3D objects given a mask

Assume that we have: ...
1 vote
93 views

3d graph rotation

I want to rotate the VectorPlote3D of the following VectorPlot3D[{-y, x, z}, {x, -4, 4}, {y, -4, 4}, {z, -4, 4}, VectorScale -> {Small, 0.6, Automatic}] and ...
1 vote
41 views

3D images of cells

You can access a lot of 3D models of ananatomical parts of the brain, for example: https://blog.wolfram.com/2017/06/06/brain-neurons-cognition-computational-neuroscience/ Is there any way to get the ...
• 974
349 views

Coding a triangle of balls

I found the picutures below from the Pyramidal Number page on MathWorld My question is, how can I write Mathematica code that gives these figures, such that I can set the first layer to be a triangle ...
• 1,723
223 views

Want to get better quality out of a DensityPlot3D[]

The plot shown below was obtained from a similar program mentioned in the following post. 3D Elastic waves in a glass How can I have a contour bar (color contours) along with the plot? The code shown ...
• 49
1 vote
123 views

Geometry3D objects as functions of parameters

I want to make a simulation of a rigid body with mathematica, but I want to use a Geometry3D object instead of a Graphics3D primitive. Mainly I don't know how to rotate the 3D model, I know how to do ...
• 487
321 views

How to create this image with the current colors and as a mesh?

I need to create this image bigger with that coloring, and also as a mesh or wire structure, please help me. I tried to connect the dots, but it didn't work and I deleted it There is some command ...
• 2,145
63 views

What is the best way to produce 3d images of tangles and show them on the web so that they can be rotated by the viewer?

On my html5 website on physics, I would like to add computer graphics of tangles, similar to the following photo, and I would like to allow users to rotate the image of a tangle and thus allow viewing ...
156 views

3D ImageCooccurrence

I'd like to compute ImageCooccurence for an Image3D object. Mathematica advertises that "Now essentially any operation ...
• 151
154 views

How to create a clock model with any numbers in Mathematica?

I wonder how to create a clock-model in Mathematica. I got this model image from a maths group, I am posting this for reference. I wish to create a clock model like this with any numbers. Any help ...
• 181
1 vote
39 views

How can I get higher resolution brain image slices?

When using an expression like ...
• 165
1 vote
56 views

Import 3D image

Is there a way of importing 3D images to Mathematica that will not be unicoloured? I would like to use a colourful 3D image in a discrete mapping so that one can visually see the transformation and ...
• 11
58 views

Exporting Interactive 3D Graph to Web (with axes and legends)

I would like to put a 3D Mathematica plot online where the viewer could rotate the graph. I have searched previous questions and found: Can Mathematica produce manipulatable 3D plots for deployment ...
92 views

coordinates of the ImageData

I’m trying to get the coordinates of the ImageData, in term of X and Y separately I have paste my trials and would gratefully need your help. In 3D, the array generated by ImageData [image] is ...
• 39
118 views

Is there an option to make Image3DProjection respect the underlying data type of the image array?

Even though Image3D supports a variety of data types (Bit, Byte, ...
• 413
1 vote
117 views

Octahedra+tetrahedra filling tessellations in 3D

This is called the quasiregular space-filling tessellations in 3D: formed by Octahedra in RED and tetrahedra in YELLOW Are there any smart ways to do a Mathematica figure drawing this?
• 823
1 vote
237 views

Draw a truncated octahedron packing in 3D

Consider a truncated octahedron composed by 24 vertices (4×6) 14 faces (contain 6 squares and 8 hexagons) 36 edges (4×6+6×82=36). This truncated octahedron can pack and tessellate the 3-dimensional-...
• 823
105 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
• 3,389
79 views

ListDensityPlot3D ColorFunction Interpolation

ListDensityPlot3D seems to do some sub-pixel colorfunction interpolation that results in an odd "halo" around some of the data. ...
1 vote
255 views

How to animate a cube with images on their faces?

From this code, how could I animate (speed given by the user) this cube at random so that each face shows me a different image. EDIT(The idea is that the cube rotates at random and shows different ...
• 2,145
2k views

How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
• 2,145
117 views

Changing the length of the edge of the Polyhedron

Hope you're having a great day! I made another post in regard of how to insert an image onto a face of a Polyhedron. I hope you could help me on this one too! I want to change the length of the ...
169 views

Modify each version of the polyhedron with an image

I'm new here and want to represent a Polyhedron with every face filled with my own Image of choice. The Polyhedron is the DuerersSolid: ...
121 views

How to apply color function (e.g. Hue) to Image3D?

I have a 3d image data PlotData1, and I want to plot the Image3D with color. I tried this (Note: I don't have ...
• 3,389
121 views

How to make an imported 3D Image look like X-Ray?

I have a human chest data as below:- ...
• 3,389
334 views

Plot implicit region in 3D not working

I'm having troubles plotting an implicit region R (the full expression will be given at the end of this message for sake of readability). This implicit region R is defined by both inequalities and ...
• 115
1 vote
111 views

Conversion of STL files to 3D Images

I am trying to convert some stl files to 3d images in MMA 11.3. I came across this post that contained some code making use of parallelization to speed up the process, as follows: ...
• 1,164
141 views

How do I crop a DXF file in Mathematica?

I need to make DXF files at a certain size and crop ratio. How can this be done in Mathematica? There is nothing in the docs that show it can be done. So I have no "starting point" In my ...
• 4,360
148 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 ...
• 149
363 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 ...
• 1,525
101 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 ...
• 21
221 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 ...
64 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, ...
• 3,093
136 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 ...
• 2,164
107 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-...
• 11.3k
331 views

3D printing cardioid

I am hoping to 3D print some simple cardioid pictures, like the following: ...
• 4,866
1 vote
196 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...". ...
• 315
54 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 ...
• 278
398 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:- ...
• 3,389