From: jaw singh on 9 May 2010 12:35 is there any way we can create a 3d image out of a given .png file? it is known that a 3d image can be made from a gis file such as .dem file using mapping toolbox by analyzing and using its longitude,latitude and Z paramter. can we use the same method to work with a png file?
From: Ironic Prata on 9 May 2010 13:00 "jaw singh" <sush.89(a)hotmail.com> wrote in message <hs6o7p$kpf$1(a)fred.mathworks.com>... > is there any way we can create a 3d image out of a given .png file? > > it is known that a 3d image can be made from a gis file such as .dem file using mapping toolbox by analyzing and using its longitude,latitude and Z paramter. can we use the same method to work with a png file? to create a 3d image, you need the z coordinate. is it the pixel intensity, color, etc?
From: us on 9 May 2010 14:02 "jaw singh" <sush.89(a)hotmail.com> wrote in message <hs6o7p$kpf$1(a)fred.mathworks.com>... > is there any way we can create a 3d image out of a given .png file? > > it is known that a 3d image can be made from a gis file such as .dem file using mapping toolbox by analyzing and using its longitude,latitude and Z paramter. can we use the same method to work with a png file? one of the solutions img=double(imread('coins.png')); surf(img); shading interp; colormap(gray); view(60,75); us
From: jaw on 9 May 2010 22:25 @ "Ironic Prata" the png file has to be like a GIS file which contains the information regarding x,y,z coordinates. if we can analyze, store and use those values, probably we can make 3d from it. its not about just png file. any raster file can work. also we can use any inbuilt function in matlab for it. like we use usgs24kdem function in matlab to analyze 7.5-minute (30-m or 10-m) DEM file formats. @ us thanks. but here we are representing the image 3D by using view function. we also need to use its x,y,z coordinates if it has it. like i said any raster file could work.
|
Pages: 1 Prev: ofdm Next: Add 2 images of different sizes/partial overlap ? |