How do I find the centre of gravity for an irregular shape?
Mostra commenti meno recenti
I have given the marked coordinates and region of interest in which I would like to find the centre of gravity for, please help me.
2 Commenti
Jan
il 2 Lug 2019
In which format are the input data given?
Sudev Parthiban
il 15 Lug 2019
Modificato: Jan
il 15 Lug 2019
Risposta accettata
Più risposte (1)
Kaustav Bhattacharya
il 2 Lug 2019
0 voti
Refer this link. It might help. https://in.mathworks.com/matlabcentral/answers/339583-hellou-could-i-ask-for-help-finding-the-center-of-gravity-of-the-object
4 Commenti
Sudev Parthiban
il 15 Lug 2019
Jan
il 15 Lug 2019
@Sudev: I ask again: In which format is the image given? It does not matter, that it has been saved as MAT file, but the type and dimensions of the data are important. Please do not explain, what the image is not, but what it is.
Sudev Parthiban
il 15 Lug 2019
The DICOM format is a file format. You have loaded the data from a MAT file. Therefore I think, that "DICOM format" is neither possible, nor does it explain, how the data are represented. All we know currently is that your data are not a binary image. Please provide any explicit details about the input. It would be inefficient if the readers guess, which data you have.
What do you exactly get for:
data = load('ROI1.mat')
Loading data directly into the workspace is prone to bugs. Prefer to catch the data in a variable like in my example.
Categorie
Scopri di più su Read, Write, and Modify Image in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!