radiomics icon indicating copy to clipboard operation
radiomics copied to clipboard

about the pixelW and slicsS

Open ai1361720220000 opened this issue 6 years ago • 2 comments

Hi mvallieres! I have to process some fundus images and i don't know the number of pixelW and sliceS..... So how to solve this problem?? Thanks!

ai1361720220000 avatar Oct 21 '18 02:10 ai1361720220000

Thanks for your interest in my code.

Given the level of details you are providing here in your question, my response can only be: please provide to the code pixelW and sliceS values that makes sense with the images that you have.

mvallieres avatar Oct 22 '18 00:10 mvallieres

Hi, and thank you so much for your toolbox. I have been able to extract features from 3D DICOM images but now I want to try running this on .SVS (APERIO tissue slide scan) data. All the parameters and inputs are clear except for the sliceS and pixelW inputs. For non-DICOM files where we cannot run your readDICOM functions, do you have any suggestions? Thanks!

For reference, I see that you have this code: try sData{2}.scan.pixelW = dicomHeaders(1).PixelSpacing(1); catch, sData{2}.scan.pixelW = []; end % Pixel Width try sData{2}.scan.sliceT = dicomHeaders(1).SliceThickness; catch, sData{2}.scan.sliceT = []; end % Slice Thickness for calculating these two values from DICOM scans, is there any known way to perform this on .jpg/.svs/or other 2D images?

RJain12 avatar Jan 27 '19 22:01 RJain12