SSIM: Structural similarity index (SSI) between two images.

View source: R/superResolutionUtilities.R

SSIMR Documentation

Structural similarity index (SSI) between two images.

Description

Implementation of the SSI quantity for two images proposed in

Usage

SSIM(x, y, K = c(0.01, 0.03))

Arguments

x

input image.

y

input image.

K

vector of length 2 which contain SSI parameters meant to stabilize the formula in case of weak denominators.

Details

Z. Wang, A.C. Bovik, H.R. Sheikh, E.P. Simoncelli. "Image quality assessment: from error visibility to structural similarity". IEEE TIP. 13 (4): 600–612.

Value

the structural similarity index

Author(s)

Avants BB

Examples


library( ANTsR )

r16 <- antsImageRead( getANTsRData( 'r16' ) )
r85 <- antsImageRead( getANTsRData( 'r85' ) )
ssimValue <- SSIM( r16, r85 )


ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.