build a histogram

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

build a histogram

djalil
Hello i am getting trouble to have a gray image with the right values the
problem is that on imae J i got he right ones but when i load my image on
slicer it appears to be a binary image with a scale from 0 to 1
note that the normal values are from 146 to 32766 how can i do to slove this
issue.
Thank you in advance



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032082.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

Andras Lasso-2
What file format your image is stored in?

If you see an intensity value of 32766 then probably the endianness of the image is incorrect. Flip the endianness of the image when you import/export it in ImageJ.

Andras

-----Original Message-----
From: slicer-users [mailto:[hidden email]] On Behalf Of djalil
Sent: March 29, 2017 5:30
To: SPL Slicer Users <[hidden email]>
Subject: [slicer-users] build a histogram

Hello i am getting trouble to have a gray image with the right values the problem is that on imae J i got he right ones but when i load my image on slicer it appears to be a binary image with a scale from 0 to 1 note that the normal values are from 146 to 32766 how can i do to slove this issue.
Thank you in advance



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032082.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
that's the hisogram i got i think the type is double but how can i flip the
endianness on matlab please.
<http://slicer-users.65878.n3.nabble.com/file/n4032087/histogramme.jpg>



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032083p4032087.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
This post has NOT been accepted by the mailing list yet.
In reply to this post by Andras Lasso-2
that's the hisogram i got i think the type is double but how can i flip the endianness on matlab please.
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
the file format is dicom



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032083p4032089.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
This post has NOT been accepted by the mailing list yet.
In reply to this post by djalil
the file format is dicom
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
In reply to this post by Andras Lasso-2
please i want an inswer am on a hurry



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032083p4032091.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

djalil
This post has NOT been accepted by the mailing list yet.
In reply to this post by Andras Lasso-2
please i want an inswer am on a hurry
Reply | Threaded
Open this post in threaded view
|

Re: build a histogram

Andras Lasso-2
In reply to this post by djalil
Generating valid DICOM files in Matlab is very difficult. Use nrrdwrite instead:
https://subversion.assembla.com/svn/slicerrt/trunk/MatlabBridge/src/MatlabCommander/commandserver/nrrdwrite.m

If you need to read the nrrd image back into Matlab, use nrrdread:
https://subversion.assembla.com/svn/slicerrt/trunk/MatlabBridge/src/MatlabCommander/commandserver/nrrdread.m

Andras

-----Original Message-----
From: slicer-users [mailto:[hidden email]] On Behalf Of djalil
Sent: March 29, 2017 10:00
To: SPL Slicer Users <[hidden email]>
Subject: Re: [slicer-users] build a histogram

please i want an inswer am on a hurry



--
View this message in context: http://slicer-users.65878.n3.nabble.com/build-a-histogram-tp4032083p4032091.html
Sent from the slicer-users mailing list archive at Nabble.com.
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ
_______________________________________________
slicer-users mailing list
[hidden email]
http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
To unsubscribe: send email to [hidden email] with unsubscribe as the subject
http://www.slicer.org/slicerWiki/index.php/Documentation/4.3/FAQ