Biomedical Engineering Reference
In-Depth Information
White Matter Parcellation Algorithm
SET NumberofSlices to 256
SET NumberofVoxels to 0
FOR i=1 to NumberofSlices
INPUT WhiteMatterImage
SET FilledContour to RegionFill(WhiteMatter)
SET Edge to Edge(FilledContour)
CALCULATE DistanceMap(Edge)
SET LowerLimit to d-0.5
SET UpperLimit to d+0.5
FOR k=size(Edge,1) do
FOR l=size(Edge,2)do
IF WhiteMatterImage(k,l)=255 do
IF DistanceMap(k,l) > LowerLimit AND
DistanceMap(k,l) < UpperLimit do
SET NumberofVoxels = NumberofVoxels+1
END IF
END IF
END FOR
END FOR
END FOR
INPUT Resolution
CALCULATE OuterCompartmentVol as Resolution* NumberofVoxels
 
Search WWH ::




Custom Search