Reading 3D Xray CT image in Matlab and performing PCA
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ashbub
am 24 Dez. 2017
Kommentiert: Ashbub
am 5 Jan. 2018
Hi, I have a Xray CT volume of few irregular shape. I want to read the file in Matlab and want to plot principal axis of each object using PCA. I've never worked in with 3D in matlab. Can anyone please suggest a procedure. Thanks.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 24 Dez. 2017
Segment your object. Then use find() to find the row, columns, and slice of the voxels. Then put them into columns and call pca(). Attached is a demo where I used PCA to find PCs of the 3-D color gamut. It will be easy for you to adapt it.
13 Kommentare
Image Analyst
am 3 Jan. 2018
regionprops works on arrays, and arrays are composed of elements with integer indexes. The array has no concept of spatially calibrated global coordinates, like whether the voxel spacing is 0.45 mm or whatever, all it knows is rows and columns, etc. If you have a spatial calibration to map indexes into real world coordinates, then you keep track of that separately. regionprops doesn't care (it ignores any spatial calibration you're thinking of) and works in voxels or pixels.
Weitere Antworten (1)
Ashbub
am 26 Dez. 2017
1 Kommentar
Walter Roberson
am 26 Dez. 2017
Mathworks Consulting might possibly be open.
Most of the regular volunteers are on Christmas holidays and not willing to take on any "urgent" task. (To be more thorough: very few of the volunteers are willing to volunteer on "urgent" projects that take more than about 5 minutes to think about and write up, at the best of times, and even less so during this major holiday season.)
Siehe auch
Kategorien
Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!