X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkSUVPeakGenericFilter.txx;h=893750dd3961b0d888ad4327346d7abfc66cccbe;hb=20147f097d36f54eae548368df24f577e5567677;hp=8bf1f00f224e043d72535186f448d470b1d7fcd6;hpb=ae015f09e2fa0ebc736d24b37c9ed6c1ca0cb5b2;p=clitk.git diff --git a/tools/clitkSUVPeakGenericFilter.txx b/tools/clitkSUVPeakGenericFilter.txx index 8bf1f00..893750d 100644 --- a/tools/clitkSUVPeakGenericFilter.txx +++ b/tools/clitkSUVPeakGenericFilter.txx @@ -117,6 +117,8 @@ void SUVPeakGenericFilter::UpdateWithInputImageType() } double volume = 1000; //1 cc into mc + if (mArgsInfo.volume_given) + volume *= mArgsInfo.volume_arg; const double PI = 3.141592653589793238463; double radius = std::pow(3*volume/(4*PI),1./3);