Skip to content

Weill Cornell/Cornell/URMC internal ovarian ultrasound follicle segmentation helper (research)

Notifications You must be signed in to change notification settings

eeshaanrehani/imageJ-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Segmentation using ImageJ macros

Do this one time only:

  1. Download miniconda if you haven't already.
  2. Download the code:
  3. Enter the directory with the git repository: cd /path/to/imageJ-tracing-follicle_mac-os/.
  4. Set up conda environment.
    • conda env create -f environment.yml
    • If prompted [y/n]: y.

Convert dicom stacks to .tif image slices:

  1. Type in your terminal: conda activate dicom_imagej.
  2. Type in your terminal: python dcm_to_tiff.py {DICOM_path} {save_directory} {ending_frame_number}. Replace {DICOM_path} and {save_directory} with the path to a DICOM file and the directory you want masks and slices to be saved in, and {ending_frame_number} with the last frame of the first loop (if there are multiple loops in the scan). This command will convert the DICOM to tiff images for each individual slice, and save the slices as .../{save_directory}/{DICOM_name}/{DICOM_name}_{slice}.tif. It will also create another folder inside your save directory, .../{save_directory}/mask_{DICOM_name}/, which is where the masks will be saved.

Go to FIJI/ImageJ now and follow the SOP on Box to contour ovaries/follicles.

About

Weill Cornell/Cornell/URMC internal ovarian ultrasound follicle segmentation helper (research)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published