Spatial Classification Rule with Distance (SCRD) method is used in two dimensional coordinate system, which limits the usage of existing spatial information in MRI, CT and other three dimensional (layered) images. The SCRD method is extended to be applied in three dimensional coordinate space. Artificial experiment is performed in order to show ability to use SCRD method with three dimensional medical or other similar images where training sample is available.