Skip to content

Commit

Permalink
Update getData.py
Browse files Browse the repository at this point in the history
Output PDFs instead of PNGs when generating vascular skeletons.
  • Loading branch information
psweens authored Apr 3, 2023
1 parent eaa3250 commit e15f568
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 2_Data_Extraction/getData.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,6 @@ def getVesselDataComponentsDiametersLengths(img_name, folder, path_in, path_out,

ff.close()

vt.plot_vessels(metric='diameter', write_location=output_dir + "diameterPlot.png", width_scaling=0.2, threshold=None, maxval=maxdiam, minval=0.)
vt.plot_vessels(metric='length', write_location=output_dir + "lengthPlot.png", width_scaling=0.2, threshold=None, maxval=maxlength, minval=0.)
vt.plot_vessels(metric='clr', metric_scaling=255, write_location=output_dir + "clrPlot.png", width_scaling=0.2, threshold=None, maxval=255., minval=0.0)
vt.plot_vessels(metric='diameter', write_location=output_dir + "diameterPlot.pdf", width_scaling=0.2, threshold=None, maxval=maxdiam, minval=0.)
vt.plot_vessels(metric='length', write_location=output_dir + "lengthPlot.pdf", width_scaling=0.2, threshold=None, maxval=maxlength, minval=0.)
vt.plot_vessels(metric='clr', metric_scaling=255, write_location=output_dir + "clrPlot.pdf", width_scaling=0.2, threshold=None, maxval=255., minval=0.0)

0 comments on commit e15f568

Please sign in to comment.