Simply generate a mask image according to ~input image and dynamic reconfigure parameters.
-
~input
(sensor_msgs/Image
)Input image and it's used to know original width and height.
-
~output
(sensor_msgs/Image
)Output mask image.
~offset_x
(Int, default:0
)~offset_y
(Int, default:0
)~width
(Int, default:256
)~height
(Int, default:256
) Coordinates of top left point and size of mask image.