shape from shade, so i do not take over Bjorn's |
shape from shade, so i do not take over Bjorn's |
Apr 7 2010, 04:03 AM
Post
#1
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
So that i do not take over his nice thread i figured i would start a new one
I am just figuring it out so bear with me Rhea This is a example - very early example http://www.shatters.net/forum/viewtopic.php?f=5&t=15847 one that i am going to redo . the program i am using "Cyclops" has a few bugs Enceladus this is a good example a bit better than the above the close ups are a 8k level 3 VT with and without a texture over it then a 4k level2 vt unfortunately i still have to figure out a bug .I need to run a highpass on it ( the 32 bit isis dem ) Cyclops exports to a 3d *.ply this is easy to export to a isis cub and i get this ( this happens when i combine 16 smaller images into one big one ) and this example is at 1/2 size Just a bit of a bug !!! |
|
|
Jun 7 2010, 03:02 AM
Post
#2
|
|
Member Group: Members Posts: 890 Joined: 18-November 08 Member No.: 4489 |
QUOTE Looks very promising despite the 'terraced' appearance in much of the image (a consequence of an 8 bit DEM?) no, that is an artifact from a fast and not so good contrast bump on the low contrast map . At this stage i am not worried after all the screen shot is a 4096x2048 resize of the 16384x8192 map i am making . QUOTE As an example, for image N1507742440_2.IMG of Dione the correct direction is (0.303693, -0.205793, 0.930279) but I get much better results using (0.5,0.2,0.6). for this image i am using this ( measurementsare on the image ) -- oops i miss typed -- [attachment=21852:N1507742440_2.png] from the center 0.2 up and 1.0 over( right ) and 0.5 out from the screen is the height -- correction -- on the photo should be ( 1.0 ,0.2,0.5) QUOTE Big craters are often too shallow in the resulting DEMs, requiring postprocessing in Photoshop (or combining the Cyclops DEM with a stereo DEM). i have seen that too , that is why i posted above ( a few posts) that i have been editing , by hand, the craters there are very predictable spots that need help [attachment=21853:N1507742440_2.jpg] also the second hi-pass is removing some of the depth in the hole but at the same time it is getting ride of the left to right slope as seen in Nirgal's post http://www.thethirdplanet.de/mars_gallery/...okrates_sfs.jpg the one on the right is like the ply / normal map from cyclops , and that second hi-pass filter flattens the image . -- i or we or all of us need to find a better solution -- but considering there is not much of a choice the pc2d ( from 2004 ) -gimp- shapefs-1.2.0.0-20051020.tar.gz ( this dos not work well and needs a very old version of gimp ) i have collected a few OLD things and they do build linear.cpp -- excerpt -- CODE /**************************************************************************** NAME: linear.cpp -- Performs shape from shading using linear FFT based algorithm SYNOPSIS: linear inImage inFmt sunElevAngle sunAzimAngle d -f fltFrq outFmt outDem Example: linear spot128.dat 2 19.3 287.2 2.5 -f 0 2 ts_dem.dat DESCRIPTION: This program performs linear shape-from-shading ALGORITHM REFERENCES: Liu, H. "Derivation of surface topography and terrain parameters from single satellite image using shape-from-shading technique" in Computers & Geosciences BUGS: Compiling on SGI: CC -Ddebug=0 -g -o linear linear.cpp linear_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -LANG:std -lm Compiling on SUN: CC -Ddebug=0 -g -o linear linear.cpp linear_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -lm or mini.cpp CODE /**************************************************************************** NAME: mini.c - Performs shape from shading using minimization algorithm SYNOPSIS: mini inName inFmt sunElevAngle sunAzimAngle lamda iterNum -d initDemName outFmt outName Example 1:mini spot128.dat 2 19.3 287.2 1.5 50 2 ts_dem.dat ALGORITHM REFERENCES: Liu, H. "Derivation of surface topography and terrain parameters from single satellite image using shape-from-shading technique" in Computers & Geosciences Compiling on SGI: CC -Ddebug=0 -g -o mini mini.cpp mini_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -LANG:std -lm Compiling on SUN: CC -Ddebug=0 -g -o mini mini.cpp mini_sfs.cpp fft2d.cpp imageio.cpp stopwatch.cpp -lm ************************************************************/ the two above are from a zip called v29-10-03.zip this was from a paper - google found the zip but not the paper (h??p://207.176.140.93/documents/oldftp/VOL29/) and then cyclops . So not to much of a choice here in a few( or many,many) years there will be Nirgal's . If all the patent an IP issues can be solved |
|
|
Lo-Fi Version | Time is now: 20th September 2024 - 08:03 AM |
RULES AND GUIDELINES Please read the Forum Rules and Guidelines before posting. IMAGE COPYRIGHT |
OPINIONS AND MODERATION Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators. |
SUPPORT THE FORUM Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member. |