roifilt2
Filter region of interest (ROI) in grayscale image
Description
filters regions of interest (ROIs) in the 2-D grayscale image J = roifilt2(h,I,BW)I
using the 2-D linear filter h. The binary mask
BW defines the ROIs in I.
roifilt2 returns an image that consists of filtered values
for pixels in locations where BW contains
1s, and unfiltered values for pixels in locations where
BW contains 0s.

