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: 398 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: 398 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 |
|
|
|
JohnVV shape from shade Apr 7 2010, 04:03 AM
JohnVV making progress
started with N1500060254_2.img
r... Apr 8 2010, 12:27 AM
4th rock from the sun Nice bump maps !
I have already suggested som... Apr 8 2010, 02:53 PM
JohnVV right now i am working on Dione i have a list of f... Apr 13 2010, 07:26 AM
JohnVV just an update
this is a TESTING only 100% auto t... Apr 17 2010, 03:42 AM
Bjorn Jonsson This looks very impressive, there is some loss of ... Apr 27 2010, 12:41 AM
JohnVV hi Bjorn
at this point i am just using a default ... Apr 27 2010, 03:58 AM
JohnVV only 3 show so a link to the photo album
http://w... Apr 27 2010, 04:22 AM
Bjorn Jonsson I have now tested Cyclops a bit. The first test ru... Apr 29 2010, 09:26 PM
JohnVV i am calling it a "bug" because i am doi... Apr 30 2010, 02:06 AM
JohnVV while i am starting to put together an ISIS contro... May 3 2010, 04:33 AM
Bjorn Jonsson QUOTE (JohnVV @ May 3 2010, 04:33 AM) if ... May 4 2010, 02:28 PM
JohnVV at the end will be a link to the folder
newbump.ta... May 6 2010, 06:16 AM
JohnVV five more and most likely the last until i find wh... May 8 2010, 08:42 PM
Bjorn Jonsson Thanks - I'll take a look at these files soon.... May 8 2010, 10:27 PM
JohnVV first the gimp Gmic filter( was called Graystratio... May 9 2010, 04:02 AM
JohnVV a bit of a change - the below will create a ... May 13 2010, 06:42 PM
JohnVV 2)
removing the curvature
yes one or two meshes c... May 13 2010, 08:01 PM
Sajid Interesting work you are doing.
Where did you fi... May 13 2010, 08:20 PM
JohnVV 3)
convert the hipassed normal to a mesh then to ... May 13 2010, 08:39 PM
JohnVV 4)
-- optional --
i like to normalize and convert ... May 13 2010, 11:46 PM
JohnVV an update
just a "testing " shot
with... May 28 2010, 12:07 AM
Bjorn Jonsson Looks very promising despite the 'terraced... Jun 6 2010, 09:05 PM
4th rock from the sun I've programed a simple SFS implementation in ... Sep 2 2010, 01:16 PM
AndyG Very nice!
ActionScript, huh? Smarty-pants... Sep 2 2010, 01:52 PM
4th rock from the sun Thanks!
I'm reading the image as a raste... Sep 2 2010, 10:17 PM
JohnVV the main problem has been with non optimal images ... Sep 2 2010, 11:24 PM
JohnVV just a bit of an update
stereo is by far better ... Feb 1 2012, 05:04 AM
volcanopele QUOTE (JohnVV @ Jan 31 2012, 10:04 PM) th... Feb 1 2012, 06:11 AM
JohnVV a height map but that spot IS an artifact from Sh... Feb 1 2012, 06:53 AM
JohnVV for now i have dropped the hyperionCV sfs in favor... Apr 17 2012, 09:03 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 05:37 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 a project of the Planetary Society and is funded by donations from visitors and members. Help keep this forum up and running by contributing here. |
|