Dear All,
We are looking for a way to count every pixel strength (value) from 0-255 on a gray scale, and figure out how many there are within an ROI. Thanks Kari King =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. |
Hi Kari,
if I understand correctly, this is nothing else then a "histogram", Right!? Simply do "Analyze/Histogram" (will only work within the ROI) there is also a button to get the list of numerical values! Cheers Mit freundlichen Grüßen / Best regards Joachim Wesner Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis www.leica-microsystems.com "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema PIXEL VALUE 12.08.2009 18:58 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Dear All, We are looking for a way to count every pixel strength (value) from 0-255 on a gray scale, and figure out how many there are within an ROI. Thanks Kari King ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
Joachim,
That's exactly what I was looking for, BUT, the area I want is between two circles. So, I would draw one circle and draw another circle within the first and I want to histogram the area between the two. Is this possible? Thank you Kari King -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Joachim Wesner Sent: Wednesday, August 12, 2009 1:15 PM To: [hidden email] Subject: Antwort: PIXEL VALUE Hi Kari, if I understand correctly, this is nothing else then a "histogram", Right!? Simply do "Analyze/Histogram" (will only work within the ROI) there is also a button to get the list of numerical values! Cheers Mit freundlichen Grüßen / Best regards Joachim Wesner Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis www.leica-microsystems.com "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema PIXEL VALUE 12.08.2009 18:58 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Dear All, We are looking for a way to count every pixel strength (value) from 0-255 on a gray scale, and figure out how many there are within an ROI. Thanks Kari King ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. |
Hi again,
yes this should be possible, it´s a standard ImageJ feature, "compund ROIs": You draw the outer circle Hold ALT while drawing the inner circle After this, any ROI based operations should only see the region between the circles (Try "Fill", or "Clear outside" etc. for a test) Joachim Mit freundlichen Grüßen / Best regards Joachim Wesner "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema Re: Antwort: PIXEL VALUE 12.08.2009 19:45 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Joachim, That's exactly what I was looking for, BUT, the area I want is between two circles. So, I would draw one circle and draw another circle within the first and I want to histogram the area between the two. Is this possible? Thank you Kari King -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Joachim Wesner Sent: Wednesday, August 12, 2009 1:15 PM To: [hidden email] Subject: Antwort: PIXEL VALUE Hi Kari, if I understand correctly, this is nothing else then a "histogram", Right!? Simply do "Analyze/Histogram" (will only work within the ROI) there is also a button to get the list of numerical values! Cheers Mit freundlichen Grüßen / Best regards Joachim Wesner Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis www.leica-microsystems.com "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema PIXEL VALUE 12.08.2009 18:58 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Dear All, We are looking for a way to count every pixel strength (value) from 0-255 on a gray scale, and figure out how many there are within an ROI. Thanks Kari King ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
Thank you...This seems to be exactly what we needed....
Kari King -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Joachim Wesner Sent: Wednesday, August 12, 2009 2:21 PM To: [hidden email] Subject: Antwort: Re: Antwort: PIXEL VALUE Hi again, yes this should be possible, it´s a standard ImageJ feature, "compund ROIs": You draw the outer circle Hold ALT while drawing the inner circle After this, any ROI based operations should only see the region between the circles (Try "Fill", or "Clear outside" etc. for a test) Joachim Mit freundlichen Grüßen / Best regards Joachim Wesner "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema Re: Antwort: PIXEL VALUE 12.08.2009 19:45 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Joachim, That's exactly what I was looking for, BUT, the area I want is between two circles. So, I would draw one circle and draw another circle within the first and I want to histogram the area between the two. Is this possible? Thank you Kari King -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Joachim Wesner Sent: Wednesday, August 12, 2009 1:15 PM To: [hidden email] Subject: Antwort: PIXEL VALUE Hi Kari, if I understand correctly, this is nothing else then a "histogram", Right!? Simply do "Analyze/Histogram" (will only work within the ROI) there is also a button to get the list of numerical values! Cheers Mit freundlichen Grüßen / Best regards Joachim Wesner Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht Wetzlar HRB 2432 Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy Martyr | Colin Davis www.leica-microsystems.com "King, Karilane" <[hidden email]> Gesendet von: An ImageJ Interest [hidden email] Group Kopie <[hidden email]. GOV> Thema PIXEL VALUE 12.08.2009 18:58 Bitte antworten an ImageJ Interest Group <[hidden email]. GOV> Dear All, We are looking for a way to count every pixel strength (value) from 0-255 on a gray scale, and figure out how many there are within an ROI. Thanks Kari King ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. |
Hello everyone. Excuse me for my bad english. I take this topic for explain my problem: i want read the data pixel value into a software java (i don't want create a new plugin for image j). This is the code:
public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { int a[]; a=new int[4]; ImagePlus i = new ImagePlus("test.dcm"); //Image img = i.getImage(); for (int ii=0; ii<=512; ii++){ for (int jj=0; jj<=512; jj++){ a=(int[])i.getPixel(ii,jj); System.out.println(a[0]); System.out.println(ii); System.out.println(jj); } } } The program run correctly and print the value in grayscale 16 bit. Example in the imageJ toolbar with the coordinates x=103.8 mm y=128.9 mm value=361 (33129). The program java print the correct value 33129 corresponding this coordinates. My question is: why this value 33129 doesn't corresponding to negative value? I think the positive numbers should go from 0 to 32767 and the negative from 32768 to forward. Is correct? The code is wrong? Thanks for help me. corresponding to value |
Free forum by Nabble | Edit this page |