Optimal segmentation of microcomputed tomographic images of porous tissue-engineering scaffolds.