Skip to content

Nobu575/AppSciImg

Repository files navigation

AppSciImg

Simple exmaples of Scikit-image for medical images.

Language: Python

Demo

CT value histogram

File name is histogram2d.py. Original scikit-image example is here. The figure on the left is CT value histogram of a non-contrast chest sagittal CT image. The lower and upper limits are set to -200 and 200. The figure on the right is a histogram of the rescaled intensity.

Eigen values of Hessian matrix for CT images

File name is hessian2d.py. Usage of hessian_matrix function is here. The function was applied to non-contrast axial, sagittal, and coronal CT images. The parameter sigma was set to 1.0 as follows.

H_elems = hessian_matrix(input_img, sigma=1.0, order='rc')

Labeling, convex hull, and skeleton of ribs and spine

File name is skeleton2d.py. This example consists of five steps. (1)Thresholding of CT value for coarse bone segmentation from a non-contrast CT image. (2)Applying a morphological closing for filling the holes in the bone regions, using binary_closing. (3)Applying a morphological opening for remove small regions, using binary_opening. (4)Convex hull to the bone regions, using convex_hull_image. (5)Skeletonizing the bone regions, using skeletonize. Finally, because of the difficulty of observing skeletonized thin lines, morphological dilation was applied.

Detection of ridge-like structures in a MIP CT image.

File name is ridge2d.py. Original scikit-image example is here. Four ridge filters were applied to non-contrast chest CT image.

Author

Hidenobu SUZUKI

License

"AppSciImg" is under MIT license.

About

Applications using scikit-image (python)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages