1. A method of color bleeding reduction or prevention when volume rendering a three-dimensional (3D) dataset, the 3D dataset comprising a plurality of voxels, the method comprising: identifying, by a processor, a mask that defines a segmented volume within the 3D dataset; identifying, by the processor, a position within the 3D dataset at or adjacent to a boundary defined by the mask; identifying, by the processor, a subset of voxels of the plurality of voxels within the 3D dataset; determining, for each voxel of the subset of voxels, by the processor, whether the respective voxel is inside or outside of the identified mask; determining, for each voxel of the subset of voxels, by the processor, a weight for the respective voxel based on the determining of whether the respective voxel is inside or outside of the identified mask; and determining, by the processor, a voxel value for the identified position based on the determined weights and voxel values for the subset of voxels, respectively.