<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Hello, Bilal,<br>
<br>
It seems you've found a (rare! :-p) bug in VV! Sorry for that...
Please find an update at </font></font><br>
<pre wrap=""><a class="moz-txt-link-freetext" href="http://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=commitdiff;h=2ed633c7b7068441ef25d006934566e5369e4299">http://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=commitdiff;h=2ed633c7b7068441ef25d006934566e5369e4299</a></pre>
<font size="-1"><font face="Arial"><br>
As for the thresholding, maybe you've seen the Binarize option
under the Tools menu item. It does nearly what you want, except
that you can't really control the standard deviation... You
basically set up the range of values that you wish to threshold,
click OK, and a new image with the result is generated, which
you can save afterwards.<br>
<br>
If you want to know the SD of the image (and other stats), I
suggest you try the clitkImageStatistics tool, which is also
part of the VV suite. Than you can do your own calculations and
find the range for the thresholnding. As a side note, you can
also use the clitkBinarizeImage tool for the thresolding.<br>
<br>
Let us know if you any issues.<br>
<br>
Cheers,<br>
Rômulo<br>
</font></font><br>
<pre class="moz-signature" cols="72">--
Rômulo PINHO
Post-doc Assistant Researcher
Centre Léon Bérard
28, rue Laennec 69373
Lyon, France
+33 (0)4 78 78 51 50
<a class="moz-txt-link-abbreviated" href="mailto:romulo.pinho@lyon.unicancer.fr">romulo.pinho@lyon.unicancer.fr</a>
<a class="moz-txt-link-freetext" href="http://www.creatis.insa-lyon.fr/rio/RomuloPinho">http://www.creatis.insa-lyon.fr/rio/RomuloPinho</a>
</pre>
<font size="-1"><font face="Arial"><br>
</font></font>
<div class="moz-cite-prefix">On 02/13/2013 02:17 AM, Bilal Tahir
wrote:<br>
</div>
<blockquote
cite="mid:CAFZ9P6E+PWQA-gzG0GdSaxxiGdqKkDDWhw-_hFq-CCtedODDLg@mail.gmail.com"
type="cite">Dear All,
<div><br>
</div>
<div>In tools > Image arithm there are a number of operations
that can be performed on a single image. However, there doesn't
seem to be an option to subtract a value from the image data -
only addition is present.</div>
<div><br>
</div>
<div>I want to subtract 1 from each pixel in my image. </div>
<div><br>
</div>
<div>In the Sum A(x) + v option I try to set the value as -1 but
it doesn't allow me to set a negative value? Is there an option
to do it in vv? </div>
<div><br>
</div>
<div>Furthermore, I would like to know if vv allows for
thresholding of image data. E.g. I would like to set all values
above a certain value to zero e.g. Say I want to set all values
of pixels above 1 standard deviation to zero but at the same
keep the pixel values for those below this threshold, is there a
way this can be done within vv?</div>
<div><br>
</div>
<div>If not, is there any software that can do this easily for
.mhd metaimage/DICOM files without needing to convert them into
MATLAB and convert them back?</div>
<div><br>
</div>
<div>Best wishes,</div>
<div> </div>
<div>Bilal Tahir,
<div>James Morrison Researcher in Radiotherapy Imaging</div>
</div>
</blockquote>
<br>
</body>
</html>