/* */ {
/* 51 */ ImageLayout layout = RIFUtil.getImageLayoutHint(renderHints);
/* */
/* 55 */ BorderExtender extender = RIFUtil.getBorderExtenderHint(renderHints);
/* */
/* 57 */ MedianFilterShape maskType = (MedianFilterShape)paramBlock.getObjectParameter(0);
/* */
/* 59 */ int maskSize = paramBlock.getIntParameter(1);
/* 60 */ RenderedImage ri = paramBlock.getRenderedSource(0);
/* */
/* 62 */ if (maskType.equals(MedianFilterDescriptor.MEDIAN_MASK_SQUARE)) {
/* 63 */ return new MedianFilterSquareOpImage(ri, extender, renderHints, layout, maskSize);
/* */ }
/* */
/* 68 */ if (maskType.equals(MedianFilterDescriptor.MEDIAN_MASK_PLUS)) {
/* 69 */ return new MedianFilterPlusOpImage(ri, extender, renderHints, layout, maskSize);
/* */ }
/* */
/* 74 */ if (maskType.equals(MedianFilterDescriptor.MEDIAN_MASK_X)) {
/* 75 */ return new MedianFilterXOpImage(ri, extender, renderHints, layout, maskSize);
/* */ }
/* */
/* 80 */ if (maskType.equals(MedianFilterDescriptor.MEDIAN_MASK_SQUARE_SEPARABLE)) {
/* 81 */ return new MedianFilterSeparableOpImage(ri, extender, renderHints, layout, maskSize);
/* */ }
/* */
/* 87 */ return null;
/* */ }