How to convert images from jpg to MetaImage file format?

1 view (last 30 days)
I want to convert .jpg images to MetaImage file format. Image information as below:
Name Size Bytes Class Attributes
A 1398x1611 2252178 uint8
Can anyone please be kind enough to tell me whether JPG TO Metaimage file conversion is feasible in MatLab?
  2 Comments
Jan
Jan on 18 Feb 2016
I've searched a little bit in the net and could not find a unique and clear definition of what "Metaimage" is. Please provide any details.
Chathu
Chathu on 18 Feb 2016
Edited: Chathu on 18 Feb 2016
Sorry for for not being too specific before. But thanks for your response Jan.
MetaImage means mhd extension. Pls see the link: http://www.itk.org/Wiki/ITK/File_Formats
So these are medical images and i really want to reconstruct a 3D model from these 2D images. Can i convert my jpg images to mhd format in MatLab? How can i overcome this issue?

Sign in to comment.

Answers (1)

Stalin Samuel
Stalin Samuel on 18 Feb 2016
  1 Comment
Chathu
Chathu on 20 Feb 2016
Sorry for replying you late. But i ended up using some other inbuilt function(eg;dicomwrite) to overcome my issue as i was in a rush. But thank you for your response, Stalin.

Sign in to comment.

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!