Implementation of the SSI quantity for two images proposed in
SSIM(x, y, K = c(0.01, 0.03))
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. |
the structural similarity index
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.
Avants BB
library( ANTsR ) r16 <- antsImageRead( getANTsRData( 'r16' ) ) r85 <- antsImageRead( getANTsRData( 'r85' ) ) ssimValue <- SSIM( r16, r85 )