User:DukeEgr93/Kidneys

From PrattWiki
Jump to navigation Jump to search

Process

  • Get images
  • Use NameSorter to rename images
    • Change Prefix, Slices, SCALE, IGNORE variables as needed
    • Files will be named SlicesNNNN.JPG, SCALENNNN.JPG and IGNORENNNN.JPG
      • Slices will be a serial number from 1; SCALE and IGNORE will keep the original index number
  • Use CropFiles to make a script that will convert to cropped versions
    • Open a file that shows the largest Kidney area to get valid boundaries
    • Determine coordinates for top left and bottom right corner - leave room as Kidney image must be surrounded with white
    • Change TOP, BOT, LFT, and RGT to match
    • Change number of Slices
    • After running, go to UNIX and run "./CropFiles.run"
    • New files will be CropNNNN.JPG
  • Use UnWax to process files
    • Change number of slices
    • Define colors for damage, collection system, and vasculature
      • Typically green, blue, and yellow, respectively