Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Surface area of a 3D-plot from a matrix.

Status
Not open for further replies.

Lucynerios

Computer
Joined
Feb 26, 2014
Messages
1
Location
BR
Hi guys. I'm trying to calculate the area of a surface. My problem is something like this:

I have some images in 8bits ... something like this one:


I made a Java program so I can turn those images into a matrix and open it with MatLab.

When I run my program for this image it returns me something like this:

matrix = [255,255,255,255,255;
255,195,195,195,255;
255,195,0,195,255;
255,195,195,195,255;
255,255,255,255,255];

Then I can put this matrix in matlab and use the function surf (or bar3). So I get something like this:



Now comes my problem. Is there any way to calculate the surface area of this 3d-plot? Can be anything that returns me a quantitative value for this surface area.

Thanks.

ps: sorry for my english, im from Brazil.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top