Questions tagged [image3d]

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

Filter by
Sorted by
Tagged with
7 votes
2 answers
336 views

Tomographic Reconstruction of a Convex Polyhedron from its Orthographic Projections

So, I can construct a random polyhedron and find its 3 silhouettes onto the 3 standard planes. For example, ...
Teg Louis's user avatar
  • 455
8 votes
2 answers
308 views

Reverse the rotation of an animated gif and create a mirror image of it

I need Mathematica code to reverse the rotation direction and viewpoint of an animated GIF named "wheel." The current rotation is counterclockwise, and I need it to rotate clockwise while ...
Pamela's user avatar
  • 199
4 votes
1 answer
110 views

Put text in Graphics3D syntax?

Some friends from the forum helped me to make this MMA script, I have tried to modify it to put text similar to the image, perhaps with a more beautiful letter, but I can't think of how, I have seen ...
Pamela's user avatar
  • 199
3 votes
1 answer
95 views

Clip Planes issues

I want to plot a schematic diagram of this or So far, I am able to plot this using the code provided below. I am having a problem with ClipPlanes ...
user84456's user avatar
  • 1,502
0 votes
1 answer
54 views

Tiff image height fft

I wanted to import .tiff image to Mathematica and then plot fft of z values (height) of the image i. e. values which are translated to color in the image. I know that total time to create picture was ...
Marianna Kalwat's user avatar
-1 votes
2 answers
92 views

How to write a Mathematica code to plot complex function in a 3D plane [closed]

f(x)=square(X)+ix. Plot a 3D plane for this complex function
Pavan Adusumalli's user avatar
1 vote
1 answer
81 views

How to make a 3d plot out of a 2d figure?

Hello guys I am trying to make a 3d plot out of a 2d figure, but things are going sideways. My commands are ...
Highlander21's user avatar
4 votes
1 answer
418 views

How to draw a cutaway diagram of concentric balls?

Background The help index shows how to draw 3D cutaways of concentric spheres: SphericalPlot3D[{1, 2, 3}, {\[Theta], 0, Pi}, {\[Phi], 0, 3 Pi/2}] The Ball command ...
dantopa's user avatar
  • 1,010
1 vote
2 answers
696 views

3D Plot Grid-Lines [closed]

I have a simple 3D plotting question, but having difficulty finding the option which might have changed from a previous version as I have recently updated to Mathematica 13.1. When using the Plot3D ...
John Doe's user avatar
  • 295
4 votes
1 answer
125 views

How to get to ComponentMeasurements[] from orthographic projection of a Graphics3D[] object?

Let's say I have some composite 3D graphics of various shapes. For simplicity, let's say these are just two capsules, like below: ...
TumbiSapichu's user avatar
  • 1,583
3 votes
1 answer
88 views

Create grid-like Image3D

I would like to create a visualization of a volume with the help of equally-spaced grid lines. The effect I want to get is easily obtainable for 2D images, the image is simply divided into quadratic ...
Lennart Van der Goten's user avatar
2 votes
1 answer
111 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 ...
somy's user avatar
  • 21
1 vote
1 answer
100 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: ...
James's user avatar
  • 93
3 votes
3 answers
222 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 ...
SAC's user avatar
  • 1,335
0 votes
2 answers
98 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] &)] ...
TumbiSapichu's user avatar
  • 1,583
3 votes
2 answers
434 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 ...
Johan Grankvist's user avatar
4 votes
1 answer
457 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: ...
ghost's user avatar
  • 361
2 votes
0 answers
108 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" ...
Dean's user avatar
  • 645
1 vote
0 answers
106 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 ...
Youvan's user avatar
  • 583
2 votes
1 answer
143 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: ...
Alan Muhafra's user avatar
2 votes
1 answer
65 views

Combine two Image3D objects given a mask

Assume that we have: ...
Lennart Van der Goten's user avatar
1 vote
1 answer
173 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 ...
Mathematicain's user avatar
1 vote
0 answers
46 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 ...
Teabelly's user avatar
  • 984
5 votes
2 answers
365 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 ...
Jan Eerland's user avatar
  • 1,941
2 votes
1 answer
364 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 ...
iman's user avatar
  • 49
1 vote
1 answer
178 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 ...
Gluoncito's user avatar
  • 517
2 votes
0 answers
65 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 ...
Messages from various people's user avatar
6 votes
1 answer
169 views

3D ImageCooccurrence

I'd like to compute ImageCooccurence for an Image3D object. Mathematica advertises that "Now essentially any operation ...
Shaggy1135's user avatar
2 votes
2 answers
193 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 ...
Shivam K's user avatar
  • 301
1 vote
0 answers
43 views

How can I get higher resolution brain image slices?

When using an expression like ...
DrSvanHay's user avatar
  • 165
1 vote
0 answers
78 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 ...
Linny's user avatar
  • 11
2 votes
0 answers
117 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 ...
user48261's user avatar
  • 151
0 votes
1 answer
118 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 ...
M.K Imr's user avatar
  • 39
7 votes
1 answer
127 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, ...
Matt's user avatar
  • 423
1 vote
1 answer
170 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?
wonderich's user avatar
  • 853
1 vote
1 answer
395 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-...
wonderich's user avatar
  • 853
0 votes
1 answer
124 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
H42's user avatar
  • 3,439
2 votes
0 answers
105 views

ListDensityPlot3D ColorFunction Interpolation

ListDensityPlot3D seems to do some sub-pixel colorfunction interpolation that results in an odd "halo" around some of the data. ...
ListDensityPlot3DConfused's user avatar
3 votes
1 answer
368 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 ...
zeros's user avatar
  • 2,247
34 votes
2 answers
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
zeros's user avatar
  • 2,247
2 votes
1 answer
134 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 ...
Mattia Rugna's user avatar
2 votes
1 answer
193 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: ...
Mattia Rugna's user avatar
2 votes
1 answer
168 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 ...
H42's user avatar
  • 3,439
3 votes
1 answer
147 views

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

I have a human chest data as below:- ...
H42's user avatar
  • 3,439
3 votes
2 answers
449 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 ...
annuk89's user avatar
  • 115
1 vote
0 answers
135 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: ...
Jonathan Kinlay's user avatar
-2 votes
1 answer
165 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 ...
Nothingtoseehere's user avatar
0 votes
0 answers
155 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 ...
Walter 's user avatar
  • 149
16 votes
2 answers
420 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 ...
MaxJ's user avatar
  • 1,535
2 votes
2 answers
108 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 ...
GibbsJ's user avatar
  • 21