Error in radiomics feature calculations

54 views
Skip to first unread message

Kundan Singh Chufal

unread,
May 21, 2020, 5:24:10 AM5/21/20
to CERR FORUM
I am using batch extraction method for feature calculation as explained in wiki page
https://github.com/cerr/CERR/wiki/Example1-batch-calculate-global-radiomics-features-for-the-patient-cohort

I am getting this error

CERR>> Loading 126627.mat...
CERR>> Loaded 126627.mat...
Reference to non-existent field 'minClipIntensity'.

Error in calcRadiomicsForImgType (line 39)
minClipIntensity = paramS.textureParamS.minClipIntensity;

Error in calcGlobalRadiomicsFeatures (line 24)
featureS = calcRadiomicsForImgType(volToEval,maskBoundingBox3M,paramS,gridS);

Error in batchExtractRadiomics (line 48)
featS.(structFieldName) = calcGlobalRadiomicsFeatures...

Error in newBatchExtractorEso (line 12)
featureS = batchExtractRadiomics(dirName,paramFileName,outXlsFile);

iy...@mskcc.org

unread,
May 21, 2020, 10:31:40 AM5/21/20
to cerr-...@googlegroups.com
Hi Kundan,

We have pushed a fix to handle missing/empty values for the minClipIntensity & maxClipIntensity parameters. Can you please try again with the latest version on Github?

These parameters were added recently to specify the intensity limits for quantization. When unspecified, the min & max intensities within the region of interest are used by default. For more information on all available calculation settings, please see https://github.com/cerr/CERR/wiki/Global-radiomics-feature-calculation-parameters.

Best,
Aditi
--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerr-forum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerr-forum/eda23732-2385-4553-aa4c-551c7b31661d%40googlegroups.com.



*** Only open attachments or links from trusted senders. Report phishing to inf...@mskcc.org ***

=====================================================================

Please note that this e-mail and any files transmitted from
Memorial Sloan Kettering Cancer Center may be privileged, confidential,
and protected from disclosure under applicable law. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any reading, dissemination, distribution,
copying, or other use of this communication or any of its attachments
is strictly prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message
and deleting this message, any attachments, and all copies and backups
from your computer.

kundan

unread,
May 21, 2020, 12:13:43 PM5/21/20
to cerr-...@googlegroups.com
thanks for yur help. minclipintensity error has gone but now i am getting other error.

Index exceeds the number of array elements (1).

Error in radiomics_first_order_stats (line 118)
edgeV = edgeMinV(k):binWidth:edgeMaxV(k);

Error in calcRadiomicsForImgType (line 92)
        featureS.(outFieldName).firstOrderS = radiomics_first_order_stats...


Error in calcGlobalRadiomicsFeatures (line 24)
featureS = calcRadiomicsForImgType(volToEval,maskBoundingBox3M,paramS,gridS);

Error in batchExtractRadiomics (line 48)
        featS.(structFieldName) = calcGlobalRadiomicsFeatures...

Error in newBatchExtractorEso (line 12)
featureS = batchExtractRadiomics(dirName,paramFileName,outXlsFile);


--
Dr Kundan Singh Chufal
Sr Consultant Radiation Oncology
Chief Breast and Thorax Radiation Services
Rajiv Gandhi Cancer Institute and Research Centre
Sector-5, Rohini 110085, Delhi, India 

iy...@mskcc.org

unread,
May 21, 2020, 3:48:01 PM5/21/20
to cerr-...@googlegroups.com

Thanks for pointing this out.

We have updated the code on GitHub to fix this. Can you please pull the latest changes and give it a try?

 

Best,

Aditi

Myrediff

unread,
May 21, 2020, 11:47:11 PM5/21/20
to cerr-...@googlegroups.com
Thanks 
Now it’s calculating as expected. Just an additional question. Does this calculation preprocess the image prior to feature extraction. 
Resampling, normalization, zero centering 
Or these preprocessing steps if required has to be done separately before executing feature calculation.

Sent from my iPhone

On 22-May-2020, at 1:18 AM, iy...@mskcc.org wrote:



Kundan Singh Chufal

unread,
May 24, 2020, 7:21:54 AM5/24/20
to CERR FORUM
I am not able to calculate features using filter Haralick and also for other features

my jason settings is :

"HaralickCooccurance": {
                "NumLevels":64,
                "PatchSize":"[2 2 0]",
                "Directionality":2,
                "Type":"All"
                  }

and i got this error

--- Texture Calculation for Slice # 67 ----
Elapsed time is 7967.295615 seconds.
Unrecognized function or variable 'fieldName'.
Error in createFieldNameFromParameters (line 59)
fieldName = strrep(fieldName,' ','');
Error in calcRadiomicsForImgType (line 88)
    outFieldName = createFieldNameFromParameters...
Error in calcGlobalRadiomicsFeatures (line 24)
featureS = calcRadiomicsForImgType(volToEval,maskBoundingBox3M,paramS,gridS);
Error in batchExtractRadiomics (line 48)
        featS.(structFieldName) = calcGlobalRadiomicsFeatures...
Error in newBatchExtractorEso (line 15)
featureS = batchExtractRadiomics(dirName,paramFileName,outXlsFile); 



To unsubscribe from this group and stop receiving emails from it, send an email to cerr-...@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/cerr-forum/eda23732-2385-4553-aa4c-551c7b31661d%40googlegroups.com.



*** Only open attachments or links from trusted senders. Report phishing to inf...@mskcc.org ***

=====================================================================

     Please note that this e-mail and any files transmitted from
     Memorial Sloan Kettering Cancer Center may be privileged, confidential,
     and protected from disclosure under applicable law. If the reader of
     this message is not the intended recipient, or an employee or agent
     responsible for delivering this message to the intended recipient,
     you are hereby notified that any reading, dissemination, distribution,
     copying, or other use of this communication or any of its attachments
     is strictly prohibited.  If you have received this communication in
     error, please notify the sender immediately by replying to this message
     and deleting this message, any attachments, and all copies and backups
     from your computer.

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.

To unsubscribe from this group and stop receiving emails from it, send an email to cerr-...@googlegroups.com.


 

--

Dr Kundan Singh Chufal

Sr Consultant Radiation Oncology

Chief Breast and Thorax Radiation Services

Rajiv Gandhi Cancer Institute and Research Centre

Sector-5, Rohini 110085, Delhi, India 

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.

To unsubscribe from this group and stop receiving emails from it, send an email to cerr-...@googlegroups.com.

=====================================================================

Please note that this e-mail and any files transmitted from
Memorial Sloan Kettering Cancer Center may be privileged, confidential,
and protected from disclosure under applicable law. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any reading, dissemination, distribution,
copying, or other use of this communication or any of its attachments
is strictly prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message
and deleting this message, any attachments, and all copies and backups
from your computer.

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerr-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages