Skip to content

Commit

Permalink
Merge pull request #92 from k-okada/add_queu_size
Browse files Browse the repository at this point in the history
add queue_size parameter to all nodes, see #83
  • Loading branch information
k-okada authored Apr 21, 2019
2 parents 350011e + dbf6e22 commit 8874d17
Show file tree
Hide file tree
Showing 53 changed files with 155 additions and 51 deletions.
2 changes: 2 additions & 0 deletions launch/adding_images.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />
<arg name="alpha" default="0.5" doc="Weight of the first array elements" />
<arg name="gamma" default="0" doc="Scalar added to each sum" />
<arg name="approximate_sync" default="false" doc="Flag of approximate_sync. If this value is false, image1 and image2 synchronize exact time." />
Expand All @@ -16,6 +17,7 @@
<remap from="image2" to="$(arg image2)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="alpha" value="$(arg alpha)" />
<param name="gamma" value="$(arg gamma)" />
<param name="approximate_sync" value="$(arg approximate_sync)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/camshift.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="histogram" default="[0.0, 255.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]" doc="Histogram of tracked color object" />
<arg name="vmin" default="10" doc="Min threshould of lightness."/>
Expand All @@ -16,6 +17,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<rosparam param="histogram" subst_value="True">
$(arg histogram)
</rosparam>
Expand Down
2 changes: 2 additions & 0 deletions launch/contour_moments.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />
<arg name="canny_low_threshold" default="100" doc="Canny Edge low Threshold"/>

<!-- contour_moments.cpp -->
<node name="$(arg node_name)" pkg="opencv_apps" type="contour_moments" >
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="canny_low_threshold" value="$(arg canny_low_threshold)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/convex_hull.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="threshold" default="100" doc="Treshold for the detecting edges."/>

Expand All @@ -13,6 +14,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="threshold" value="$(arg threshold)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/corner_harris.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="threshold" default="200" doc="Threshold value of a circle around corners's norm" />

Expand All @@ -13,5 +14,6 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/discrete_fourier_transform.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="1" doc="Specigy queue_size of input image subscribers" />

<!-- discrete_fourier_transform.cpp -->
<node name="$(arg node_name)" pkg="opencv_apps" type="discrete_fourier_transform" >
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/edge_detection.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="edge_type" default="0" doc="Specify edge dtection methods. 0: Sobel Derivatives, 1: Lapalace Operator, 2, Canny Edge Detector." />
<arg name="canny_threshold1" default="100" doc="Specify second canny threashold value." />
Expand All @@ -21,6 +22,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="edge_type" value="$(arg edge_type)" />
<param name="canny_threshold1" value="$(arg canny_threshold1)" />
<param name="canny_threshold2" value="$(arg canny_threshold2)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/face_detection.launch
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg if="$(arg use_opencv3_1)"
name="face_cascade_name" default="$(find opencv3)/../OpenCV-3.1.0-dev/haarcascades/haarcascade_frontalface_alt.xml" doc="Face dtection cascade Filename" />
Expand All @@ -32,6 +33,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="face_cascade_name" value="$(arg face_cascade_name)" />
<param name="eyes_cascade_name" value="$(arg eyes_cascade_name)" />
</node>
Expand Down
2 changes: 2 additions & 0 deletions launch/face_recognition.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<arg name="use_opencv3_2" default="false" />
<arg name="use_opencv3_3" default="false" />
<arg name="debug_view" default="true" />
<arg name="queue_size" default="100" doc="Specigy queue_size of input image subscribers" />

<arg name="image" default="image" />
<arg name="data_dir" default="~/.ros/opencv_apps/face_data" />
Expand All @@ -25,6 +26,7 @@
<node name="face_recognition" pkg="opencv_apps" type="face_recognition"
output="screen">
<param name="data_dir" value="$(arg data_dir)" />
<param name="queue_size" value="$(arg queue_size)" />
<remap from="image" to="$(arg image)" />
<remap from="faces" to="face_detection/faces" />
</node>
Expand Down
2 changes: 2 additions & 0 deletions launch/fback_flow.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<!-- fback_flow.cpp -->
<node name="$(arg node_name)" pkg="opencv_apps" type="fback_flow" >
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/find_contours.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="canny_low_threshold" default="10" doc="Lower threshold for the internal Canny edge detector."/>

Expand All @@ -13,6 +14,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="canny_low_threshold" value="$(arg canny_low_threshold)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/general_contours.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="threshold" default="100" doc="Treshold for the detecting edges."/>

Expand All @@ -13,6 +14,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="threshold" value="$(arg threshold)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/goodfeature_track.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="max_corners" default="23" doc="Maximum number of corners to return. If there are more corners than are found, the strongest of them is returned." />

Expand All @@ -13,6 +14,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="max_corners" value="$(arg max_corners)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/hls_color_filter.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="h_limit_max" default="250" doc="The maximum allowed field value Hue" />
<arg name="h_limit_min" default="0" doc="The minimum allowed field value Hue" />
Expand All @@ -18,6 +19,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="h_limit_max" value="$(arg h_limit_max)" />
<param name="h_limit_min" value="$(arg h_limit_min)" />
<param name="s_limit_max" value="$(arg s_limit_max)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/hough_circles.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="canny_threshold" default="200" doc="Upper threshold for the internal Canny edge detector." />
<arg name="accumulator_threshold" default="50" doc="Threshold for center detection." />
Expand All @@ -20,6 +21,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="canny_threshold" value="$(arg canny_threshold)" />
<param name="accumulator_threshold" value="$(arg accumulator_threshold)" />
<param name="gaussian_blur_size" value="$(arg gaussian_blur_size)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/hough_lines.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="hough_type" default="0" doc="Apecify Hough transform type, 0 for Standard Hough Detection and 1 for Probabilistic Hough Detection" />
<arg name="threshold" default="150" doc="Threshould value for hough line detection" />
Expand All @@ -18,6 +19,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="hough_type" value="$(arg hough_type)" />
<param name="threshold" value="$(arg threshold)" />
<param name="rho" value="$(arg rho)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/hsv_color_filter.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="h_limit_max" default="250" doc="The maximum allowed field value Hue" />
<arg name="h_limit_min" default="0" doc="The minimum allowed field value Hue" />
Expand All @@ -18,6 +19,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="h_limit_max" value="$(arg h_limit_max)" />
<param name="h_limit_min" value="$(arg h_limit_min)" />
<param name="s_limit_max" value="$(arg s_limit_max)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/lk_flow.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />
<arg name="quality_level" default="0.01" doc="Parameter characterizing the minimal acceptance quality of image corners." />
<arg name="min_distance" default="10" doc="Minimum possible Euclidean distance between the returned corners."/>
<arg name="block_size" default="3" doc="Size of an average block for computing a derivative covariation matrix over each pixel neighborhood."/>
Expand All @@ -14,6 +15,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="quality_level" value="$(arg quality_level)" />
<param name="min_distance" value="$(arg min_distance)" />
<param name="blcok_size" value="$(arg block_size)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/people_detect.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="hit_threshold" default="0" doc="Threshold for the distance between features and SVM classifying plane" />
<arg name="win_stride" default="8" doc="Window stride. It must be a multiple of block stride." />
Expand All @@ -17,6 +18,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="hit_threshold" value="$(arg hit_threshold)" />
<param name="win_stride" value="$(arg win_stride)" />
<param name="padding" value="$(arg padding)" />
Expand Down
2 changes: 2 additions & 0 deletions launch/phase_corr.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show edge image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<!-- phase_corr.cpp -->
<node name="$(arg node_name)" pkg="opencv_apps" type="phase_corr" >
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
</node>
</launch>
2 changes: 2 additions & 0 deletions launch/pyramids.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<arg name="use_camera_info" default="false" doc="Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used." />
<arg name="debug_view" default="true" doc="Specify whether the node displays a window to show pyramids image" />
<arg name="queue_size" default="3" doc="Specigy queue_size of input image subscribers" />

<arg name="pyramids_type" default="0" doc="Specify pyramids Up/Down. 0: Up size(zoom in), 1: Down size(zoom out)." />
<arg name="num_of_pyramids" default="0" doc="Number of Up/Down sampling." />
Expand All @@ -14,6 +15,7 @@
<remap from="image" to="$(arg image)" />
<param name="use_camera_info" value="$(arg use_camera_info)" />
<param name="debug_view" value="$(arg debug_view)" />
<param name="queue_size" value="$(arg queue_size)" />
<param name="pyramids_type" value="$(arg pyramids_type)" />
<param name="num_of_pyramids" value="$(arg num_of_pyramids)" />
</node>
Expand Down
Loading

0 comments on commit 8874d17

Please sign in to comment.