If you'd like to upload plug-ins, please create an account below. Otherwise (e.g. for download or commenting) you do not need one! Enjoy :-)
Shape from shading algorithms have been around for a while. Dr. Mark J. Carlotto describes a simplified version using basic trigonometry (Sculptor's Photoclinometry page in the Pacific-Sierra Research Image Shape from Shading section). In that section, Dr. Carlotto describes the Berthold Klaus Paul Horn algorithm for generating shape from shading, first described by Horn in 1989.
This plug-in generates a 3D image or movie from a greyscale source image based on the shading of the image, the sun azimuth, the camera angle (called phase angle), and the pixel size. Originally designed to be used with Mars Orbiter Camera (MOC) images, the user should be familiar with Mars Orbiter Camera ancillary parameters. The plug-in should work with any planetary data system or terrestrial image provided that the above parameters are available.
The results of this plug-in have been somewhat ground-truthed using an ISS image of the Giza pyramids. However, due to the inability to ascertain or enter albedo values for the surface in question, the results should be accepted with CAUTION.
The plug-in is very resource intensive, and requires maximal memory to function effectively on large (1000x1000) images. The author recommends a minimum of 512MB of system memory.
| Attachment | Size |
|---|---|
| shapefs-1.2.0.0-20051020.zip | 316.48 KB |
| shapefs-1.2.0.0-20051020.tar.gz | 194.24 KB |
Comments
How do I get this plugin to work?
I can't figure out how to install/register the plug-in, please help...
How do I get this plugin to work?
If you refer to the windows version, is a good question, packaging seems done by somebody that do not use Windows
First step is obviously unzip
Then you may try just to move ShapeFS.exe in one of your plugin folder and reload gimp
IF that doesn't work
move back ShapeFS.exe in the folder
move away all docs (HTML and Papers folders they may contain useful info to use the plugin ..but for sure are not part of what it has to be installed) from the folder.
Place the folder anyway is comfortable for you (my Document as example )
Start gimp go to Edit/preferences/folder/plugin
there click on "new folder "icon and then search button to locate the path for that folder
Click ok when done and reload gimp
Thanks for replying, I know
Thanks for replying,
I know why I can't get it to install: I'm using Linux but the makefile is designed for Windows.
I found the install instructions at the link provided in the (un-nested) reply below here. I tried "make -f Makefile.win all" (capital M, Linux is case sensitive), had to edit Makefile.win to change G++.exe to g++ etc.. but I still couldn't get it to compile. Hopefully another Linux user will see my shout for help and provide instructions for compiling this in Linux.
Examples?
Could you please post some examples of a grayscale image and the 3d image/movie this plugin would generate from it?
Many thanks!
Examples of shapefs-1.2.0.0-20051020
That's the manual page for shapefs-1.2.0.0-20051020. As the site says, it's way cobwebbed, but the plug-in does appear to work with the latest versions of GIMP. Please notify me if otherwise at alreaud@happycattech.com.