Questions tagged [image3d]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
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 ...
user avatar
  • 21
0 votes
1 answer
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: ...
user avatar
  • 73
3 votes
3 answers
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 ...
user avatar
  • 1,100
0 votes
2 answers
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] &)] ...
user avatar
  • 1,303
0 votes
0 answers
42 views

Strange artifacts when exporting Plot3D images

I have a variable that stores a Show[] that has surface (Plot3D) and two Graphics3D objects. ...
user avatar
13 votes
5 answers
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: ...
user avatar
3 votes
2 answers
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 ...
user avatar
4 votes
1 answer
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: ...
user avatar
  • 341
2 votes
0 answers
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" ...
user avatar
  • 595
1 vote
0 answers
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 ...
user avatar
  • 547
2 votes
1 answer
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: ...
user avatar
2 votes
1 answer
50 views

Combine two Image3D objects given a mask

Assume that we have: ...
user avatar
1 vote
1 answer
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
  • 974
5 votes
2 answers
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 ...
user avatar
  • 1,723
2 votes
1 answer
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 ...
user avatar
  • 49
1 vote
1 answer
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 ...
user avatar
  • 487
6 votes
3 answers
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 ...
user avatar
  • 2,145
2 votes
0 answers
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 ...
user avatar
6 votes
1 answer
156 views

3D ImageCooccurrence

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

How can I get higher resolution brain image slices?

When using an expression like ...
user avatar
  • 165
1 vote
0 answers
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 ...
user avatar
  • 11
2 votes
0 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
  • 39
7 votes
1 answer
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, ...
user avatar
  • 413
1 vote
1 answer
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?
user avatar
  • 823
1 vote
1 answer
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-...
user avatar
  • 823
0 votes
1 answer
105 views

How to auto-rotate a MeshRegion?

I have a 3D MeshRegion region1 as below: ...
user avatar
  • 3,389
2 votes
0 answers
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. ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 2,145
31 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
user avatar
  • 2,145
2 votes
1 answer
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 ...
user avatar
2 votes
1 answer
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: ...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 3,389
3 votes
1 answer
121 views

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

I have a human chest data as below:- ...
user avatar
  • 3,389
3 votes
2 answers
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 ...
user avatar
  • 115
1 vote
0 answers
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: ...
user avatar
-2 votes
1 answer
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 ...
user avatar
  • 4,360
0 votes
0 answers
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 ...
user avatar
  • 149
16 votes
2 answers
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 ...
user avatar
  • 1,525
2 votes
2 answers
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 ...
user avatar
  • 21
5 votes
1 answer
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 ...
user avatar
2 votes
1 answer
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, ...
user avatar
  • 3,093
2 votes
0 answers
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 ...
user avatar
  • 2,164
0 votes
2 answers
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-...
user avatar
  • 11.3k
3 votes
2 answers
331 views

3D printing cardioid

I am hoping to 3D print some simple cardioid pictures, like the following: ...
user avatar
1 vote
0 answers
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...". ...
user avatar
  • 315
4 votes
0 answers
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 ...
user avatar
  • 278
3 votes
2 answers
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:- ...
user avatar
  • 3,389