Dear Douglas,

below please find the macro code for gray-value windowing:

  //
  changeValues(0,109,0);
  setMinAndMax(110,195);
  //

Best

Herbie

::::::::::::::::::::::::::::::::::::
Am 08.02.25 um 20:37 schrieb Herbie:
Dear Douglas,

do these three macro code-lines

   //
   setOption("BlackBackground",true);
   setThreshold(61,109);
   run("Convert to Mask");
   //

work as desired?

Best

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 08.02.25 um 20:16 schrieb Benn, Douglas K:
Dear Colleagues,

I am trying to perform a very simple threshold to a CT slice of the jaws (attached BothJaws280238.tif). I want to select gray levels 61-109 to segment the bone (attached Threshold selected.png). My macro code is minimal

File.openSequence("/Users/douglasbenn/AI/Both Jaws/BothJaws28/BJ28_tiff/");
run("Auto Threshold");
run("Convert to Mask", "background=Dark calculate");

Inside of segmenting the bone I create an image of all the foreground tissues (attached Threshold applied.png).

What am I doing wrong?

Thank you.

Douglas


Dr Douglas K Benn DDS, PhD, Dipl. Dental Radiology (Royal College of Radiologists, England)
Professor  of Radiology (Retired), Creighton University Dental School.
Professor Emeritus, University of Florida.


Residence:
Dr Douglas K Benn  DDS,  PhD, Dipl. Dental Radiology (Royal College of Radiologists, England)
Oral and Maxillofacial Radiologist
Apartado 189-4013
20501 Atenas, Alajuela,
Costa Rica

+506 2446 9310
Cell +506 710 37977
[email protected]
www.ReadCTs.com<http://www.ReadCTs.com>


Confidentiality Notice:

  This e-mail is intended only for the person or entity to which it is
  addressed and may contain information that is privileged, confidential or
  otherwise protected from disclosure. Dissemination, distribution or
   copying of this e-mail or the information herein by anyone other than the   intended recipient, or an employee or agent responsible for delivering the
  message to the intended recipient, is protected. If you have received
   this e-mail in error, please contact the sender and destroy the original
  message and all copies.



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html



--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to