JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for SPM Archives


SPM Archives

SPM Archives


SPM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

SPM Home

SPM Home

SPM  January 2019

SPM January 2019

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Problem with CAT12 segmentation using custom Cerebromatic TPMs

From:

Marko Wilke <[log in to unmask]>

Reply-To:

Marko Wilke <[log in to unmask]>

Date:

Wed, 16 Jan 2019 10:31:17 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (318 lines)

Hello Arjun,

sorry to hear that you are having issues with the COM toolbox.

I have had feedback from some people that the generated TPMs are not 
working well, but that was usually due to people assessing their own 
small population using the "Estimate regression parameters" without 
changing the estimation parameters (which are designed for a huge 
sample). This does not seem to be the case here.

Also, if you checked the TPM for overall appearance, and they work when 
fed to spm12, they seem to generally work alright (which is a relief to 
me ;) If you want, you can send me the file off-list and I can look at them.

My best guess would be that, as indicated in the error message, the 
affine registration is the issue. Not surprisingly, children's brains 
are different (the whole point of COM), so too stringently using the 
affine parameters from an adult population may bring about trouble. I 
have had a similar failure a while ago, and the solution as usual came 
from Christian with a new, more robust version of the affine estimation 
part of CAT12. I have not seen this error since updating (on December 
5th; I am not sure these changes are already available in the public 
version).

Also, w.r.t. your bonus question, COM will also generate SHOOT templates 
for you if you so desire. They are actually quite similar to DARTEL ones 
but contain an extra 1-sum(1:n) tissue class volume. If you are 
paranoid, you could generate both DARTEL and SHOOT templates using COM 
(using the same parameters, of course) and supply both to CAT12.

Hope this helps
Marko

Sethi, Arjun schrieb:
> Dear SPMers,
> 
> I’ve been bashing my head against this one for a while now, and thought 
> I’d ask the hive mind.
> 
> I’m analysing data from a study of kids (mean age around 8.6 years 
> [range: 5-11]) with CAT12 and making TPMs and dartel templates with COM. 
> The problem is I keep on getting an ‘Empty segmentation error’ (see 
> underneath the main body of this email, or attached error file; Versions 
> are: Matlab r2017a,  SPM 7487, com 1.1, CAT12.5 r1364). This only occurs 
> when I’m using the TPMs created using COM. The segmentation actually 
> works fine with the standard SPM TPMs in CAT12, and the custom COM TPMs 
> seem to produce a reasonable segmentation when using the standard SPM 
> segment module. In short, it seems like there is nothing fatally wrong 
> with either component alone (CAT12, COM TPMs), but they do not seem to 
> want to play nice together.
> 
> Here are a few troubleshooting steps that I have run so far:
> 
> Within CAT12:
> 
>  1. I have ensured the origin is appropriately close to the AC on the
>     T1w (moving) image and checked that this lines up well with the TPMs
>  2. I have fiddled with pretty much every available GUI option to no
>     avail (Affine Regularisation method, Strength of inhomogeneity
>     correction, Affine preprocessing, skull stripping method)
>  3. In addition to the above points re: the specificity of this problem
>     to CAT12 and the COM TPMs, I thought I’d also mention that the
>     custom DARTEL templates from COM also work fine in CAT12 segmentation.
>  4. The study is longitudinal in nature, but this error occurs
>     regardless of whether I use the regular or longitudinal segmentation
>     options. I’m doing most of my troubleshooting with the
>     cross-sectional segment to keep things simple.
> 
> Within COM (using unified segmentation regression parameters):
> 
>  1. I’ve tried with a variety of age sets as input to make sure there
>     was no unexpected behaviour associated with a specific combination.
>     Beyond that all our data are from male subjects collected at 3T, so
>     these are the only changes to regression parameters I have tried)
>  2. I’ve tried using the affine only regression parameters, but still no
>     dice.
>  3. I noticed that the final COM TPM is visually quite different (more
>     ‘detail’ within the brain, which appears as greyscale rather than
>     just zeros) from the default SPM TPMs, and surmised this is because
>     of how the COM TPMs are calculated (which ensures that TPM values
>     sum to one, and adds the remainder to the last tissue class). When I
>     change this so that the remainder isn’t added (and the final TPM is
>     more visually similar to the SPM default), there was still no change.
> 
> If anyone has any input it would be hugely appreciated as I’m a little 
> stumped at this point. It’s looking more and more to me like there is 
> nothing wrong with the segmentation or affine registration (as SPM does 
> this just fine, it would seem), but some kind of write error or 
> orientation issue that isn’t immediately obvious or observable (wrt the 
> latter, I’ve also checked the header info of the SPM and COM TPMs and 
> there were no differences that stuck out to me). I’ve noticed there have 
> been a few empty segmentation errors reported about this on the board 
> but I haven’t seen any resolution applicable here.
> 
> Best wishes,
> 
> Arjun
> 
> PS I also have a bonus (☺), hopefully much simpler question: - I just 
> wanted to confirm that when the DARTEL registration option is selected, 
> that the shooting template within the GUI is not used. I notice that the 
> DARTEL does run some ‘fast shooting’ and just wanted to clarify this 
> does not rely on the shooting template input.
> 
> ------------------------------------------------------------
> 
> Arjun Sethi, PhD
> 
> Postdoctoral Research Associate
> 
> Forensic & Neurodevelopmental Sciences
> 
> Institute of Psychiatry, Psychology & Neuroscience
> 
> King’s College London
> 
> 16 De Crespigny Park
> 
> London SE5 8AF
> 
> Tel: +44(0)207 848 5267
> 
> ------------------------------------------------------------------------
> 
> 15-Jan-2019 12:12:27 - Running job #10
> 
> ------------------------------------------------------------------------
> 
> 15-Jan-2019 12:12:27 - Running 'CAT12: Segmentation'
> 
> Warning: Dartel template was changed: Please be aware that ROI analysis
> 
> and other template-specific options cannot be used and ROI
> 
> output has been deselected.
> 
>  > In cat_run>update_job (line 331)
> 
>    In cat_run (line 159)
> 
>    In cfg_run_cm (line 29)
> 
>    In cfg_util>local_runcj (line 1717)
> 
>    In cfg_util (line 972)
> 
>    In cfg_ui>MenuFileRun_Callback (line 710)
> 
>    In gui_mainfcn (line 95)
> 
>    In cfg_ui (line 53)
> 
> ------------------------------------------------------------------------
> 
> CAT12.5 r1364: 1/1:      ./04_T1/ABC002A/anat9/ABC002A_4903_run1_T1w.nii
> 
> ------------------------------------------------------------------------
> 
> SANLM denoising (medium):                                            16s
> 
> Internal resampling (1.20x1.05x1.05mm > 1.00x1.05x1.05mm):            2s
> 
> APP: Rough bias correction:
> 
>    Initialize                                                          5s
> 
>    Estimate background                                                32s
> 
>    Initial correction                                                 15s
> 
>    Refine background                                                  32s
> 
>    Final correction                                                   12s
> 
>    Background correction                                               0s
> 
>    Final scaling                                                       1s
> 
>                                                                       99s
> 
> Coarse affine registration                                           11s
> 
> Affine registration                                                  20s
> 
> SPM preprocessing 1 (estimate 1):                                    32s
> 
> SPM preprocessing 1 (estimate 2):                                   119s
> 
> SPM preprocessing 1 (estimate skull-stripped):                      104s
> 
> SPM preprocessing 1 (estimate skull-stripped):                      105s
> 
> SPM preprocessing 2 (write):
> 
>    Write Segmentation                                                 18s
> 
>    Update Segmentation
> 
> ------------------------------------------------------------------------
> 
> CAT Preprocessing error for ABC002A_4903_run1_T1w:
> 
> ------------------------------------------------------------------------
> 
> Empty Segmentation:
> 
>   Possibly the affine registration failed. Pleace check image orientation.
> 
> Tissue class:                   BG       CSF        GM        WM       
> HDH       HDL
> 
> Rel. to image volume:        33.70      0.00      0.00      0.00     
> 37.86     28.43
> 
> Rel. to brain volume:          Inf       NaN       NaN       NaN       
> Inf       Inf
> 
> Tissue intensity:             0.47    748.77   1522.66   2296.56   
> 1986.58   1138.68
> 
> ------------------------------------------------------------------------
> 
>    216 - cat_main
> 
>    721 - cat_run_job1070
> 
>     16 - cat_run_newcatch
> 
>    398 - run_job
> 
>    161 - cat_run
> 
>     29 - cfg_run_cm
> 
> 1717 - local_runcj
> 
>    972 - cfg_util
> 
>    710 - MenuFileRun_Callback
> 
>     95 - gui_mainfcn
> 
>     53 - cfg_ui
> 
> ------------------------------------------------------------------------
> 
>    Warning:cat_io_report:CATgui: Incomplete report creation in 
> cat_io_report because of incomplete CAT parameters.
> 
> Print 'Graphics' figure to:
> 
>    /data/project/abc/03_Sorted/04_T1/ABC002A/anat9/report/catreport_ABC002A_4903_run1_T1w.pdf
> 
> 15-Jan-2019 12:21:51 - Failed  'CAT12: Segmentation'
> 
> Error using cat_main (line 216)
> 
> Empty Segmentation:
> 
>   Possibly the affine registration failed. Pleace check image orientation.
> 
> Tissue class:                   BG       CSF        GM        WM       
> HDH       HDL
> 
> Rel. to image volume:        33.70      0.00      0.00      0.00     
> 37.86     28.43
> 
> Rel. to brain volume:          Inf       NaN       NaN       NaN       
> Inf       Inf
> 
> Tissue intensity:             0.47    748.77   1522.66   2296.56   
> 1986.58   1138.68
> 
> In file "/data/project/abc/MatlabPath/spm12/toolbox/cat12/cat_main.m" 
> (v1361), function "cat_main" at line 216.
> 
> In file 
> "/data/project/abc/MatlabPath/spm12/toolbox/cat12/cat_run_job1070.m" 
> (v1348), function "cat_run_job1070" at line 721.
> 
> In file 
> "/data/project/abc/MatlabPath/spm12/toolbox/cat12/cat_run_newcatch.m" 
> (???), function "cat_run_newcatch" at line 16.
> 
> In file "/data/project/abc/MatlabPath/spm12/toolbox/cat12/cat_run.m" 
> (v1332), function "run_job" at line 398.
> 
> In file "/data/project/abc/MatlabPath/spm12/toolbox/cat12/cat_run.m" 
> (v1332), function "cat_run" at line 161.
> 
> The following modules did not run:
> 
> Failed: CAT12: Segmentation
> 

-- 
____________________________________________________
Prof. Dr. med. Marko Wilke
  Facharzt für Kinder- und Jugendmedizin
  Leiter, Experimentelle Pädiatrische Neurobildgebung
  Oberarzt der Abteilung Neuropädiatrie
  Universitäts-Kinderklinik

Marko Wilke, MD, PhD
  Pediatrician
  Head, Experimental Pediatric Neuroimaging
  Consultant in Pediatric Neurology
  University Children's Hospital

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/
____________________________________________________

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager