Movement amount detection system and program for the movement amount detection system

The system addresses inaccuracies in movement detection by using a matrix of image sensors and adjusting frame intervals based on recent movement calculations, improving accuracy at low speeds through median values and template matching.

JP7546269B2Active Publication Date: 2024-09-06KODENSHI CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020155126
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-09-06
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

Existing movement amount detection systems experience errors in position detection due to pixel resolution, particularly at low object speeds, leading to inaccuracies in movement calculations.

Method used

A movement detection system that uses a matrix of image sensors to capture images at a constant frame rate, extracts partial images, and adjusts the number of frame intervals based on the most recent movement calculations, employing median values to reduce errors by increasing intervals at low speeds and using template matching for image search.

Benefits of technology

Reduces errors in movement calculations at low speeds by adjusting frame intervals and using median values, enhancing accuracy and reducing the impact of pixel resolution errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007546269000001
    Figure 0007546269000001
  • Figure 0007546269000002
    Figure 0007546269000002
  • Figure 0007546269000005
    Figure 0007546269000005
Patent Text Reader

Abstract

To provide a movement amount detection system for successively imaging a subject and calculating the movement amount of the subject on the basis of the imaged image, in which errors of movement amount calculated at low speed time are reduced.SOLUTION: Provided is a movement amount detection system for detecting the movement amount of a subject, comprising: an imaging unit having an area sensor in which a plurality of imaging elements are laid in matrix form, the imaging unit imaging a subject at a given frame rate and successively outputting its imaged images; a partial image extraction unit for extracting a partial image from a prescribed extraction position in the imaged image of each frame; an image search unit for searching a prescribed search region having been set in the imaged image of each frame, and specifying the position of the partial image extracted from an imaged image a prescribed number of frame intervals before that; and a movement amount calculation unit for calculating the movement amount of the subject per frame on the basis of the displacement amount of the partial image from the extraction position and the number of frame intervals. Thus, the movement amount detection system is constituted to set the number of frame intervals on the basis of the most recently calculated movement amount.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a movement amount detection system and a program for the movement amount detection system. [Background technology]

[0002] As a movement amount detection system, for example, a system is known that detects a subject such as paper or film conveyed by a conveying mechanism such as a belt conveyor using a photoelectric sensor or the like and calculates the amount of movement. For example, Patent Document 1 discloses a movement amount detection system that detects an object using an imaging device equipped with an area sensor and calculates the amount of movement. This movement amount detection system captures images of the surface of the subject at regular time intervals and performs image search processing such as pattern matching based on the brightness information obtained from the imaging element to detect the position of the subject and calculate the amount of movement between frames. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2016-212422 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in a movement amount detection system that performs image search processing as described above, a slight error occurs between the actual position of the subject and the detected position due to pixel resolution. This error due to pixel resolution becomes more noticeable as the speed of the subject decreases.

[0005] The present invention has been made in consideration of such problems, and has an object to reduce errors in the amount of movement calculated at low speeds in a movement amount detection system that continuously images a subject and calculates the amount of movement of the subject based on the captured images. [Means for solving the problem]

[0006] In other words, the movement amount detection system of the present invention detects the amount of movement of a subject, and is characterized in that it comprises an imaging unit having an area sensor in which a plurality of image sensors are arranged in a vertical and horizontal matrix, and imaging the subject at a constant frame rate and sequentially outputting the imaged images, a partial image extraction unit which extracts a partial image from a predetermined extraction position in the image of each frame, an image search unit which searches a predetermined search area set in the image of each frame and identifies the position of the partial image extracted from the image taken a predetermined number of frame intervals before that, and a movement amount calculation unit which calculates the amount of movement of the subject for each frame based on the amount of displacement of the partial image from the extraction position and the number of frame intervals, and is configured to set the number of frame intervals based on the most recently calculated amount of movement.

[0007] With this configuration, the number of frame intervals is set based on the most recently calculated amount of movement, so if the number of frame intervals is increased when the amount of movement is small, such as at low speed, the amount of displacement from the extraction position of the specified partial image can be increased, and the proportion of error caused by pixel resolution included in this amount of displacement can be relatively reduced, thereby reducing error in the amount of movement at low speed.

[0008] The effect of errors due to pixel resolution becomes greater as the speed of the object decreases, so it is preferable that the movement amount detection system increases the number of frame intervals as the most recently calculated movement amount decreases. In this way, the error in the amount of movement at low speeds can be further reduced.

[0009] It is preferable that the movement amount detection system compares the median of the movement amounts of multiple most recently calculated frames with a predetermined threshold, and sets the frame interval number to 1 if the median is greater than the threshold, and sets the frame interval number to 2 or more if the median is equal to or less than the threshold. In this way, the number of frame intervals is set based on the median of the movement amounts of multiple frames, so that it is possible to prevent erroneous detections caused by variations in the movement amounts calculated for each frame (for example, partial images not being included in the search area). In addition, by using the "median" rather than the "average" of the movement amounts of multiple frames, it is possible to reduce the influence of abnormal values ​​of the movement amounts for each frame. In addition, it is preferable that the average and median are absolute values.

[0010] In this case, it is preferable that the movement amount detection system compares a median value of the movement amounts of a plurality of frames that are consecutively captured, including the most recent frame, with the predetermined threshold value. This allows the calculated median value to be closer to the actual amount of movement of the subject, and further reduces errors in the amount of movement when moving at low speeds.

[0011] An embodiment in which the effects of the present invention are prominently exhibited is one in which the frame rate of the imaging section is 120 fps or more (preferably 300 fps or more).

[0012] In one embodiment in which the effects of the present invention are prominently exhibited, the image search section specifies the position of the partial image by a template matching method.

[0013] Furthermore, the program for a movement amount detection system of the present invention is a program for a movement amount detection system that has an imaging device having an area sensor in which a plurality of imaging elements are arranged in a vertical and horizontal matrix and that images a subject at a constant frame rate, and detects the amount of movement of the subject based on images captured by the imaging device, and is characterized in that it is configured to cause a computer to perform functions as a partial image extraction unit that extracts a partial image from a predetermined extraction position in the captured image of each frame, an image search unit that searches a predetermined search area set in the captured image of each frame and identifies the position of the partial image extracted from the captured image a predetermined number of frame intervals before that, and a movement amount calculation unit that calculates the amount of movement of the subject for each frame based on the amount of displacement of the partial image from the extraction position and the number of frame intervals, and set the number of frame intervals based on the most recently calculated amount of movement.

[0014] Such a program for a movement amount detection system can achieve the same effects as the movement amount detection system described above. Effect of the Invention

[0015] According to the present invention, in a movement amount detection system that continuously captures images of a subject and calculates the amount of movement of the subject based on the captured images, it is possible to reduce errors in the amount of movement calculated at low speeds. [Brief description of the drawings]

[0016] [Figure 1] 1 is a perspective view showing a schematic configuration of a movement amount detection system according to an embodiment of the present invention; [Diagram 2] 3A and 3B are diagrams for explaining the configuration of the light irradiation angle and the like of the movement amount detection system according to the embodiment. [Diagram 3] FIG. 2 is a functional block diagram of the movement amount detection system according to the embodiment. [Figure 4] 3A and 3B are diagrams for explaining search areas of the movement amount detection system according to the embodiment; [Diagram 5] 4A and 4B are diagrams for explaining the number of frame intervals in the movement amount detection system according to the embodiment. [Figure 6] 5A to 5C are diagrams for explaining a movement amount calculation operation of the movement amount detection system according to the embodiment. [Figure 7] 6 is a flowchart illustrating a search area setting operation of the movement amount detection system according to the embodiment. [Figure 8] 6 is a flowchart illustrating a frame interval setting operation of the movement amount detection system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] A movement amount detection system 100 according to an embodiment of the present invention will be described below with reference to the drawings.

[0018] The movement amount detection system 100 of this embodiment detects the amount of movement of an object (subject) O, such as paper, which is placed on a transport mechanism such as a belt conveyor and moves in a predetermined traveling direction. This movement amount detection system 100 is configured to continuously capture images of the surface of the object O, and sequentially calculate the amount of movement of the object O by examining the amount of displacement between frames of partial images cut out from each captured image. Specifically, as shown in FIG. 1, this movement amount detection system 100 includes a light source 1 that irradiates light onto the surface of the object O, an imaging device 2 that captures an image of the surface of the object O, and an image processing device 3 that processes the captured image of the imaging device 2 to calculate the amount of movement of the object O. Each part will be described below.

[0019] The light source 1 includes an LED device (not shown) that emits light in a predetermined wavelength range, and a focusing mechanism (not shown) such as a lens that focuses the light emitted from the LED device, and irradiates parallel light at a predetermined angle θ onto the object O. As shown in Fig. 2, the light source 1 of this embodiment is configured to irradiate the surface of the object O with light in a wavelength range of 450 nm to 470 nm at an irradiation angle of 5° to 10° (the angle between the chief ray and the surface of the object).

[0020] The imaging device 2 captures an image of the surface of the object O at a constant frame rate and sequentially outputs the captured image data. Specifically, the imaging device 2 includes a low-pixel area sensor (640×480 pixels or less, for example, a CMOS image sensor with 128×128 pixels) in which a plurality of imaging elements are arranged in a matrix pattern, and captures images at a high speed at a frame rate of 120 frames / sec or more (approximately 2000 frames / sec in this embodiment). The imaging device 2 is configured with a pixel pitch of 10 μm×10 μm or more (15.6 μm×15.6 μm in this embodiment) so as to shorten the exposure time as much as possible in response to high-speed imaging. The imaging device 2 of this embodiment is configured so that each imaging element can photoelectrically convert light with a wavelength range of 400 nm to 1000 nm. In the following, the position in the captured image will be described using an image coordinate system in which the horizontal direction of the captured image is the x direction and the vertical direction is the y direction, and the center of the pixel in the upper left corner of the captured image is the origin (0,0).

[0021] The image processing device 3 receives the captured image data output from the imaging device 2, and calculates the amount of movement of the object O by sequentially processing the data.

[0022] Specifically, the image processing device 3 is a general-purpose or dedicated computer equipped with a CPU, memory, an input / output interface, etc. The image processing device 3 causes the CPU and peripheral devices to cooperate in accordance with a predetermined program stored in a predetermined area of ​​the memory, thereby fulfilling at least the functions of an image receiving unit 30, an image correction unit 31, a partial image extraction unit 32, an image storage unit 33, an image search unit 34, a search area setting unit 35, a frame interval setting unit 36, and a movement amount calculation unit 37, as shown in Fig. 3. Each functional unit will be described below.

[0023] The image receiving unit 30 receives captured image data for each frame from the imaging device 2 and transmits the captured image data to the image correction unit 31. The captured image data includes at least information on the frame numbers (also called frame number information) that indicate the order in which the images were captured. In this embodiment, the captured image is 128×128 pixels.

[0024] The image correction unit 31 sequentially corrects the received captured image. Specifically, the captured image is subjected to noise removal, shading correction, etc., using, for example, spatial filtering or Fourier transform processing. The corrected captured image is then output to the partial image extraction unit 32 and the image search unit 34.

[0025] The partial image extraction unit 32 extracts a partial image by cutting out a part of the captured image of each received frame, and sequentially stores the partial image as partial image data in the image storage unit 33. As shown in FIG. 4, the partial image extraction unit 32 extracts a partial image from a predetermined extraction position P E (x E ,y E A partial image is extracted based on the extraction position P E is fixed and is set to the center (specifically, the center) of the captured image in this embodiment. E A partial image of a predetermined shape and size is extracted with the frame number information as the center. In this embodiment, the partial image is rectangular (specifically, square) and has an image size of 64 x 64 pixels. This partial image data includes the frame number information described above.

[0026] The image storage unit 33 is set in a predetermined area of ​​the memory, and sequentially stores the partial image data for each frame output from the partial image extraction unit 32. This image storage unit 33 may be configured to delete a piece of partial image data with the oldest frame number when it receives a new piece of partial image data when the number of pieces of partial image data stored therein reaches an upper limit.

[0027] The image search unit 34 searches for a partial image in the captured image of each frame, and identifies the position of the partial image in the captured image. Specifically, when the image search unit 34 obtains the captured image of the latest frame from the image correction unit 31, it refers to the image storage unit 33 and obtains a partial image extracted from a captured image a predetermined number of frame intervals before the latest captured image. Then, as shown in FIG. 4, the image search unit 34 searches the captured image of the latest frame, and identifies the position P of the partial image (more specifically, an image that has a high similarity to the partial image) in the captured image. D (also called detection position) is detected, and the extraction position P E Detection position P D The displacement amount [pixels] of this detection position P D is the center position of the partial image in the captured image. The displacement amount is represented by the displacement amount Δx' [pixels] in the x direction and the displacement amount Δy' [pixels] in the y direction.

[0028] The image search unit 34 searches for a partial image by a pattern matching method such as a template matching method. Specifically, the search is performed by identifying an area having the highest similarity to the partial image based on information such as luminance values ​​within a predetermined search area R set in the captured image. The range of this search area R is set by the search area setting unit 35.

[0029] The frame interval setting unit 36 ​​sets the number of frame intervals between the captured image and the partial image referred to by the image search unit 34 (i.e., how many frames back in the latest captured image the partial image is to be searched for). Specifically, the frame interval setting unit 36 ​​transmits information indicating the number of frame intervals to the image search unit 34 and the movement amount calculation unit 37. This frame interval number is an integer of 1 or more.

[0030] The movement amount calculation unit 37 acquires the amount of displacement for each frame from the image search unit 34, and also acquires the number of frame intervals from the frame interval setting unit 36. Then, based on the amount of displacement and the number of frame intervals, it sequentially calculates the amount of movement of the object per frame. Specifically, it calculates the average amount of movement of the object per frame [pixels / frame] (also simply referred to as the movement amount) by dividing the acquired amount of displacement by the number of frame intervals. This movement amount is represented by the average amount of movement Δx [pixels / frame] of the object in the x direction and the average amount of movement Δy [pixels / frame] in the y direction.

[0031] Thus, in the movement amount detection system 100 of this embodiment, the frame interval setting unit 36 ​​sets the number of frame intervals between the captured image and the partial image referred to by the image search unit 34 based on the calculated movement amount. Specifically, the smaller the absolute value of the calculated movement amount is, the larger the number of frame intervals is set.

[0032] More specifically, the frame interval setting unit 36 ​​compares the most recent calculated amount of movement with a predetermined threshold. Then, as illustrated in Fig. 5, if the most recent amount of movement is greater than the predetermined value, the frame interval number is set to 1. On the other hand, if the most recent amount of movement is equal to or less than the predetermined value, the frame interval number is set to a value of 2 or more (for example, 4). In this case, the smaller the most recently calculated amount of movement, the larger the frame interval value is set.

[0033] Specifically, the frame interval setting unit 36 ​​compares the absolute value of the median of the movement amounts calculated for the most recent consecutive frames (e.g., five frames, including the latest frame) with a predetermined threshold. Then, the frame interval number is changed only if the absolute value of this median is smaller than the threshold. That is, if the absolute value of the median of the movement amounts for the most recent frames is greater than the threshold, the frame interval setting unit 36 ​​sets the frame interval number to 1, and if the absolute value of the median of the movement amounts for the most recent frames is smaller than the threshold, the frame interval setting unit 36 ​​sets the frame interval number to an integer of 2 or greater.

[0034] Here, in order to ensure that the partial image to be referred to falls within the captured image, the number of frame intervals is determined so as to satisfy the following formula (1). f n+1 ×|D n |+H / 2 <P / 2 (1) where f n+1 : Number of frame intervals for the (n+1)th frame, |D n |: absolute value of the median of the movement amount of the most recent frames at the nth frame [pixels / frame], H: size of one side of the partial image [pixels], P: size of one side of the captured image [pixels].

[0035] In the movement amount detection system 100 of this embodiment, the search area setting unit 35 determines the position P of the partial image in the captured image of the next frame based on the most recent movement amount calculated by the movement amount calculation unit 37 (specifically, the movement amount calculated from the latest frame). P (x P ,y P ) and predict the predicted position P P Specifically, as shown in FIG. 4, the search area setting unit 35 obtains the most recent calculated amount of movement from the movement amount calculation unit 37 and sets the range of the search area R to the extraction position P E x coordinate of (x E ) and y-coordinate (y E ) and the amount of movement Δx and Δy in the x and y directions are added to the predicted position P P (i.e., this predicted position P E is the previously identified detection position P D The search area setting unit 35 then calculates the predicted position P P (x P ,y P ) and set the range of the search region R as the center.

[0036] The search area setting unit 35 sets a new search area R based on the calculated movement amount every time the movement amount calculation unit 37 calculates the movement amount. Specifically, the search area setting unit 35 sets the search area R so as to have the same shape (including a similar shape) as the partial image. The vertical and horizontal sizes of this search area R are set so as to be smaller than the vertical and horizontal sizes of the captured image and larger than the vertical and horizontal sizes of the partial image.

[0037] Here, the search area setting unit 35 selects the predicted position P only when the variation in the most recently calculated movement amounts is small. P In other words, the search area setting unit 35 sets the entire captured image as the search area R when the variation in the most recently calculated multiple movement amounts is large, and narrows the range of the search area R when the variation in the movement amounts is small, thereby limiting the search area R to the predicted position P P Limited to the area around.

[0038] Specifically, the search area setting unit 35 compares the standard deviation of the movement amount of the most recently calculated consecutive multiple frames (for example, four frames) with a predetermined threshold value. If the standard deviation of the movement amount is greater than the predetermined threshold value (for example, three pixels), the predicted position P P On the other hand, if the standard deviation of the amount of movement is equal to or less than the predetermined threshold, the predicted position P P and set this predicted position P P A search region R is set with the center at the center. In this case, the size of the search region R may be made smaller as the standard deviation of the amount of movement is smaller (that is, as the variation is smaller).

[0039] Next, the movement amount detection operation, search area setting operation, and frame interval setting operation performed by the movement amount detection system 100 configured as above will be described with reference to the flowcharts of FIGS.

[0040] (Movement detection operation) As shown in FIG. 6, in the movement amount detection operation, first, the surface of the object O moved by the transport mechanism is imaged at a high speed by the imaging device 2 at a fixed time interval, and the images are sequentially output to the image processing device 3 (step S11). In the image processing device 3, the captured image is first corrected by removing noise or the like (step S12). Then, a partial image is extracted from a predetermined extraction position in the corrected captured image, and the extracted partial image is stored in the image storage unit 33 (step S13). At the same time, the captured image is searched for and its position is specified by referring to the most recent captured image and the partial image extracted from the captured image of the previous frame (step S14). The displacement amount [pixels] of the partial image whose position has been specified from the extraction position is divided by the set frame interval number to calculate the movement amount [pixels / frame] of the object O per frame (step S15).

[0041] (Search area setting operation) Next, the search area setting operation will be described with reference to FIG. First, the amount of movement of the object is acquired each time it is calculated (step S21), and the standard deviation of the amount of movement for a predetermined number of consecutive frames is calculated (step S22). The calculated standard deviation of the amount of movement is compared with a predetermined threshold (step S23). If the standard deviation of the amount of movement is equal to or smaller than the threshold, the predicted position P P and set the predicted position P P A search region R is set around the target object (step S24). If the standard deviation of the amount of movement exceeds the threshold, the search region R is not limited but is set to the entire captured image (step S25).

[0042] (Frame interval setting operation) Next, the frame interval setting operation will be described with reference to FIG. First, the amount of movement of an object is acquired each time it is calculated (step S31), and the median of the amount of movement for a predetermined number of consecutive frames is calculated (step S32). The calculated median of the most recent movement is compared with a predetermined threshold (step S33). If the median of the most recent movement is equal to or less than the threshold, the number of frame intervals is set to 2 or more (step S34). On the other hand, if the median of the most recent movement exceeds the threshold, the number of frame intervals is set to 1 without change (step S35).

[0043] According to the thus configured movement amount detection system 100 of the present embodiment, the number of frame intervals is set based on the most recently calculated movement amount, so that if the number of frame intervals is increased when the movement amount is small, such as at low speed, the displacement amount of the identified partial image from the extraction position can be increased, and the proportion of the error caused by the pixel resolution included in this displacement amount can be relatively reduced. This makes it possible to reduce the error in the movement amount at low speed.

[0044] The present invention is not limited to the above-described embodiment.

[0045] In the movement amount detection system 100 of the above embodiment, the imaging device 2 is fixed, and the amount of movement of the subject (object O) that moves relative to the imaging device 2 is calculated, but this is not limited thereto. In the movement amount detection system 100 of another embodiment, the light source 1, the imaging device 2, and the image processing device 3 are movable, and the movement amount detection system 100 may be configured to calculate the amount of movement of the imaging device 2 relative to the fixed subject. For example, the movement amount detection system 100 of another embodiment may be used for detecting the amount of movement of an optical mouse, detecting the amount of movement of a vehicle, or the like.

[0046] In the embodiment, the search area setting unit 35 sets the search area R based on the calculated most recent movement amount, but this is not limited to this. In another embodiment, the search area setting unit 35 may set the entire captured image or a part of it as the search area R, regardless of the calculated most recent movement amount.

[0047] The frame interval setting unit 36 ​​in the above embodiment compares the absolute value of the median of the movement amount calculated for the most recent consecutive frames with a predetermined threshold, but is not limited to this. The frame interval setting unit 36 ​​in the above embodiment may, for example, compare the absolute value of the movement amount of the most recent frame (e.g., the latest frame) or the absolute value of the average of the movement amounts of the most recent frames with a predetermined threshold to change the number of frame intervals. In addition, the most recent frames for which the median is calculated do not need to have consecutive frame numbers, and do not need to include the most recent frame.

[0048] The frame interval setting unit 36 ​​in the above embodiment may change the number of frame intervals only when the variation in the most recent calculated movement amounts is small.

[0049] In the movement amount detection system 100 of the embodiment, the extraction position P E In the above embodiment, the extraction position P is set at the center of the captured image, but this is not limited to this. E may be set at any position in the captured image defined by the user.

[0050] In the above embodiment, the set extraction position P E In the above example, a partial image is extracted with the extraction position P at the center. However, this is not limited to this. E A partial image may be extracted from any region based on the above.

[0051] In addition, in the movement amount detection system 100 of another embodiment, pixel interpolation processing may be performed on the captured image and partial image acquired by the image search unit 34. Examples of such pixel interpolation processing include nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, etc. This makes it possible to make the resolution finer.

[0052] In addition, the image processing device 3 in other embodiments does not need to include the image correction unit 31.

[0053] Each of the above-mentioned functional units may be realized by a reconfigurable hardware circuit such as an FPGA (Field Programmable Gate Array).

[0054] Furthermore, the present invention is not limited to the above-described embodiment, and it goes without saying that various modifications are possible without departing from the spirit and scope of the present invention. [Explanation of symbols]

[0055] 100...Movement detection system 2. Imaging device 32 ···Partial image extraction section 34 Image search section 35 Search area setting section 36 Frame interval setting section 37 Movement amount calculation section R Search area P E ...Extraction position P D Detection position P P ...Predicted location

Claims

1. A camera that detects the amount of movement of a subject, an imaging unit having an area sensor in which a plurality of image pickup elements are arranged in a matrix, the area sensor being arranged so that a surface of the subject is reflected in an entire captured image, the imaging unit capturing images of the subject at a constant frame rate and sequentially outputting the captured images; a partial image extracting unit that continues to extract a partial image obtained by cutting out a part of a captured image from a fixed extraction position in the captured image of each frame; an image search unit that searches a predetermined search area set in a captured image of each frame, and continues to identify the position of the partial image extracted from the fixed extraction position in the captured image a predetermined number of frame intervals before the predetermined search area; a movement amount calculation unit that continues to calculate a movement amount of the subject for each frame based on a displacement amount of the partial image from the fixed extraction position and the number of frame intervals every time a captured image is received, A motion detection system configured to set the number of frame intervals based on a most recently calculated motion.

2. The movement amount detection system according to claim 1 , wherein the number of frame intervals is increased as the most recently calculated movement amount is smaller.

3. 3. The movement amount detection system according to claim 2, further comprising: a comparison step of comparing a median of the movement amounts of a plurality of most recently calculated frames with a predetermined threshold value; and setting the number of frame intervals to 1 if the median is greater than the threshold value; and setting the number of frame intervals to 2 or more if the median is equal to or less than the threshold value.

4. 4. The movement amount detection system according to claim 3, further comprising: comparing a median value of the movement amounts of a plurality of frames, which include a latest frame and which are consecutively captured, with the predetermined threshold value.

5. 5. The movement amount detection system according to claim 1, wherein the frame rate of the imaging unit is 120 fps or more.

6. 6. The movement amount detection system according to claim 1, wherein the image search unit identifies the position of the partial image by a template matching method.

7. A program for a movement amount detection system, comprising an imaging device having an area sensor in which a plurality of imaging elements are arranged in a matrix, the imaging device being arranged so that a surface of a target subject is reflected in an entire captured image, the imaging device capturing images of the subject at a constant frame rate, the program detecting an amount of movement of the subject based on an image captured by the imaging device, a partial image extracting unit that continues to extract a partial image obtained by cutting out a part of a captured image from a fixed extraction position in the captured image of each frame; an image search unit that searches a predetermined search area set in a captured image of each frame, and continues to identify the position of the partial image extracted from the fixed extraction position in the captured image a predetermined number of frame intervals before the predetermined search area; causing the computer to function as a movement amount calculation unit that continues to calculate a movement amount of the subject for each frame based on a displacement amount of the partial image from the fixed extraction position and the number of frame intervals each time a captured image is received; A program for a movement amount detection system configured to set the number of frame intervals based on a most recently calculated amount of movement.

Citation Information

Patent Citations

  • Automatic tracking method

    JP2008112210A

  • Device and method for measurement of motion vector

    JP2011191972A

  • Conveyance device, image forming apparatus, and moving body detection method

    JP2016212422A

  • Image forming apparatus

    JP2018167946A

  • Work system, method for implementing work on article and robot

    JP2019072792A