Hi Manu,
If both of your images are binarised, one way would be to use fslmaths
to add them together, then re-binarise with a voxel value threshold of
2. You'll then be able to use fslstats -V to count the number of
non-zero (overlapping) voxels.
Cheers,
Paul
On Mon, Dec 29, 2014 at 5:53 AM, Manu Gupta <[log in to unmask]> wrote:
> Dear Experts,
>
> I have segmented brain image with FASt tool and want to compare segmented image result with ground truth.
> I used -mas command in fslmaths to calculate the overlap area between segmented image and ground truth.
>
> Can you suggest me further what to do to count no. of voxels which are overlapping.
> Actually i want to calculate dice coefficient for analysis.
>
> Please help me.
|