Dr. Jenkinson,
Our lab would very much like to use your new version of avwstats++
with the histogram feature. We use Cygwin, Redhat 9, Redhat 7, and Mac
OSX. Unfortunately, we're having trouble compiling on all these
platforms (except Redhat 7), our compilers are upgraded to gcc version
3.4 or higher. As a result, we receive the error
"/usr/local/fsl/include/newimage/newimagefns.h:582: error: `vol'
undeclared (first use this function)" in the compilation of when we try
to make avwstats++.
Do you happen to have avwstats++ compiled for any of these
platforms? Thanks in advance for your valuable time.
-KC Stegbauer
Senior Computer Technician
Diagnostic Imaging Sciences Center
University of Washington
Seattle WA
Mark Jenkinson wrote:
> Hi,
>
> I thought that a histogram feature in avwstats++ would be useful
> so I've added one. To be able to use it you'll need to download
> the source code and compile it (follow the instructions on the
> FSL FAQ for compiling and installing if you are not sure).
> Alternatively,
> we could compile a version for you depending on what machine
> you have. Contact me personally about this if need be.
>
> The new source code can be found at:
> http://www.fmrib.ox.ac.uk/fsldownloads/patches/3.2/avwstats++.cc
>
> The -H option is probably what you want (where you can specify
> the min and max range explicitly).
>
> In addition, just a couple of notes on your previous email:
>
> The avwmaths seems to be working fine. If there aren't any values
> between 948 and 1000 then the new maximum value (after zeroing
> everything from 1000 and above) would be 947. It is the behaviour
> I would expect.
>
> Also, note that cal_min and cal_max do *not* have to be set to the
> intensity min and max values in the image. They are intended to
> act as values to limit the display range only. Hence you cannot
> rely on them to reflect the full data range. If you use avwstats++
> with the -R option then you'll get the full intensity range.
>
> All the best,
> Mark
|