Method and apparatus for monitoring slides, slide equipment and storage medium
The use of a ToF sensor for slide counting in slide equipment addresses the inefficiencies of fiber optic sensors by offering accurate, cost-effective, and space-saving slide detection.
Patent Information
- Application Number
- PCT/CN2024/101874
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2026-01-02
AI Technical Summary
Existing slide detection technologies, such as fiber optic sensors, are expensive, occupy significant space, and are difficult to integrate into slide equipment due to their size, making it challenging to accurately count and monitor the number of slides in a stack.
Utilizing a Time of Flight (ToF) sensor to measure the distance between the sensor and a slide, determining the number of slides based on the data read from the ToF sensor, which is not influenced by ambient light or slide surface properties, allowing for accurate counting and integration into slide equipment.
The ToF sensor provides accurate slide counting at a lower cost and reduces space requirements within the equipment, supporting compatibility with various slide types and efficient integration.
Smart Images

Figure CN2024101874_02012026_PF_FP_ABST
Abstract
Description
METHOD AND APPARATUS FOR MONITORING SLIDES, SLIDE EQUIPMENT AND STORAGE MEDIUMFIELD
[0001] The present disclosure relates to a field of slide equipment technology, and more particularly to a method and an apparatus for monitoring slides, a slide equipment and a storage medium.BACKGROUND
[0002] A slide is a transparent carrier used to carry a cell or biological sample slices for observation, reading, and analysis by researchers or equipment. For example, in the field of science and biomedicine, different slides can be distinguished by information labels.SUMMARY
[0003] The present disclosure provides a method and an apparatus for monitoring slides, a slide equipment and a storage medium, capable of accurately detecting a number of slides in a stack of slides.
[0004] An embodiment of the present disclosure provides a method for monitoring slides. The method includes: reading data of a time of flight (ToF) sensor configured to measure a distance between the ToF sensor and a slide; and determining a number of slides in a stack of slides based on the data read from the ToF sensor.
[0005] In an embodiment, the distance between the ToF sensor and the slide decreases with an increase of the number of slides, or the distance between the ToF sensor and the slide increases with a decrease of the number of slides.
[0006] In an embodiment, determining the number of slides in the stack of slides based on the data read from the ToF sensor includes:
[0007] determining a distance value based on the data read from the ToF sensor; and
[0008] determining the number of slides in the stack of slides based on the distance value in response to the distance value being less than or equal to a first threshold value.
[0009] In an embodiment, determining the number of slides in the stack of slides based on the distance value includes:
[0010] determining the number of slides in the stack of slides based on the distance value and a correspondence between numbers of slides and distance values.
[0011] In an embodiment, the method includes: determining that the number of slides in the stack of slides remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend, in which the second threshold value is greater than the first threshold value.
[0012] In an embodiment, the method includes: determining that the slide is absent in response to the distance value being greater than or equal to the second threshold value.
[0013] In an embodiment, the method includes: determining that the slide is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.
[0014] An embodiment of the present disclosure provides an apparatus for monitoring slides. The apparatus includes:
[0015] a time of flight (ToF) sensor, configured to measure a distance between the ToF sensor and a slide; and
[0016] a processor, configured to read data of the ToF sensor and determine a number of slides in a stack of slides based on the data read from the ToF sensor.
[0017] In an embodiment, the distance between the ToF sensor and the slide decreases with an increase of the number of slides, or the distance between the ToF sensor and the slide increases with a decrease of the number of slides.
[0018] In an embodiment, the processor is configured to:
[0019] determine a distance value based on the data read from the ToF sensor; and
[0020] determine the number of slides in the stack of slides based on the distance value in response to the distance value being less than or equal to a first threshold value.
[0021] In an embodiment, the processor is configured to:
[0022] determine the number of slides in the stack of slides based on the distance value and a correspondence between numbers of slides and distance values.
[0023] In an embodiment, the processor is configured to:
[0024] determine that the number of slides in the stack of slides remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend, in which the second threshold value is greater than the first threshold value.
[0025] In an embodiment, the processor is configured to:
[0026] determine that the slide is absent in response to the distance value being greater than or equal to the second threshold value.
[0027] In an embodiment, the processor is configured to:
[0028] determine that the slide is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.
[0029] In an embodiment, the ToF sensor is arranged beyond a location where a maximum number of slides reaches in a movement direction of the stack of slides as the number of slides increases.
[0030] In an embodiment, lights emitted by the ToF sensor travel through an opening on a container to reach on and reflect by the slides contained in the container.
[0031] In an embodiment, the ToF sensor is arranged on a sensor board embedded in a top plate of a slide equipment.
[0032] An embodiment of the preset disclosure provides a slide equipment. The slide equipment includes a container, configured to contain a stack of slides; and the apparatus for monitoring slides as described in the above apparatus embodiment.
[0033] For example, the slide equipment may be a slide printer.
[0034] An embodiment of the present disclosure provides a computer-readable storage medium with a computer program stored thereon. The method as described in the above method embodiment is implemented when the computer program is executed by a processor.
[0035] According to the method and the apparatus for monitoring slides, the slide equipment, and the storage medium provided in embodiments of the present disclosure, the ToF sensor measures the distance between the ToF sensor and the slide, and the number of slides in the stack of slides is determined based on the data read from the ToF sensor. In an embodiment, the number of slides is measured based on the distance, the ToF sensor may measure the distance accurately, for example, without being influenced by ambient lights and physical properties (e.g., color, frosted or glossy, etc. ) of the surface of the slide, as compared with detecting light intensity by fiber optic sensors, and an accurate number of slides can be determined. Various types of slides may be compatible, e.g., a plain / standard slide, a frosted / colored slide, etc. As compared to, for example the fiber optic sensors, the ToF sensor is cheaper and smaller, and is easy to integrate into the equipment because of its small size. Using the ToF sensor to determine the number of slides loaded in the equipment can costs less and save space within the equipment.
[0036] Additional aspects and advantages of embodiments of present disclosure will be given in part in the following descriptions, become apparent in part from the following descriptions, or be learned from the practice of the embodiments of the present disclosure.BRIEF DESCRIPTION OF THE DRAWINGS
[0037] These and other aspects and advantages of embodiments of the present disclosure will become apparent and more readily appreciated from the following descriptions made with reference to the drawings, in which:
[0038] FIG. 1 is a block diagram illustrating an apparatus for monitoring slides according to an embodiment of the present disclosure.
[0039] FIG. 2 is a schematic diagram illustrating a structure of an apparatus for monitoring slides according to an embodiment of the present disclosure.
[0040] FIG. 3 is a schematic diagram illustrating an installation position of a ToF sensor according to an embodiment of the present disclosure.
[0041] FIG. 4 is a block diagram illustrating an apparatus for monitoring slides according to another embodiment of the present disclosure.
[0042] FIG. 5 is a block diagram illustrating an apparatus for monitoring slides according to yet another embodiment of the present disclosure.
[0043] FIG. 6 is a block diagram illustrating an apparatus for monitoring slides according to yet another embodiment of the present disclosure.
[0044] FIG. 7 is a schematic diagram illustrating an operating principle of an apparatus for monitoring slides according to an embodiment of the present disclosure.
[0045] FIG. 8 is a block diagram illustrating a slide equipment according to an embodiment of the present disclosure.
[0046] FIG. 9 is a flowchart illustrating a method for monitoring slides according to an embodiment of the present disclosure.DETAILED DESCRIPTION
[0047] Reference will be made in detail to embodiments of the present disclosure. Examples of the embodiments of the present disclosure will be shown in drawings, in which the same or similar elements and the elements having same or similar functions are denoted by like reference numerals throughout the descriptions. The embodiments described herein according to drawings are explanatory and illustrative, not construed to limit the present disclosure.
[0048] Slides may be applied in various scenarios, e.g., diagnosis, biology, histology, and / or the like. The slides can be glass or other transparent material provided to carry a sample to be used under a microscope to inspect the sample under magnification. For example, in the field of science and biomedicine, the slides may have labeled areas that can be used to add labels to record relevant information. A slide printer can add the information labels on the slides. For example, the slide printer may be provided with a container capable of containing a certain number of slides for on-demand printing.
[0049] Fiber optic sensors may detect presence of slides in the container. However, the fiber optic sensors are expensive, and with a large space occupation, and further hard to integrate into equipment because of its size.
[0050] According to a method and an apparatus for monitoring slides, a slide equipment, and a storage medium provided in embodiments of the present disclosure, a ToF sensor measures a distance between a ToF sensor and a slide, and a number of slides in a stack of slides is determined based on data read from the ToF sensor. In the solution, the number of slides can be detected accurately. Using the ToF sensor to determine the number of slides loaded in the apparatus can costs less and save space within the equipment, as compared to, for example the fiber optic sensors.
[0051] The following describes a method and an apparatus for monitoring slides, a slide equipment, and a storage medium in embodiments of the present disclosure with reference to the accompanying drawings.
[0052] FIG. 1 is a block diagram illustrating an apparatus for monitoring slides according to an embodiment of the present disclosure. As illustrated in FIG. 1, the apparatus 100 includes a time of flight (ToF) sensor 110 and a processor 130.
[0053] The ToF sensor 110 is configured to measure a distance between the ToF sensor 110 and a slide 210. The processor 130 is configured to read data of the ToF sensor 110 and determine a number of slides 210 in a stack of slides 210 based on the data read from the ToF sensor 110.
[0054] In an embodiment, the slide may be contained in a container 200. The container 200, which may be referred to as a carrier, a magazine, a bracket, a holder, etc., is a containing structure for holding one or more slides therein. The slides might be stacked and held in the container 200.
[0055] The ToF sensor 110 is a sensor used to measure distances. In some example, the ToF sensor 110 may be a laser ToF sensor, a radar ToF sensor, an ultrasonic ToF sensor, or an infrared ToF sensor, etc. The ToF sensor 110 is a device that measures a time it takes for a signal, such as lights, to travel to an object and return to the ToF sensor. This measurement allows the ToF sensor to accurately determine a distance to the object.
[0056] The ToF sensor 110 may consist of an emitter, a receiver, a timing circuitry and a processing unit. The emitter is configured to emit the lights towards the object. The lights hit the object and bounce back. The receiver is configured to receive reflected lights. The timing circuitry may be configured to measure a time difference between emission and reception of the lights. The processing unit is configured to calculates the distance to the object based on the time difference.
[0057] [Rectified under Rule 91, 23.09.2024]In an example, the emitter may be a light source, such as an infrared LED or a laser diode, the receiver may be a sensor chip, such as including a photodetector array. The processing unit may a microprocessor or an integrated circuit. In the solution of the present disclosure, the ToF sensor 110 may measure the distance between the ToF sensor 110 and the slide 210, and output data related to the distance. For example, the emitter of the ToF sensor 110 emits lights. The lights hit a surface of the slide 210, and the receiver of the ToF sensor 110 receive light reflected by the surface of the slide 210. The ToF sensor 110 may measure the distance between the ToF sensor 110 and the slide 210.
[0058] For example, the emitter emits lights to a location where the slide is potentially present and the receiver tries to receive the lights reflected by the slide. The lights emitted by the emitter may form a cone shape with the emitter as a vertex. An axis of the cone passing through the vertex is perpendicular to the surface of the slide 210.
[0059] The receiver may be arranged closer to the emitter. For example, the lights emitted by the emitter may be laser lights.
[0060] The processor 130 is coupled to the ToF sensor 110 and reads the data from the ToF sensor 110. The processor 130 may determine a status of the slide 210 based on the data read from the ToF sensor 110.
[0061] For example, the status of slide 210may include the number of slides 210 and presence or absence of the slide 210. The presence or absence of slide 210, or different numbers of slides in the stack of slides 210 may render a change in the distance between the ToF sensor 110 and the slide 210. By measuring the distance between the ToF sensor 110 and the slide 210, the status of the slide 210 can be determined based on the data read from the ToF sensor 110.
[0062] According to the apparatus for monitoring slides provided in embodiments of the present disclosure, the ToF sensor measures the distance between the ToF sensor and the slide, and the number of slides in the stack of slides is determined based on the data read from the ToF sensor. In an embodiment, the number of slides is measured based on the distance, the ToF sensor may measure the distance accurately, for example, without being influenced by ambient lights and physical properties (e.g., color, frosted or glossy, etc. ) of the surface of the slide, as compared with detecting light intensity by fiber optic sensors, and an accurate number of slides can be determined. Various types of slides may be compatible, e.g., a plain / standard slide, a frosted / colored slide, etc. As compared to, for example the fiber optic sensors, the ToF sensor is cheaper and smaller, and is easy to integrate into the equipment because of its small size. Using the ToF sensor to determine the number of slides loaded in the equipment can costs less and save space within the equipment.
[0063] [Rectified under Rule 91, 23.09.2024]In an embodiment of the present disclosure, the ToF sensor 110 is arranged beyond a location where a maximum number of slides reaches in a movement direction of the stack of slides as the number of slides increases. For example, the slide 210 may be loaded into the container 200 from bottom to top, the stack of slides moves upwards, the ToF sensor 110 may be arranged above the location where the maximum number of slides reaches. In an embodiment, light emitted by the ToF sensor 100 may travel through an opening on a container 200 to reach on and reflect by the slides contained in the container 200. As illustrate in FIG. 2, taking the ToF sensor 110 being arranged above the location where the maximum number of slides reaches as an example, the opening may be an upper opening 220 of the container 200. The ToF sensor 110 may arranged above the upper opening 220 of the container 200. In an example, the ToF sensor 110 may be arranged relative to a center or non-center of the container 200. The ToF sensor 110 is mounted above the center of the container 200.
[0064] The container 200 may be provided with the upper opening 220, the slide 210 is loaded into the container 200 from the bottom the container 200, causing the stack of slides in the container 200 to move upwards (towards a location where the ToF sensor 110 is at) entirely. The ToF sensor 110 is arranged above the upper opening 220 of the container 200, and the lights emitted by the ToF sensor 110 is reflected by a surface of a top slide. The distance measured by the ToF sensor 110 may proportionally change due to a variation of the number of the slides in the container 200.
[0065] The ToF sensor may measure the distance accurately, for example, without being influenced by ambient lights and physical properties (e.g., color, frosted or glossy, etc. ) of the surface of the slide, as compared with detecting light intensity by fiber optic sensors. The apparatus in the present disclosure can accurately detect the status of the slides in the container through the ToF sensor.
[0066] In some embodiments of the present disclosure, as illustrated in FIG. 2 and FIG. 3, the ToF sensor 110 is arranged on a sensor board 120, and the sensor board 120 is embedded in a top plate 300 of a slide equipment, such as a slide printer, a scanner, or a stainer. As an example, the sensor board 120 may be taken a PCB (printed circuit board) board as a substrate.
[0067] The ToF sensor 110 can be arranged on a side of the sensor board 120 facing the container 200, such as a lower surface of the sensor board 120 as illustrated in FIG. 3. The sensor board 120 is equipped with mounting holes (or through holes or via holes) on both sides, such as on left and right sides of the sensor board 120 as illustrated in FIG. 3. The sensor board 120 may be fixed to the top plate 300 by fixing elements 320, such as screws, that can pass through the mounting holes.
[0068] In addition, as illustrated in FIG. 3, a protection plate 310 may be arranged on the ToF sensor 110. The protection plate 310 may cover the ToF sensor 110, for example, the protection plate 310 may be attached to surfaces of the emitter and the receiver in the ToF sensor 110. The ToF sensor may be protected from environmental pollution. In an embodiment, the protection plate 310 may be protection plate 310, (e.g., transparent glass or plastic material) . The protection plate 310 may be a plate shape.
[0069] In some embodiments, a slide equipment may include one or more containers 200, the apparatus may include one or more ToF sensors 110 correspondingly. When the slide equipment includes one container 200, the apparatus may include one ToF sensor 110. When the slide equipment includes a plurality of containers 200, the apparatus may include a plurality of ToF sensors 110. Each of the ToF sensors 100 corresponds to one stack of slides or one container 200.
[0070] In an example as illustrated in FIG. 2 and FIG. 3, the slide equipment may include a container A and a container B, and the apparatus may be correspondingly arranged with two ToF sensors 110 corresponding to the container A and the container B. a first ToF sensor may be arranged above the container A to measure a distance between the slide in the container A and the first ToF sensor. A second ToF sensor may be arranged above the container B to measure a distance between the slide in the container B and the second ToF sensor. The processor 130 may determine the status of slides in the container A based on data read from of the first ToF sensor, and determine the status of slides in the container B based on data read from the second ToF sensor.
[0071] The apparatus of the present disclosure can accurately detect the status of slides in one or more containers.
[0072] In some embodiments of the present disclosure, as illustrated in FIG. 4 to FIG. 6, the sensor board 120 communicates with a control board 410 of the slide equipment via a communication bus, e.g., a I2C bus, a CAN bus, a RS232 bus, a RS485 bus or an SPI bus, or the like.
[0073] In an embodiment, the sensor board 120 may communicate with the control board 410 via the communication bus, e.g., the I2C bus as illustrated in FIG. 5, or the CAN bus as illustrated in FIG. 6.The sensor board 120 may transmit reading from the ToF sensor 110 to the control board 410 via the communication bus.
[0074] For example, as illustrated in FIG. 5, the sensor board 120 may include a level translator 470. The level translator 470 may be provided between the ToF sensor 110 and the control board 410. The level translator 470 communicates with the ToF sensor 110 via the I2C bus, and communicates with the control board 410 via the I2C bus. A voltage suitable for I2C communication between the level translator 470 and the ToF sensor 110 is different from a voltage suitable for I2C communication voltage between the level translator 470 and the control board 410. The level translator 470 is configured to convert the voltage suitable for the I2C communication between the level translator 470 and the ToF sensor 110 to the voltage suitable for the I2C communication voltage between the level translator 470 and the control board 410.
[0075] The level translator 470 may read data of the ToF sensor 110 through a I2C bus between the ToF sensor 110 and the level translator 470, convert a voltage received from the ToF sensor 110 to the voltage suitable for the I2C communication between the level translator 470 and the control board 410. The control board 410 may obtain the data of the ToF sensor 110 via the I2C bus.
[0076] For example, as illustrated in FIG. 6, the sensor board 120 may be a sensor board with a MCU (Microcontroller Unit) integrated. The sensor board 120 may include a microcontroller unit (MCU) 510. The sensor board with the MCU integrated (i.e., a MCU is integrated on the sensor board) may communicate with the control board 410 via various communication methods, such the CAN bus, the RS232 bus, the RS485 bus or the SPI bus, or the like. Taking the CAN bus as an example, the sensor board 120 may transmit the read from the ToF sensor 110 to the control board 410 via the CAN bus. The MCU 510 may be provided between the ToF sensor 110 and the control board 410. The MCU 510 communicates with the ToF sensor 110 via an I2C bus, and communicates with the control board 410 via the CAN bus. The MCU 510 may convert communication data received from the I2C bus between the ToF sensor 110 and the MCU 510 to communication data that can be recognized by CAN communication between the control board 410 and the MCU 510.
[0077] The MCU 510 may read the data of the ToF sensor 110 through the I2C bus between the ToF sensor 110 and the MCU 510, convert communication data including the reading from the ToF sensor 110 to the communication data that can be recognized by the CAN communication between the MCU 510 and the control board 410. The control board 410 may obtain the data read from the ToF sensor 110 via the CAN bus. The CAN bus may have a reduced electromagnetic interference, as compared to the I2C bus.
[0078] As illustrated in FIG. 5, the apparatus 100 includes a voltage regulator unit 490. The voltage regulator unit 490 is coupled to the control board 410, the ToF sensor 110 and the level translator 470, respectively. The voltage regulator unit 490 is configured to convert a voltage provided by the control board 410 into a supply voltage, and provide the supply voltage to the ToF sensor 110 and the level translator 470. As an example, the level translator 470 and the voltage regulator unit 490 may be arranged on the sensor board 120.
[0079] As illustrated in FIG. 6, the slide monitor apparatus 100 includes a voltage regulator unit 530. The voltage regulator unit 530 is coupled to the control board 410, the ToF sensor 110 and the MCU 510, respectively. The voltage regulator unit 490 is configured to convert a voltage provided by the control board 410 into a supply voltage, and provide the supply voltage to the ToF sensor 110 and the MCU 510. As an example, the MCU 510 and the voltage regulator unit 530 may be arranged on the sensor board 120.
[0080] In some embodiments, as illustrated in FIG. 4, the control board 410 may communicate with a host core board 450 and a slide transportation system 500 of the slide equipment. The control board 410 can be a board configured to obtain the data read from the ToF sensor 110 on the sensor board 120, and sent the data read from the ToF sensor 110 to the host core board 450. The host core board 450 can be a board configured to obtain the data of the ToF sensor 110 from the control board 410, and generate and send motion control commands to the control board 410, such that the control board 410 may execute the motion control commands from the host core board 450 to drive the slide transportation system 500.
[0081] The processor 130 may be provided on the control board 410 or the host core board 450. When the processor 130 is provided on the control board 410, the processor 130 may directly read the data of the ToF sensor 110 on the sensor board 120 via the communication bus. When the processor 130 is provided on the host core board 450, the control board 410 reads the data of the ToF sensor 110 on the sensor board 120 via the communication bus, and transmits the data read from the ToF sensor 110 to the processor 130.
[0082] The following is an illustration of determining the status of slides 210 in the container 200 based on the data read from the ToF sensor 110.
[0083] In an embodiment, the distance between the ToF sensor 110 and the slide 210, decreases with an increase of the number of slides 210, or the distance between the ToF sensor 110 and the slide 210 increases with a decrease of the number of slides 210.
[0084] For example, a distance value between the ToF sensor 110 and the slide 210 may be determined based on the data read from the ToF sensor. Different distance values correspond to different numbers of slides 210 loaded in the container. For example, the distance value decreases with an increase of the number of slides 210 in the container 200, or the distance value increases with a decrease of the number of slides 210 in the container 200.
[0085] The ToF sensor 110 may be arranged above the container 200, and the slide 210 may be loaded into the container 200 from the bottom of the container 200. As the number of slides 210 in the container 200 increases, the slides in the container 200 move upwards as a whole, i.e. towards a location where the ToF sensor 110 is, and the distance between the ToF sensor 110 and the slide 210 decreases, allowing the distance value to decrease as the number of slides 210 in the container 200 increases. As the number of slides 210 in the container 200 decreases, the slides in the container 200 move downwards as a whole, i.e. away from the location where the ToF sensor 110 is, and the distance between the ToF sensor 110 and the slide 210 increases, allowing the distance value to increase as the number of slides 210 in the container 200 decreases.
[0086] In some embodiments, the processor 130 is configured to determine a distance value based on the data read from the ToF sensor 110; and determine the number of slides 210 in the stack of slides 210 based on the distance value in response to the distance value being less than or equal to a first threshold value.
[0087] When the distance value is greater than or equal to zero and less than or equal to the first distance value D1, the processor 130 determines that the apparats is in a slide counting mode. In a slide counting mode, the processor 130 determines the number of slide based on the distance value.
[0088] For example, the processor 130 is configured to determine the number of slides 210 in the stack of slides 210 based on the distance value and a correspondence between numbers of slides and distance values.
[0089] The correspondence between numbers of slides and distances can be predetermined. Each distance corresponds to one number of slides. For example, the correspondence may be a table, or a list, etc. In an example, the correspondence may be determined experimentally, that is, for every slide 210 added to the container 200, the ToF sensor 110 performs a measurement once to obtain one distance value. By increasing the number of slides 210 in the container 200 from zero to a maximum value, a distance corresponding to each number of slides may be obtained, and the correspondence between numbers of slides and distances can be formed.
[0090] After obtaining the data read from the ToF sensor 110, the distance value may be determined and compared with the correspondence between numbers of slides and distances, and the number of slides corresponding to the determined distance value may be used as the number of slides 210 in the container 200.
[0091] In an embodiment, the number of slides in the container can be prompted to a user. The apparatus may count the number of slides and indicate the number of slides to the user.
[0092] In some embodiments, the processor 130 is configured to determine that the slide 210 is absent in response to the distance value being greater than or equal to the second threshold value.
[0093] The processor 130 is configured to determine that the number of slides 210 in the stack of slides 210 remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend. The second threshold value is greater than the first threshold value.
[0094] The processor 130 is configured to determine that the slide 210 is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.
[0095] As illustrated in FIG. 7, when the distance value determined based the data read from the ToF sensor 110 is less than or equal to the first threshold value D1, the processor 130 may determine that the number of the slide 210 in the container 200. When the distance value determined based the data read from ToF sensor 110 is greater than or equal to the second threshold value D2, the processor 130 may determine that no slide 210 is in the container 200. When the distance value determined based the data read from ToF sensor 110 is greater than the first threshold value D1 and less than the second threshold value D2, the processor 130 may determine that the status of slides 210 in the container 200 remains unchanged. For example, when the distance value determined based the data read from ToF sensor 110 is within a range greater than D1 and less than D2, the processor 130 may determine the status of the slide 210 based on a changing trend of the distance value, for example, if the distance value is on the increasing trend, e.g., increasing from a distance value less than or equal to D1 to a distance value within the range greater than D1 and less than D2, the number of slides 210 in the container 200 remains unchanged, the processor 130 may take the number of slides 210 previously determined as the current number of slides 210, alternatively if the distance value is on the decreasing trend, e.g., decreasing from a distance value greater than or equal to D2 to a distance value within the range greater than D1 and less than D2, the processor 130 may determine that no slide 210 is in the container 200. When the distance value determined based the data read from ToF sensor 110 is within the range greater than D1 and less than D2, it is indicated that the number of slides is relatively small, a change in the data of the slide 210 is relatively small, the status of the slide 210 is determined based on a changing trend of the distance value in order to avoid measurement errors.
[0096] In an embodiment, the ToF sensor 110 is configured to emit lights, e.g., Laser, towards the slide 210 and receive lights reflected by the surface of the slide 210. When the number of slides 210 in the container 200 changes, the distance between the ToF sensor 110 and the slide 210 changes, and the distance value determined based on the data read from the ToF sensor 110. The number of slides 210 in the container 200 may be determined based on the distance value determined based on the data read from the ToF sensor 110.
[0097] The apparatus of the present disclosure may count the number of slides in the container. In an embodiment, the number of slides is measured based on the distance, the ToF sensor may measure the distance accurately, for example, without being influenced by ambient lights and physical properties (e.g., color, frosted or glossy, etc. ) of the surface of the slide, as compared with detecting light intensity by fiber optic sensors, and an accurate number of slides can be determined. Various types of slides may be compatible, e.g., a plain / standard slide, a frosted / colored slide, etc. As compared to, for example the fiber optic sensors, the ToF sensor is cheaper and smaller, and is easy to integrate into the equipment because of its small size. Using the ToF sensor to determine the number of slides loaded in the equipment can costs less and save space within the equipment.
[0098] It should be noted that those skilled in the art can understand that any apparatus provided in embodiments of the present disclosure be executed independently or in combination with some apparatuses in embodiments of the present disclosure or some apparatuses in related arts.
[0099] The present disclosure provides a slide equipment. For example, the slide equipment may be a slide printer, or a scanner, or a stainer, and the like.
[0100] [Rectified under Rule 91, 23.09.2024]FIG. 8 is a block diagram illustrating a slide equipment according to an embodiment of the present disclosure. As illustrated in FIG. 8, the slide equipment 800 includes a container 810 configured to contain a stack of slides; and an apparatus 820 for monitoring slides as described in the above embodiments.
[0101] The present disclosure provides a method for monitoring slides.
[0102] [Rectified under Rule 91, 23.09.2024]FIG. 9 is a flowchart illustrating a method for monitoring slides according to an embodiment of the present disclosure. As illustrated in FIG. 9, the method includes:
[0103] S1: reading data of a time of flight (ToF) sensor configured to measure a distance between the ToF sensor and a slide; and
[0104] S2: determining a number of slides in a stack of slides based on the data read from the ToF sensor.
[0105] According to the method provided by an embodiment of the present disclosure, the ToF sensor measures the distance between the ToF sensor and the slide, and the number of slides in the stack of slides is determined based on the data read from the ToF sensor. In an embodiment, the number of slides is measured based on the distance, the ToF sensor may measure the distance accurately, for example, without being influenced by ambient lights and physical properties (e.g., color, frosted or glossy, etc. ) of the surface of the slide, as compared with detecting light intensity by fiber optic sensors, and an accurate number of slides can be determined. Various types of slides may be compatible, e.g., a plain / standard slide, a frosted / colored slide, etc. As compared to, for example the fiber optic sensors, the ToF sensor is cheaper and smaller, and is easy to integrate into the equipment because of its small size. Using the ToF sensor to determine the number of slides loaded in the equipment can costs less and save space within the equipment.
[0106] In some embodiments, the distance between the ToF sensor and the slide decreases with an increase of the number of slides, or the distance between the ToF sensor and the slide increases with a decrease of the number of slides.
[0107] In some embodiments, determining the number of slides in the stack of slides based on the data read from the ToF sensor includes: determining a distance value based on the data read from the ToF sensor; and determining the number of slides in the stack of slides based on the distance value in response to the distance value being less than or equal to a first threshold value.
[0108] In some embodiments, determining the number of slides in the stack of slides based on the distance value includes: determining the number of slides in the stack of slides based on the distance value and a correspondence between numbers of slides and distance values.
[0109] In some embodiments, the method includes: determining that the number of slides in the stack of slides remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend, in which the second threshold value is greater than the first threshold value.
[0110] In some embodiments of the present disclosure, the method includes: determining that the slide is absent in response to the distance value being greater than or equal to the second threshold value.
[0111] In some embodiments of the present disclosure, the method includes: determining that the slide is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.
[0112] It should be noted that those skilled in the art can understand that any method provided in embodiments of the present disclosure be executed independently or in combination with some methods in embodiments of the present disclosure or some methods in related arts.
[0113] Regarding the method in the above embodiments, specific implementations in which respective steps perform operations have been described in detail in the relevant apparatus embodiments, and will not be repeated here.
[0114] The present disclosure provides a computer-readable storage medium with a computer program stored thereon is provided. The method for monitoring slides as described in any embodiment of the present disclosure is implemented when the computer program is executed by a processor.
[0115] Regarding the storage medium in the above embodiments, specific implementations in which respective modules perform operations have been described in detail in the relevant method embodiments, and will not be repeated here.
[0116] In the description of the disclosure, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance. Thus, the feature defined with “first” and “second” may comprise one or more this feature. In the description of the present invention “a plurality of” means two or more than two, unless specified otherwise.
[0117] In the present disclosure, unless specified or limited otherwise, the terms “mounted” , “connected” , “coupled” , “fixed” and the like are used broadly, and may be, for example, fixed connections, detachable connections, or integral connections; may also be mechanical or electrical connections; may also be direct connections or indirect connections via intervening structures; may also be inner communications of two elements, which can be understood by those skilled in the art according to specific situations.
[0118] Reference throughout this specification to “an embodiment” , “some embodiments” , “one embodiment” , “another example” , “an example” , “a specific example” or “some examples” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present utility model. Thus, the appearances of the phrases such as “in some embodiments” , “in one embodiment” , “in an embodiment” , “in another example” , “in an example” , “in a specific example” or “in some examples” in various places throughout this specification are not necessarily referring to the same embodiment or example of the present utility model. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0119] Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present utility model, and changes, alternatives, and modifications can be made in the embodiments without departing from spirit, principles and scope of the present invention.
Claims
1.A method for monitoring slides, comprising:reading data of a time of flight (ToF) sensor configured to measure a distance between the ToF sensor and a slide; anddetermining a number of slides in a stack of slides based on the data read from the ToF sensor.2.The method according to claim 1, wherein the distance between the ToF sensor and the slide decreases with an increase of the number of slides, or the distance between the ToF sensor and the slide increases with a decrease of the number of slides.3.The method according to claim 1 or 2, wherein determining the number of slides in the stack of slides based on the data read from the ToF sensor comprises:determining a distance value based on the data read from the ToF sensor; anddetermining the number of slides in the stack of slides based on the distance value in response to the distance value being less than or equal to a first threshold value.4.The method according to claim 3, wherein determining the number of slides in the stack of slides based on the distance value comprises:determining the number of slides in the stack of slides based on the distance value and a correspondence between numbers of slides and distance values.5.The method according to claim to 3 or 4, further comprising:determining that the number of slides in the stack of slides remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend, wherein the second threshold value is greater than the first threshold value.6.The method according to any one of claims to 3 to 5, further comprising:determining that the slide is absent in response to the distance value being greater than or equal to the second threshold value.7.The method according to any one of claims to 3 to 6, further comprising:determining that the slide is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.8.An apparatus for monitoring slides, comprising:a time of flight (ToF) sensor, configured to measure a distance between the ToF sensor and a slide; anda processor, configured to read data of the ToF sensor and determine a number of slides in a stack of slides based on the data read from the ToF sensor.9.The apparatus according to claim 8, wherein the distance between the ToF sensor and the slide decreases with an increase of the number of slides, or the distance between the ToF sensor and the slide increases with a decrease of the number of slides.10.The apparatus according to claim 8 or 9, wherein the processor is configured to:determine a distance value based on the data read from the ToF sensor; anddetermine the number of slides in the stack of slides based on the distance value in response to the distance value being less than or equal to a first threshold value.11.The apparatus according to claim 10, wherein the processor is configured to:determine the number of slides in the stack of slides based on the distance value and a correspondence between numbers of slides and distance values.12.The apparatus according to according to claim 10 or 11, wherein the processor is configured to:determine that the number of slides in the stack of slides remains unchanged in response to the distance value being greater than the first threshold value and less than a second threshold value and on an increasing trend, wherein the second threshold value is greater than the first threshold value.13.The apparatus according to any one of claims to 10 to 12, wherein the processor is configured to:determine that the slide is absent in response to the distance value being greater than or equal to the second threshold value.14.The apparatus according to any one of claims to 10 to 13, wherein the processor is configured to:determine that the slide is absent in response to the distance value being greater than the first threshold value and less than the second threshold value and on a decreasing trend.15.The apparatus according to any one of claims 8 to 14, wherein the ToF sensor is arranged beyond a location where a maximum number of slides reaches in a movement direction of the stack of slides as the number of slides increases.16.The apparatus according to any one of claims 8 to 15, wherein lights emitted by the ToF sensor travel through an opening on a container to reach on and reflect by the slides contained in the container.17.The apparatus according to any one of claims 8 to 16, wherein the ToF sensor is arranged on a sensor board embedded in a top plate of a slide equipment.18.A slide equipment, comprising:a container, configured to contain a stack of slides; andthe apparatus for monitoring slides according to any one of claims 8 to 17.19.The slide equipment according to claim 18, wherein the slide equipment is a slide printer.20.A computer-readable storage medium with a computer program stored thereon, the method according to any one of claims 1 to 7 is implemented when the computer program is executed by a processor.
Citation Information
Patent Citations
Printer out-of-paper early warning system with paper feeding box
CN105922769A
Device for determining the filling level of coin tubes
CN107430794A
Slide storage and automatic supply device
CN219216386U
Label paper stack allowance detection device and packaging machine
CN219857953U
System and method for determining the number and value of coins in a coin dispensing machine
US20050118941A1