# HG changeset patch # User Sebastien Jodogne # Date 1762522082 -3600 # Node ID 21570147471a8939aca3024502bc8c76ffbc8b44 # Parent bd86d6ce5b257d2f3f73615b997301c3d6343d92 fix misleading documentation of --imaged-height diff -r bd86d6ce5b25 -r 21570147471a Applications/Dicomizer.cpp --- a/Applications/Dicomizer.cpp Thu Nov 06 19:34:36 2025 +0100 +++ b/Applications/Dicomizer.cpp Fri Nov 07 14:28:02 2025 +0100 @@ -796,7 +796,7 @@ (OPTION_IMAGED_WIDTH, boost::program_options::value(), "Width of the specimen (in mm), in the coordinate system of the glass slide, defaults to 15mm if missing") (OPTION_IMAGED_HEIGHT, boost::program_options::value(), - "Height of the specimen (in mm), in the coordinate system of the glass slide, defaults to 15mm if missing") + "Height of the specimen (in mm), in the coordinate system of the glass slide") (OPTION_IMAGED_DEPTH, boost::program_options::value()->default_value(1), "Depth of the specimen (in mm)") (OPTION_OFFSET_X, boost::program_options::value()->default_value(20), @@ -1369,10 +1369,11 @@ if (!volume.HasWidth() && !volume.HasHeight()) { - LOG(WARNING) << "Unknown imaged volume size, assuming an imaged width of 15mm: Use the --" + volume.SetWidth(15); + LOG(WARNING) << "Unknown imaged volume size, assuming an imaged width of " + << volume.GetWidth() << "mm: Use the --" << OPTION_IMAGED_WIDTH << " and the --" << OPTION_IMAGED_HEIGHT << " options to properly fill the (0048,0001) and (0048,0002) DICOM tags"; - volume.SetWidth(15); } if (volume.HasWidth() &&