SPM based on normalized cut for image classification