×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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:

https://imageshack.com/i/mwq4zvp

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:

https://imageshack.com/i/g128ybj

https://imageshack.com/i/g4x7mnj

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources