NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 142 - 3D viewer smooth mesh/smooth all meshes do not work
3D viewer smooth mesh/smooth all meshes do not work
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
Other Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2010-02-21 11:22 CST by G. Landini
Modified: 2011-03-23 15:32 CDT
0 users

See Also:

Description G. Landini 2010-02-21 11:22:36 CST
Loading a stack volume and converting it to a surface works fine.
If I am correct, this new object is considered a mesh, but the "smooth mesh" and "smooth all meshes" do not do anything.
If I am wrong (and the surface rendering is not a mesh), then the "smooth mesh" and "smooth all meshes" command should not become un-greyed when displaying the surface.
Comment 1 Albert Cardona 2010-02-22 10:20:34 CST
Hi Gabriel,

I wrote the "Smooth mesh" command. It's very simple and does a poor man's smoothing, considering for every vertex only the set of vertices directly connected to it, for the computation of the relaxation displacement.

For an image volume converted to a mesh, likely the angles are already so small that nothing changes when running smooth mesh once or twice.

What is needed is a smarter "Smooth mesh" implementation that considers constant surface area blocks independent of the number of vertices in it. If anybody would like to write it, there is a very good example in Blender, in C.
Comment 2 Johannes Schindelin 2011-03-23 14:37:55 CDT
Do the recent changes help, Gabriel?
Comment 3 G. Landini 2011-03-23 15:32:51 CDT
(In reply to comment #2)
> Do the recent changes help, Gabriel?

Yes, very nice.
Closing the bug!

Cheers
G