How to read an engine calibration dataset in format *.dcm in Matlab?
Show older comments
How to read an engine calibration dataset in format *.dcm in Matlab 2010?
The dataset in *.dcm format will have strings and numbers.
5 Comments
This Function converts engine calibration dataset .dcm file to .mat file which can be directly loaded to workspace to get only the variables with valid matlab names
Example : dcm2mat('dcmfilename')
Output will be saved as : 'dcmfilename_out.mat'
Guillaume
on 26 Jul 2019
Warning!
The code in the file provided by Anvar in the above comment is p code. Hence it's impossible to know what the code actually does.
Treat as any other random download off the internet. It may or may not do the job required and even if it does, it may or may not do something else at the same time.
An additional possible issue is that the dcm extension is often used for DICOM images (DIgital COmmunication in Medicin). If the function in the comment assumes it is a DICOM file, it will probably fail with a strange error.
Edit:
Anvar added a clarification that the dcm files this function reportedly loads are indeed engine calibration dataset files, so this comment is no longer really relevant.
Walter Roberson
on 2 Aug 2019
Edited: Walter Roberson
on 12 Sep 2020
there is this libary for reading dcm files i found very useful
Answers (1)
Kautuk Raj
on 23 Oct 2024
0 votes
To read an engine calibration dataset in the ‘.dcm’ format using MATLAB, you can leverage the ‘dicomread’ function.
X = dicomread(filename) reads the image data from the compliant Digital Imaging and Communications in Medicine (DICOM) file filename.
More about the ‘dicomread’ function can be gathered from the MathWorks documentation for the latest release as of now (R2024b) here: https://www.mathworks.com/help/images/ref/dicomread.html
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!