What is the relation between eigen values and principal axes length for 3D data?











up vote
0
down vote

favorite












For a region in an binary image, I have calculated co-variance matrix using co-ordinates of region. Using co-variance matrix, I got two eigen values. Later I have calculated major axis length and minor axis length using the formula $4sqrt{lambda_i}$ where the $lambda_i$ are the eigenvalues. This formula is mentioned in the below given link 3-sigma Ellipse, why axis length scales with square root of eigenvalues of covariance-matrix. I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching for 2D object.
Now, I want to calculate principal axes lengths (major, middle and minor axis lengths) for 3D object data. For that I want a relation between eigen values obtained from 3D object co-ordinates (using same procedure mentioned above) and principal axes lengths for 3D data. 'regionprops' command in MATLAB do not work for 3D object.










share|cite|improve this question




















  • 1




    What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
    – enzotib
    Jun 3 '15 at 6:01










  • @enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
    – shrikant mehre
    Jun 3 '15 at 11:04












  • So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
    – GPerez
    Jun 3 '15 at 12:50










  • @GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
    – shrikant mehre
    Jun 3 '15 at 13:11















up vote
0
down vote

favorite












For a region in an binary image, I have calculated co-variance matrix using co-ordinates of region. Using co-variance matrix, I got two eigen values. Later I have calculated major axis length and minor axis length using the formula $4sqrt{lambda_i}$ where the $lambda_i$ are the eigenvalues. This formula is mentioned in the below given link 3-sigma Ellipse, why axis length scales with square root of eigenvalues of covariance-matrix. I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching for 2D object.
Now, I want to calculate principal axes lengths (major, middle and minor axis lengths) for 3D object data. For that I want a relation between eigen values obtained from 3D object co-ordinates (using same procedure mentioned above) and principal axes lengths for 3D data. 'regionprops' command in MATLAB do not work for 3D object.










share|cite|improve this question




















  • 1




    What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
    – enzotib
    Jun 3 '15 at 6:01










  • @enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
    – shrikant mehre
    Jun 3 '15 at 11:04












  • So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
    – GPerez
    Jun 3 '15 at 12:50










  • @GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
    – shrikant mehre
    Jun 3 '15 at 13:11













up vote
0
down vote

favorite









up vote
0
down vote

favorite











For a region in an binary image, I have calculated co-variance matrix using co-ordinates of region. Using co-variance matrix, I got two eigen values. Later I have calculated major axis length and minor axis length using the formula $4sqrt{lambda_i}$ where the $lambda_i$ are the eigenvalues. This formula is mentioned in the below given link 3-sigma Ellipse, why axis length scales with square root of eigenvalues of covariance-matrix. I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching for 2D object.
Now, I want to calculate principal axes lengths (major, middle and minor axis lengths) for 3D object data. For that I want a relation between eigen values obtained from 3D object co-ordinates (using same procedure mentioned above) and principal axes lengths for 3D data. 'regionprops' command in MATLAB do not work for 3D object.










share|cite|improve this question















For a region in an binary image, I have calculated co-variance matrix using co-ordinates of region. Using co-variance matrix, I got two eigen values. Later I have calculated major axis length and minor axis length using the formula $4sqrt{lambda_i}$ where the $lambda_i$ are the eigenvalues. This formula is mentioned in the below given link 3-sigma Ellipse, why axis length scales with square root of eigenvalues of covariance-matrix. I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching for 2D object.
Now, I want to calculate principal axes lengths (major, middle and minor axis lengths) for 3D object data. For that I want a relation between eigen values obtained from 3D object co-ordinates (using same procedure mentioned above) and principal axes lengths for 3D data. 'regionprops' command in MATLAB do not work for 3D object.







eigenvalues-eigenvectors






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 13 '17 at 12:21









Community

1




1










asked Jun 3 '15 at 5:42









shrikant mehre

12




12








  • 1




    What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
    – enzotib
    Jun 3 '15 at 6:01










  • @enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
    – shrikant mehre
    Jun 3 '15 at 11:04












  • So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
    – GPerez
    Jun 3 '15 at 12:50










  • @GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
    – shrikant mehre
    Jun 3 '15 at 13:11














  • 1




    What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
    – enzotib
    Jun 3 '15 at 6:01










  • @enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
    – shrikant mehre
    Jun 3 '15 at 11:04












  • So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
    – GPerez
    Jun 3 '15 at 12:50










  • @GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
    – shrikant mehre
    Jun 3 '15 at 13:11








1




1




What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
– enzotib
Jun 3 '15 at 6:01




What is "principal axes length" and where the formula 2*2*sqrt(eigenValue) comes from?
– enzotib
Jun 3 '15 at 6:01












@enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
– shrikant mehre
Jun 3 '15 at 11:04






@enzotib: Three dimensional object will have major axis, middle axis and minor axis. These axes are called principal axes. Formula mentioned above is taken from [link] (math.stackexchange.com/questions/911792/…). I have verified lengths of axes using mentioned formula and using 'regionprops' from Matlab.
– shrikant mehre
Jun 3 '15 at 11:04














So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
– GPerez
Jun 3 '15 at 12:50




So you're saying: "I have accomplished this in 2D, and now I'm wondering how I can do it for 3D images"?
– GPerez
Jun 3 '15 at 12:50












@GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
– shrikant mehre
Jun 3 '15 at 13:11




@GPerez: Yes. Exactly. 'regionprops' from MATLAB will give axes length for 2D. I want to calculate it for 3D data.
– shrikant mehre
Jun 3 '15 at 13:11










1 Answer
1






active

oldest

votes

















up vote
0
down vote













If I understand correctly your question, your formula seems to be wrong.



In three dimensions the distribution of mass could be represented by the inertia ellipsoid, whose equation, in a principal frame is
$$
I_x x^2 + I_y y^2 + I_z z^2 = 1,
$$
so that the length of the axes of the ellipsoid are $a_i = 1/sqrt{I_i} = 1/sqrt{lambda_i}$ (the principal moments of inertia are the eigenvalues of the inertia matrix).



See section 4.5 of http://www.eng.auburn.edu/~marghitu/MECH2110/C_4.pdf .






share|cite|improve this answer





















  • I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
    – shrikant mehre
    Jun 7 '15 at 12:42











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1310229%2fwhat-is-the-relation-between-eigen-values-and-principal-axes-length-for-3d-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













If I understand correctly your question, your formula seems to be wrong.



In three dimensions the distribution of mass could be represented by the inertia ellipsoid, whose equation, in a principal frame is
$$
I_x x^2 + I_y y^2 + I_z z^2 = 1,
$$
so that the length of the axes of the ellipsoid are $a_i = 1/sqrt{I_i} = 1/sqrt{lambda_i}$ (the principal moments of inertia are the eigenvalues of the inertia matrix).



See section 4.5 of http://www.eng.auburn.edu/~marghitu/MECH2110/C_4.pdf .






share|cite|improve this answer





















  • I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
    – shrikant mehre
    Jun 7 '15 at 12:42















up vote
0
down vote













If I understand correctly your question, your formula seems to be wrong.



In three dimensions the distribution of mass could be represented by the inertia ellipsoid, whose equation, in a principal frame is
$$
I_x x^2 + I_y y^2 + I_z z^2 = 1,
$$
so that the length of the axes of the ellipsoid are $a_i = 1/sqrt{I_i} = 1/sqrt{lambda_i}$ (the principal moments of inertia are the eigenvalues of the inertia matrix).



See section 4.5 of http://www.eng.auburn.edu/~marghitu/MECH2110/C_4.pdf .






share|cite|improve this answer





















  • I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
    – shrikant mehre
    Jun 7 '15 at 12:42













up vote
0
down vote










up vote
0
down vote









If I understand correctly your question, your formula seems to be wrong.



In three dimensions the distribution of mass could be represented by the inertia ellipsoid, whose equation, in a principal frame is
$$
I_x x^2 + I_y y^2 + I_z z^2 = 1,
$$
so that the length of the axes of the ellipsoid are $a_i = 1/sqrt{I_i} = 1/sqrt{lambda_i}$ (the principal moments of inertia are the eigenvalues of the inertia matrix).



See section 4.5 of http://www.eng.auburn.edu/~marghitu/MECH2110/C_4.pdf .






share|cite|improve this answer












If I understand correctly your question, your formula seems to be wrong.



In three dimensions the distribution of mass could be represented by the inertia ellipsoid, whose equation, in a principal frame is
$$
I_x x^2 + I_y y^2 + I_z z^2 = 1,
$$
so that the length of the axes of the ellipsoid are $a_i = 1/sqrt{I_i} = 1/sqrt{lambda_i}$ (the principal moments of inertia are the eigenvalues of the inertia matrix).



See section 4.5 of http://www.eng.auburn.edu/~marghitu/MECH2110/C_4.pdf .







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jun 3 '15 at 12:14









enzotib

5,80821430




5,80821430












  • I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
    – shrikant mehre
    Jun 7 '15 at 12:42


















  • I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
    – shrikant mehre
    Jun 7 '15 at 12:42
















I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
– shrikant mehre
Jun 7 '15 at 12:42




I have verified lengths of major axis and minor axis with the output of 'regionprops' command in MATLAB. It is exactly matching with the value obtained using mentioned formula for 2D object.
– shrikant mehre
Jun 7 '15 at 12:42


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1310229%2fwhat-is-the-relation-between-eigen-values-and-principal-axes-length-for-3d-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei