The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: get 3D pixels belonging to a cut plan
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
From: France
Registered: 11/13/15
get 3D pixels belonging to a cut plan
Posted: Nov 6, 2017 6:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,

I'm trying to get (coordinates) and count the 3D pixels belonging to a cut plane of a 3D cylindrical form (it's not a real cylinder. It's a brunch of a bifurcation). For this, I'm using the rule which stays that the equation of a cut plane perpendicular to a point A(xA,yA,zA) (belonging to the cylinder) can be defined if we have a normal vector vec(AB)(xAB,yAB,zAB) with B a 3D pixel belonging to the cylinder and a point M(xM,yM,zM) (point belonging to the 3D stack) such as: vec(AB).dot(vec(AM))=0. Hence M is belonging to the cut plane.
Is this the good approach ? I don't succeed to find 3D pixels that verify the equation of the cut plane stated as:
xAB*(xM - xA) + yAB*(yM-yA) + zAB*(zM-zA)=0

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.