ImageFunction# Compute Median of Image at Pixel Linearly Interpolate Position in Image Multiply Kernel With an Image at Location Resample Segmented Image