82
votes
Accepted
35
votes
Accepted
How to project 3d image in the planes xy, xz, yz?
Update 2: The function projectToWalls does not work in version 12.0 because the function PlotRange no longer works. To fix the ...
31
votes
How to make a Spherical Cow?
Get cow as a mesh region:
cow = ExampleData[{"Geometry3D", "Cow"}, "MeshRegion"];
Take coordinates of 0 cells:
...
18
votes
3D Thinning algorithm in Mathematica
I'm currently working on a fast/scalable solution to question 18893 and it's at a place where I think I can provide an answer here. Though I will admit there's a lot of room for improvement.
In this ...
17
votes
Accepted
How can Mathematica be used to create a 3D Maze with text like this?
To produce a maze, we can simply find a spanning tree of a grid graph.
IGraph/M has a function to generate random spanning trees of graphs, IGRandomSpanningTree.
...
16
votes
How to project 3d image in the planes xy, xz, yz?
If you only need the 2D projection images, you can just project the 3D image from the six cardinal directions:
...
15
votes
How to make a Spherical Cow?
This answer does not produce very pretty outcomes, but it does correspond to the question request:
I was wondering if there is a way to apply a continuous deformation to
the data to get the final ...
12
votes
How to make a Spherical Cow?
Great minds think alike (either that, or silly ideas rule eternal)... Something quite similar was also part of the 2012 oneliner competition. I pull all vertices through the origin to make it a bit ...
12
votes
Accepted
How to draw a cutaway diagram of concentric balls?
Since RegionPlot3D not so smooth and CSGRegion does not support Show,here we use another way....
11
votes
11
votes
Create a 3D stack of 2D line plots
Here's one way, using Graphics3D and starting from a list of $x,y,z$ values for datapoints.
Mock data:
...
11
votes
Accepted
9
votes
How to convert Graphics3D object into an Image3D object?
You could create a region using DiscretizeGraphics and find points within a certain distance of the surface using RegionDistance
...
9
votes
Accepted
9
votes
Accepted
Tomographic Reconstruction of a Convex Polyhedron from its Silhouettes
We only need the data of the boundary points of the projections.
...
8
votes
Accepted
Stereogram in Mathematica: inverse question
An ugly but working solution:
First we should estimate the period of the background patter:
...
8
votes
8
votes
Accepted
How to get to ComponentMeasurements[] from orthographic projection of a Graphics3D[] object?
Edit
If we only need image,we can use
...
8
votes
Accepted
Reverse the rotation of an animated gif and create a mirror image of it
To keep same speed for GIF import its "DisplayDurations":
dur = Import["/Users/Vitaliy/Desktop/wheel.gif", "DisplayDurations"]
And ...
7
votes
Accepted
How to draw a 3-dimensional sphere whose Head is Image3D?
If we are in 11.2,the RegionImage can help us to implement it
RegionImage[Sphere[]]
It is ...
7
votes
Accepted
3D printing cardioid
It seems your MeshRegion has degenerate Prism objects that aren't able to export. We can take the boundary instead and skip the ...
7
votes
7
votes
Create a revolved 3D image of a line
For a fixed point {x, r} ∈ Line[p], we can get a disk y^2 + z^2 <= r^2,this is the intuitive that we use to construct the ...
7
votes
How to obtain a 3D matrix from Graphics3D?
You can apply FillingTransform directly to the Image3D produced using RegionImage to fill ...
6
votes
Convert binary voxel image to geometric region
As of version 11.0.0, the built-in function ImageMesh may be used
6
votes
How do I convert imported STL files to 3D images?
I found that with Mathematica 10 one can use the region functions/distance+watershed to achieve something similar but much faster. Something along these lines can generate ~1 million voxels in a ...
6
votes
Eliminate the black color of the "W" so that it is equal to the "S" using Mathematica?
As a not too elaborated solution, it seems that a morphological image processing can be done:
...
6
votes
Accepted
3D Thinning algorithm in Mathematica
One approach is to apply a topology preserving morphological thinning method. I'll implement an algorithm by Lee. The main idea is to look at every 3x3x3 cube in the image and to decide which pixels ...
6
votes
Accepted
How to make an imported 3D Image look like X-Ray?
We can use the builtin ColorFunction -> "XRay":
Image3D[data3D, ColorFunction -> "XRay", Background -> Black]
We can ...
6
votes
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
image3d × 146graphics3d × 49
image-processing × 42
plotting × 34
graphics × 18
image × 16
import × 6
visualization × 6
conversion × 6
color × 5
mesh × 5
plot-themes × 5
polyhedra × 5
3d-printing × 5
list-manipulation × 4
manipulate × 4
export × 4
regions × 4
syntax × 4
data × 4
computational-geometry × 4
matrix × 3
finite-element-method × 3
segmentation × 3
performance-tuning × 2