Unable to convert stl to stacks

fiji
3d-viewer
stack
stl

#1

Hi everyone,

I have an STL image (of arteries in the brain) and I want to get 2D slices or z stacks of this. I installed the 3D viewer and was reading somewhere that there is a way to convert this into stacks? However, when I open the stl in 3d viewer, it does not give me an option to view it as orthogonal slices/surface etc (all those options under ‘Edit’ are greyed out). I also can’t use the regular stack menu under Fiji/ImageJ with this STL as it is open under the 3D viewer and not as an image, so whenever I try to use any of the regular menu, it just says no image is open.

Can someone please help me with creating slices/stacks from this stl? I would really appreciate it. I tried uploading the STL but I guess the forum upload doesn’t allow STL files.


#2

Hi @AditiD and welcome to the forum!

These two forum topics might contain some useful information:


#3

Hi Jan,

Thanks for responding! I did look into those posts but didn’t seem to work for me, with the first one, there is no voxelization option in my 3D viewer and the view as orthogonal slices option in edit is grey out. With the solution posted in the second one, I downloaded SciView but when I run it, it gives an error :frowning:
I’ll reply onto one of those posts directly maybe, if that’s better.

Thank you!


#4

I have one alternative for you. However, please report your SciView error, we would like to be sure that the SciView option is working.

  1. Install the funimagej update site
  2. Plugins>FunImageJ>Mesh>voxelize mesh
  3. Select your .stl file, enter the dimensions that you want for your stack.
  4. Enjoy a stack of your voxelized stl

#5

Hi Kyle,

Thanks for the suggestion… I had seen that on one of your other posts but it gives me an error :frowning:

Am I making a mistake in choosing the dimensions? Also, if this works somehow, this would give me one slice right? so if I want all the slices that would constitute the 3D volume/stl, how would I go about that?

Thanks again for your help!


#6

Try updating from funimagej again. It seems like my fix didn’t get uploaded to the update site last time.


#7

Thank you! FunImageJ seems to be working now… is there a way to view multiple slices/stacks? I mean for different depths?
Also, when I open SciView, this is the error I get:
[LWJGL] Failed to load a library. Possible solutions:
a) Install the library or the driver that provides the library.
b) Ensure that the library is accessible from the system library paths.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.

Thanks again


#8

I’m not sure I understand. You can make stacks at any resolution that you’d like (although you’ll have to figure out what this means in terms of actual units).

The general idea is to generate 1 stack for each STL/resolution. Then to proceed with standard techniques for processing stacks with ImageJ.

That SciView error was also encountered here: Alternative to ImageJ 3D Viewer (Benjamin Schmid's)
and a solution is posted later in the thread here: Alternative to ImageJ 3D Viewer (Benjamin Schmid's)


#9

Yes, I chose the depth/resolution and it generated 1 stack for each resolution. But to proceed with further processing of these stacks, it doesn’t let me save them as images (I can just scroll to see all the stacks in the viewer in the plug-in but not actually export them as images/stacks). Is there a way to do that? Since without that I don’t think I can use these stacks for anything but viewing them? Sorry if there is already a way and I can’t seem to find it :frowning:

Thanks a lot, I really appreciate your help with this.


#10

Hm, what happens when you try to save them? It works for me. Also, a quick potential workaround is to use Image>Duplicate to create a copy of the image and try to save the duplicate.


#11

Hi Kyle,

It worked now! I got the slices saved :slight_smile: Thanks so much!!


#12

Awesome.

Slice on!
Kyle