Bharti,
first, a happy new year to you (and everybody else :), too!
As to your question, I think this is not possible. What segmentation
tries to achieve is to combine information from image intensity and
localization into a probability to belong to this or that tissue class,
while also taking into account nuisance factors such as image
inhomogeneity, scaling etc. Also, several tissue classes are
additionally computed, but not usually written out (background, sinuses,
scalp etc.). You therefore basically reduce several bits of information
available in the image to one piece of information, i.e., probability. I
do not think you can reverse that process as intrinsically, you do not
have all the information anymore.
However, depending on what you want to do with the combined image, you
can conceivably try to combine the segmented volumes using something like
%=== start ===
vols = spm_select(Inf, 'image', 'Select tissue classes (GM/WM/CSF)');
temp = spm_read_vols(spm_vol(vols));
[~, ind] = max(temp,[],4);
ind = ind .* (sum(temp,4) > 0.1);
V = spm_vol(vols(1,:));
V.fname = [p filesep nm '_classes' e];
spm_write_vol(V,ind);
%=== start ===
such that in the resulting ..._classes image, GM will correspond to 1,
WM to 2, and CSF to 3 (threshold such that only tissue with a joint
probability > 0.1 is considered and is assigned to the class with the
maximum probability). Not sure this is what you want, but it may get you
started.
Hope this helps,
Marko
PS: This of course only works in the space the segmented images were
written out to. In other words, if you only have normalized segments,
then you will have to back-transform them (see the list's archives for
hints on that).
Bharti Rana wrote:
> Dear SPM users
>
> In SPM, is there is any way of reconstruction of T1-weighted images
> from GM, WM and CSF. In detail, if I've a T1-weighted MRI and I've
> segmented it into GM, WM and CFS. Now, is there any option to
> reconstruct original image (T1-weighted) with the help of the GM, WM,
> CSF and *_sn.mat files.
>
> Thanks in anticipation.
> and Wish u all a VERY HAPPY NEW YEAR 2014.
>
>
>
> --
> Best Regards
> Bharti
> M.Tech./Ph.D.
> SC&SS
> JNU, NEW DELHI
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn/
____________________________________________________
|