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 another array method:
Image[Thinning[Unitize[EntropyFilter[ArrayPad[DiskMatrix[{10, 10}], 1], 1]]]]
This is good method in 2 dimensions. But the function Thinning
cannot be used in 3 dimensions. So I don't know how to draw a 3D sphere still.
Update:
It seem the
EdgeDetect[Image3D[ArrayPad[DiskMatrix[{40, 40, 40}], 1]]]
is close to what I want.But this method is costing memory very much and the surface'sthickness seem to be not very uniform.
Image3D[DiskMatrix[{100, 100, 100}]]
works, but I'm curious why the interplay betweenImage
andGraphics
works, while the interplay betweenImage3D
andGraphics3D
does not.... $\endgroup$