Marker recognition apparatus, fluid device design apparatus, augmented reality output apparatus, fluid device, fluid device creation method, marker recognition apparatus, and fluid device design method
The marker recognition device and fluid device design method improve design flexibility and recognition capabilities by using model data acquisition and flow path estimation units, allowing for dynamic AR content generation and enhanced manufacturing of microfluidic devices.
Patent Information
- Application Number
- JP2023049793
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-09
AI Technical Summary
Existing marker recognition technologies, such as those described in Non-Patent Documents 1 and 2, are limited in their ability to recognize external forces that do not cause curvature and require fixed orientation of fluid devices, restricting the design flexibility and recognition capabilities of microfluidic devices.
A marker recognition device and fluid device design method that includes a model data acquisition unit, a photographed image acquisition unit, and flow path estimation units to recognize fluid device position, orientation, and flow information, allowing for dynamic AR content generation and improved design freedom through 3D printing and virtual image projection.
Enhances the degree of freedom in fluid device design and recognition, enabling dynamic AR content based on fluid device shape changes and external forces, with improved accuracy and flexibility in designing and manufacturing microfluidic devices.
Smart Images

Figure 2024139023000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a marker recognition apparatus, a fluid device design apparatus, an augmented reality output apparatus, a fluid device, a fluid device production method, a marker recognition apparatus, and a fluid device design method. [Background technology]
[0002] Augmented Reality (AR) is a technology that overlays digital content and data, such as images created with CG (Computer Graphics), onto real-world scenery, and is used in a variety of industries. In AR (Augmented Reality) technology, CG is sometimes superimposed on images captured by a camera of real space. In this case, the captured image is analyzed using image processing technology, and various pieces of information about the real space (such as the camera's position and orientation, and light source information within the space) are estimated. By providing content based on this information, it is possible to superimpose CG that is more suited to the real space. Image processing technology includes technology that identifies actual scenery and buildings contained in captured images, pre-entered 3D models, template images, marker images, etc., and estimates their position and orientation. This allows content that matches the shape and position of the recognized target object to be superimposed and displayed. This makes it possible, for example, to dynamically display AR in response to changes in the state of the object.
[0003] Meanwhile, microfluidic devices have come into use in recent years. Microfluidic devices form minute flow paths in resin or glass substrates, and can mix and split particles in a fluid on a microscale. Such microfluidic devices are expected to be applied in a wide range of fields, including drug discovery, healthcare, and genetic analysis. In addition, such fluid devices are being studied in areas other than microchannels. For example, fluid devices are also being studied in the field of interface research technology. One example is a device in which a liquid storage section that stores liquid and an air storage section that stores air are connected by a flow channel, and the liquid is expanded in the flow channel by applying a force such as pressure to the liquid storage section, and the liquid is contained in the liquid storage section when the applied pressure is reduced. Research is being conducted on the use of such devices as information presentation interfaces. Here, by using the above-mentioned AR technology to recognize changes in the shape and internal state (such as pressure) of an object that occur when an external force is applied to a fluid device, it is possible to provide dynamic AR content that responds to changes in the target object and user interactions.
[0004] Non-Patent Document 1 proposes a marker that responds to changes in shape as a technology that enables dynamic AR display in response to changes in the state of an object, and discloses that it distorts and superimposes CG according to the curvature of the target object, providing an image that appears to be naturally attached to the target object. In addition, non-patent document 2 discloses that a fluid device is used as the recognition target object, and by performing image analysis of the change in the amount of ink spread into the flow channel when pressure is applied, the pressure change is recognized and an interaction according to the user's force is provided. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Deformable random dot marker[ISMAR 2011] [Non-Patent Document 2] Skinflow [RoboSoft 2019] Summary of the Invention [Problem to be solved by the invention]
[0006] However, Non-Patent Document 1 assumes that the planar structure is curved, and is unable to recognize external forces that do not cause bending, which limits the types of inputs (external forces) that can be recognized. In addition, in Non-Patent Document 2, the ink spreading state cannot be recognized unless the position and orientation of a fluid device in which ink spreads on a flat surface is fixed with respect to the imaging direction. Therefore, recognition is not possible when the position and orientation of the fluid device itself changes. In addition, the flow path structure needs to be shaped to be easy to analyze images, which limits the design (device shape, marker part to be recognized).
[0007] The present invention has been made in consideration of the above circumstances, and its object is to provide a marker recognition device, a fluid device design device, an augmented reality output device, a fluid device, a fluid device creation method, a marker recognition device, and a fluid device design method that can improve the freedom of design of fluid devices. [Means for solving the problem]
[0008] In order to solve the above-mentioned problems, one aspect of the present invention is a marker recognition device that includes an input unit that supplies a liquid to the outside by applying an external force to a storage unit in which the liquid is stored, and a marker unit in which a flow path is connected to the storage unit, the applied external force causes the liquid to flow along the shape of the flow path, and the flowed liquid is visible from the outside, a model data acquisition unit that acquires model data representing a model of a fluidic device having such a marker unit, a captured image acquisition unit that acquires a fluidic device image generated by photographing a fluidic device created according to the model data, a fluidic device position and orientation information estimation unit that estimates fluidic device position and orientation information representing the position and orientation at which the fluidic device was photographed from the fluidic device captured image, a flow path area estimation unit that estimates a flow path area in which the marker unit is imaged in the fluidic device captured image from the fluidic device captured image, the fluidic device position and orientation information, and the model data, and a flow information estimation unit that estimates flow information of the liquid in the fluidic device from the fluidic device captured image and the flow path area.
[0009] Moreover, one aspect of the present invention is a fluid device design apparatus that generates model data representing a model of a fluid device having an input unit that applies an external force to a storage unit in which a liquid is contained, thereby supplying the liquid to the outside, and a marker unit in which a flow path is connected to the storage unit, the applied external force causes the liquid to flow along the shape of the flow path, and the flowed liquid is visible from the outside, the fluid device design apparatus having: a virtual image generation unit that generates a plurality of virtual images of a fluid device in which the model data is projected onto a two-dimensional plane, the virtual images having internal parameters corresponding to internal parameters that represent the characteristics of a camera that captures the fluid device image, the virtual images being a virtual image when the model data is viewed from a virtual camera that captures the model data, and corresponding to external parameters that represent the position and attitude of the virtual camera; a shielding information estimation unit that estimates, when the appearance of the flow path is shielded in the virtual images, either the external parameters corresponding to the virtual image or a shielding part in the flow path shape as shielding information; and a warning output unit that outputs a shielding occurrence warning in accordance with the shielding information.
[0010] Another aspect of the present invention is a fluidic device having an input section that supplies a liquid to the outside by applying an external force to a storage section in which the liquid is stored, a marker section to which a flow path is connected, the applied external force causing the liquid to flow along the shape of the flow path, the flowing liquid being visible from the outside, and a flow path control section that expands or contracts the area in the flow path in which the liquid can expand in response to a user's operational input.
[0011] Another aspect of the present invention is a fluidic device creation method for creating the fluidic device from the model data used in the above-mentioned marker recognition device by a 3D printer.
[0012] Moreover, one aspect of the present invention is a marker recognition method in which an input unit applies an external force to a storage unit in which a liquid is stored, thereby supplying the liquid to the outside, a marker unit connects a flow path to the storage unit and causes the liquid to flow along the shape of the flow path so that the applied external force is visible, a model data acquisition unit acquires model data representing a model of a fluid device, a photographed image acquisition unit acquires a fluid device photographed image generated by photographing a fluid device created according to the model data, a fluid device position and orientation information estimation unit estimates fluid device position and orientation information representing the position and orientation at which the fluid device was photographed from the fluid device photographed image, a flow path area estimation unit estimates a flow path area in which the marker unit is imaged in the fluid device photographed image from the fluid device photographed image, the fluid device position and orientation information, and the model data, and a flow information estimation unit estimates flow information of the liquid in the fluid device from the fluid device photographed image and the flow path area.
[0013] Moreover, one aspect of the present invention is a fluid device design method that is executed by a fluid device design apparatus to generate model data representing a model of a fluid device having an input section that supplies a liquid to the outside by applying an external force to a storage section in which the liquid is contained, and a marker section in which a flow path is connected to the storage section, the liquid can flow along the shape of the flow path by the applied external force, and the flowed liquid is visible from the outside, in which the fluid device design method is executed by a fluid device design apparatus to generate model data representing a model of the fluid device having a virtual image generation section that generates a virtual image of the fluid device by projecting the model data onto a two-dimensional plane according to external parameters that represent the position and attitude of the virtual camera, the virtual image being a virtual image when the model data is viewed from a virtual camera that captures the model data and has internal parameters corresponding to internal parameters that represent the characteristics of a camera that captures the fluid device image, and the virtual image generation section generates a plurality of virtual images of the fluid device in which the model data is projected onto a two-dimensional plane according to external parameters that represent the position and attitude of the virtual camera, and an occlusion information estimation section estimates, when the appearance of the flow path is occluded in the virtual image, either the external parameters corresponding to the virtual image or an occluding part in the flow path shape as occlusion information, and a warning output section outputs an occlusion occurrence warning in accordance with the occlusion information. Effect of the Invention
[0014] As described above, according to the present invention, it is possible to improve the degree of freedom in designing a fluidic device. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a diagram illustrating the flow from design to use of a fluidic device. [Diagram 2] 2 is a schematic diagram illustrating the configuration of a fluidic device 3. FIG. [Diagram 3] 13 is a diagram illustrating a case where the marker portion 32 of the fluid device 3 is deformed. FIG. [Figure 4] 13 is a diagram showing an example of a fluidic device 3 produced in a different shape. FIG. [Diagram 5] 13 is a diagram showing a configuration in which the layout of the fluidic device 3 is changed. FIG. [Figure 6] 13 is a diagram illustrating an outline of a process for recognizing the fluidic device 3 as an AR marker. [Figure 7] FIG. 2 is a schematic block diagram showing the configuration of a marker recognition device 4. [Figure 8] 1 is a flowchart illustrating the operations of the fluid device design apparatus 1, the 3D printer 2, and the marker recognition apparatus 4. [Figure 9] 13 is a conceptual diagram illustrating a flow of recognizing a marker portion 32. FIG. [Figure 10] 2 is a diagram showing an example of model data MD generated by the fluid device design apparatus 1. FIG. [Figure 11] FIG. 13 is a diagram showing the appearance of a fluid device 3C created by a 3D printer 2 based on model data MD. [Figure 12] 13 is a diagram showing an example of a screen displayed on a display unit 412 of the marker recognition device 4. FIG. [Figure 13] 11A and 11B are diagrams illustrating a process of estimating a flow path region. [Figure 14] FIG. 11 is a diagram illustrating an example of content output. [Figure 15] FIG. 11 is a diagram illustrating an example of content output. [Figure 16] FIG. 11 is a diagram illustrating an example of content output. [Figure 17] FIG. 13 is a perspective view showing the appearance of a fluidic device 3D which is another embodiment of the fluidic device. [Figure 18] 1 is a schematic functional block diagram illustrating functions of a fluid device design apparatus 1. FIG. [Figure 19] 13A and 13B are diagrams illustrating an example of a case where occlusion information is displayed when occlusion occurs depending on the position and orientation of the camera. [Figure 20] FIG. 13 is a perspective view showing an example of another fluid device 3E. [Figure 21] 13 is a diagram showing an example of a screen displayed on a display unit 412 of the marker recognition device 4. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] A fluidic device, a fluidic device designing apparatus, and a marker recognition apparatus according to an embodiment of the present invention will now be described with reference to the drawings. Overall Overview FIG. 1 is a diagram explaining the process from design to use of a fluidic device. The fluidic device design apparatus 1 generates model data (design data) representing a model of the fluidic device 3 in response to an operational input from a designer. The model data is three-dimensional data representing the structure and shape of the fluidic device, and is data designed, for example, by simulating the relationship between the force acting on the fluidic device and the flow pattern, which is the pattern in which the liquid contained inside flows.
[0017] The 3D printer 2 creates a fluid device 3 based on the design data generated by the fluid device design apparatus 1. The fluidic device 3 is at least partially made of elasticity, and is deformed by the application of an external force, and returns to its original shape by reducing the applied external force. In addition, the application of an external force causes the liquid to spread from the reservoir in which the liquid is stored to the flow path, and the reduction of the external force causes the liquid to be contained in the reservoir. This flow path can be designed to have any shape. Furthermore, the portion of the fluidic device 3 where the flow paths are formed is made of a transparent or translucent material. The liquid is visible from the outside. The liquid may be colored in any color, for example, with liquid ink. Therefore, the user can visually check from the outside how the liquid is physically deployed in the flow paths.
[0018] The marker recognition device 4 has installed therein an application program that recognizes a change pattern that indicates the development state of a liquid when a force is applied to a fluidic device, and has a function of executing this application program. This application program includes model data that indicates a device structure designed in the fluidic device design device 1, and data that indicates the results of a simulation performed in the fluidic device design device 1. This data is obtained from the fluidic device design device 1 and registered in the marker recognition device 4, and is read out by the application program. The simulation result includes behavior data that indicates the relationship between the applied force and a change pattern that indicates the state in which the liquid is developed in the fluidic device 3. Therefore, the marker recognition device 4 executes an application program to photograph the fluidic device 3, and detects a change pattern of the liquid in the fluidic device 3 from the photographed image using the image data and the behavior data, and can estimate the applied force from the detected change pattern using the behavior data. By using the behavior data, the external force can be output as a numerical value having a unit.
[0019] In this embodiment, the fluidic device 3 is photographed by the marker recognition device 4, and the fluidic device 3 can be used as an AR marker. For example, a digital application can be provided by photographing the fluidic device 3 with a camera, recognizing the flow path in the fluidic device 3 as an AR marker, and recognizing the flow (degree of development) of the liquid (ink) in the flow path through image recognition.
[0020] Fluid Devices Next, the fluid device will be described. FIG. 2 is a schematic diagram illustrating the configuration of the fluidic device 3. As shown in FIG. The fluidic device 3 has an input unit 31 , a marker unit 32 , and an air amount control unit 33 . The fluidic device 3 is configured in a planar shape, and one of its main surfaces has a substantially rectangular shape. The input unit 31 has a storage portion in which liquid is stored, and when an external force is applied (input) to this storage portion, the liquid stored in the storage portion is supplied to the outside. The storage section is made of an elastic material, and can be deformed so as to be crushed when pressure is applied from the outside, and returns to its original shape (recovers from its crushed state to its state before being crushed) when the applied pressure is reduced. As a result, the storage section draws back and stores the liquid that was being supplied to the outside in response to the reduction in the applied pressure. The liquid may be colored or of an opaque material. The liquid may be colored as opposed to opaque. The liquid may be viscous.
[0021] The marker unit 32 has a flow path connected to the storage unit. In the marker unit 32, liquid supplied from the storage unit by an external force applied to the input unit 31 can flow along the shape of the flow path. In addition, the marker unit 32 is made of a transparent or semi-transparent material, and the liquid flowing along the flow path can be visually recognized from the outside. The marker unit 32 can use a transparent resin as a base material.
[0022] In addition, in the marker section 32, when no liquid is supplied (contained) inside the flow path, air is contained and the flow path is sealed so that gas does not enter from the outside. When liquid is supplied from the storage section to the flow path, the liquid spreads along the flow path, and as the liquid spreads, the air in the part of the flow path where the liquid has not spread is compressed. When the external force on the input section is reduced, the liquid is pushed back to the storage section side by the pressure of the compressed air in the flow path, while the shape of the storage section is restored to the state before the external force was applied, so that the liquid that was spread in the flow path is pulled back to the storage section. In this way, it is possible to repeatedly spread and contain the liquid in the flow path depending on the application state of the external force. The marker portion 32 is made of an elastic material, can be deformed by application of an external force, and can return (recover) to its original shape by reducing the applied external force. The marker portion 32 may be made of a non-elastic material.
[0023] The air amount control unit 33 expands or reduces the area in the flow channel in which the liquid can spread, in response to an operational input by a user. This will be described in detail later. The air amount control unit 33 may or may not be provided in the fluidic device 3. The air amount control unit 33 changes the size of an area in which air is accommodated in the flow path and through which liquid can flow in the flow path.
[0024] In such a configuration, when an external force is applied to the input section 31 of the fluidic device 3, the liquid spreads from the reservoir of the input section 31 in the longitudinal direction of the marker section 32 (the longitudinal direction of the fluidic device 3).
[0025] FIG. 3 is a diagram illustrating a case where the marker portion 32 of the fluid device 3 is deformed. The marker part 32 is made of an elastic material as described above, and is therefore capable of elastic deformation. For example, when the longitudinal direction is the X-axis direction, the short side direction is the Y-axis direction, and the depth direction is the Z-axis direction, the marker part 32 can be deformed so as to expand and contract in the X-axis direction. The marker part 32 can also be deformed so as to expand and contract in the Y-axis direction. The marker part 32 can also be deformed so as to expand and contract in the Z-axis direction. For example, when an external force that crushes the marker part 32 is applied in the Z-axis direction, the marker part 32 can be deformed so as to be crushed in the Z-axis direction and can also be deformed so as to expand in the X-axis and Y-axis directions. The marker part 32 can also be deformed so as to be twisted by the application of a twisting external force. Even when such an external force is applied to the marker part 32, the marker part 32 recovers to its original shape when the applied external force is reduced. The marker portion 32 may be stretchable only in the longitudinal direction or only in the lateral direction. The marker portion 32 may be capable of deformation such as twisting.
[0026] FIG. 4 shows an example of a fluidic device 3 that is fabricated to have another shape. 3 in that it has an input section 31, a marker section 32, and an air volume control section 33, but is formed in a different shape. The fluidic device 3A is formed to be cylindrical. The input section 31, the marker section 32, and the air volume control section 33 are arranged to be aligned in a direction along the central axis in the longitudinal direction of the cylinder. Even when the marker portion 32 of the fluidic device 3A is curved into a cylindrical shape, the liquid is developed by applying an external force to the input portion 31. Moreover, by observing the outer circumferential surface of the marker portion 32, the development state of the liquid can be visually confirmed. The fluidic device 3A may be formed as a three-dimensional channel structure depending on the shape of the device.
[0027] FIG. 5 is a diagram showing a configuration in which the layout of the fluidic device 3 is changed. The fluidic device 3B includes one input section 31, and marker sections 32a and 32b. The air amount control section 33 is not provided in the fluidic device 3B. The input section 31 is disposed at the center in the longitudinal direction of the fluid device 3. The marker section 32a is connected to one end of the input section 31, and the marker section 32b is connected to the other end of the input section 31. The flow path of the marker section 32a is connected to the storage section of the input section 31, and the flow path of the marker section 32b is connected to the storage section of the input section 31. With this, when an external force is applied to the input section 31, the liquid develops in the flow path of the marker section 32a and in the flow path of the marker section 32b, starting from the storage section of the input section 31. Here, the direction in which the liquid develops is different between the marker section 32a and the marker section 32b. In addition, in the fluid device 3B, the case has been described in which liquid is deployed from a single storage section to each of the marker sections 32a and 32b, but it is also possible to connect different independent storage sections to each of the marker sections 32a and 32b. As shown in the above-mentioned FIGS. 3, 4 and 5, fluidic devices can be designed into any shape and layout, offering a high degree of design freedom.
[0028] FIG. 6 is a diagram for explaining an outline of a process for recognizing the fluidic device 3 as an AR marker. The model data MD is model data generated by the fluid device design apparatus 1. The fluid device 3C is a fluid device created by the 3D printer 2 based on the model data MD so that an injection port is formed, and after being created by the 3D printer 2, a liquid is injected from the injection port into a storage portion and the injection port is sealed to create the fluid device. The fluid device 3C is placed, for example, on a desk in real space, and is photographed by the camera of the marker recognition device 4. The image Ga is an image of the fluid device 3C photographed by the marker recognition device 4. In the image Ga, the external marker 35 is disposed adjacent to the marker unit 32. The relative positions of the external marker 35 and the marker unit 32 are determined in advance. Here, the external marker 35 can be used as a marker for recognizing the position of the marker unit 32, but the position and orientation of the marker unit 32 can also be recognized by object tracking the model data MD.
[0029] Here, the external marker 35 is attached adjacent to the fluidic device 3C, and the marker recognition device 4 captures an image including the external marker 35 and the fluidic device 3C, and by recognizing the external marker 35 from the captured image, the position and orientation of the marker section 32 in the three-dimensional space of the fluidic device 3C in the three-dimensional space of the marker recognition device 4 is identified based on the position and orientation of the external marker 35 (the XYZ coordinates and rotation of the external marker 35 in the camera coordinate system (a coordinate system centered on the camera position and rotation)). Based on the identified position and orientation of the marker section 32, it is possible to recognize a change pattern according to the state in which the liquid in the marker section 32 is developing.
[0030] Here, the model data MD is not only used as three-dimensional data representing the shape of the fluidic device 3C, but can also be used to generate two-dimensional image data representing the shape of the fluidic device 3C when the model data MD is viewed from various viewpoints. For example, the model data MD can be used to generate two-dimensional data when viewed from a certain viewpoint by projecting it according to the position and orientation of the viewpoint at which the model data MD is observed (according to the position and orientation of the camera). This two-dimensional data may be generated by the fluidic device design apparatus 1. Here, an example is shown in which model images MDa, MDb, and MDc, which are projected images of the fluidic device 3C, are generated from three different viewpoint positions. The marker recognition device 4 executes an application program to generate a projection image MDc using the estimated position and orientation information of the external marker 35, and extracts a flow path region image RR representing the flow path region by transforming and cutting the image Ga and the projection image MDc using a similar affine transformation (reference mapping, described later).Then, the development state of the liquid in the flow path in the flow path in the flow path region image RR can be estimated.
[0031] Next, the marker recognition device 4 will be described. FIG. 7 is a schematic block diagram showing the configuration of the marker recognition device 4. As shown in FIG. The marker recognition device 4 includes a communication unit 401, a storage unit 402, a camera 403, a captured image acquisition unit 404, a model data acquisition unit 405, a fluid device position and orientation information estimation unit 406, a flow path area estimation unit 407, a flow information estimation unit 408, a flow simulation unit 409, an external force estimation unit 410, an input unit 411, a display unit 412, a speaker 413, and a control unit 414. The marker recognition device 4 may be a dedicated device, or may be a terminal device such as a smartphone or a tablet.
[0032] The communication unit 401 communicates with external devices and transmits and receives various data. For example, the communication unit 401 downloads an application program for recognizing the fluidic device 3 from an external server and stores it in the storage unit 402. The communication unit 401 also receives behavior data from the fluidic device design apparatus 1 or the external server and stores it in the storage unit 402. The storage unit 402 stores various data, such as application programs, behavior data, and model data.
[0033] The camera 403 captures an image of the fluidic device 3 and generates a captured image. The captured image acquisition unit 404 acquires, from the camera 403, a captured image of the fluidic device that is generated by the camera 403 capturing an image of the fluidic device 3 created based on the model data.
[0034] The model data acquisition unit 405 acquires the model data from the storage unit 402. The model data acquisition unit 405 may acquire the model data from the fluid device design apparatus 1.
[0035] The fluid device position and orientation information estimation unit 406 estimates fluid device position and orientation information representing the position and orientation at which the fluid device was photographed from the captured image of the fluid device. For example, the fluid device position and orientation information estimation unit 406 estimates the position and rotation of the fluid device 3 in the camera coordinate system.
[0036] The flow channel area estimation unit 407 estimates the flow channel area in which the marker portion is captured on the captured image of the fluid device from the captured image of the fluid device, the fluid device position and orientation information, and the model data. For example, the flow channel area estimation unit 407 estimates where the shape corresponding to the model data is located on the captured image, and extracts an area corresponding to the flow channel from the image corresponding to the estimated model data. This makes it possible to extract the flow channel area, which is the area corresponding to the flow channel, from the captured image based on the model data.
[0037] The flow information estimation unit 408 estimates flow information indicating the development status of the liquid in the flow channel in the fluid device from the captured image of the fluid device and the flow channel area. The development status may be the ratio of the area where the liquid is developed to the entire area from the start point to the end point of the flow channel (from the end connected to the reservoir in the flow channel to the opposite end), or the number of pixels where the liquid is developed.
[0038] The flow simulation unit 409 simulates the relationship between the external force applied to the fluid device and the flow of the liquid based on the model data, and obtains the flow simulation result. The flow simulation unit 409, for example, simulates the relationship between the pressure applied to the input section 31 of the fluid device 3 and the development state of the fluid in the flow path in response to this applied pressure, and generates behavior data based on the results of the simulation. The following describes the case where the behavior data is generated by simulation using the flow simulation unit 409; however, instead of simulation, the behavior data may also be generated by measuring the magnitude of the force applied to the actual fluidic device 3, measuring the development state of the liquid in the flow path when the force is applied, and storing the relationship between these measurement results. Here, the case where the flow simulation unit 409 is mounted on the marker recognition apparatus 4 has been described, but the flow simulation unit 409 may be mounted on the fluid device design apparatus 1.
[0039] The external force estimation unit 410 estimates the external force from the flow simulation results and flow information. For example, the external force estimation unit 410 can read out the external force corresponding to the flow information by referring to behavior data based on the flow simulation result, and can thereby estimate the external force.
[0040] The input unit 411 receives an operational input from a user. The input unit 411 may be, for example, a touch panel. The display unit 412 displays various data. The display unit 412 is, for example, a liquid crystal display panel. The speaker 413 outputs sound. The control unit 414 controls each unit of the marker recognition device 4. The control unit 414 also functions as an augmented reality output control unit that outputs augmented reality information in which at least one of an image and a sound changes based on the flow information estimated by the flow information estimation unit 408. The control unit 414 also functions as an augmented reality output control unit that outputs augmented reality information in which at least one of an image and a sound changes based on the external force estimated by the external force estimation unit 410.
[0041] In the above-mentioned marker recognition device 4, the memory unit 402 is composed of a storage medium, such as a HDD (Hard Disk Drive), flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), RAM (Random Access read / write Memory), ROM (Read Only Memory), or any combination of these storage media. The storage unit 402 may be, for example, a non-volatile memory.
[0042] The communication unit 401, the captured image acquisition unit 404, the model data acquisition unit 405, the fluid device position and orientation information estimation unit 406, the flow path area estimation unit 407, the flow information estimation unit 408, the flow simulation unit 409, the external force estimation unit 410, and the control unit 414 may be composed of a processing device such as a CPU (central processing unit) or a dedicated electronic circuit.
[0043] The marker recognition device 4 also has other functions, which will be described in detail later.
[0044] Next, the operation of the marker recognition device 4 will be described. Fig. 8 is a flowchart explaining the operations of the fluid device design apparatus 1, the 3D printer 2, and the marker recognition apparatus 4. Fig. 9 is a conceptual diagram explaining the flow of recognizing the marker portion 32. The fluid device design apparatus 1 executes a fluid device creation program, which is a fluid device creation tool, and generates a three-dimensional model of the fluid device based on various data input by the designer (step S10 in FIG. 8, reference numeral 901 in FIG. 9). The fluid device design apparatus 1 stores the generated three-dimensional model as model data MD in an internal storage device. When the model data MD is generated, the fluid device design apparatus 1 uses the model data MD to simulate the relationship between the external force applied to the fluid device and the flow of liquid, and generates a flow simulation result (Step S11 in FIG. 8). The fluid device design apparatus 1 stores the generated simulation result SD in an internal storage device. In such a simulation, various patterns of external forces applied to the fluidic device 3 are simulated to obtain a plurality of different simulation results. This causes the data to be stored in the storage device as behavior data.
[0045] Next, when the model data MD generated by the fluid device design apparatus 1 is input, the 3D printer 2 performs a printing process in accordance with the model data MD to create a fluid device (step S15 in FIG. 8, reference numeral 902 in FIG. 9). Here, Fig. 10 is a diagram showing an example of model data MD generated by the fluid device design apparatus 1. Fig. 11 is a diagram showing the appearance of a fluid device 3C created by a 3D printer 2 based on the model data MD. After the fluid device 3C is created by the 3D printer 2, liquid is injected into the storage portion and the device is sealed. As a result, the storage portion and the flow path are sealed in a state in which the liquid contained in the storage portion can be developed into the flow path. In this fluidic device 3C, a marker portion 32c is connected to an input portion 31c.
[0046] Although input unit 31c is a single input unit 31c, three independent storage units are provided inside. The three storage units are arranged so as to be at different positions on a plane. The marker section 32c has three flow paths, each of which is independently connected to one of the storage sections of the input section 31d. That is, three configurations are provided, each of which has one flow path connected to one storage section. This causes the liquid to spread to different degrees in each of the three flow paths depending on the magnitude and direction of the force applied to the input section 31c.
[0047] When the fluidic device is created, the user places the fluidic device on a stand, starts up an application program of the marker recognition device 4 , and photographs the fluidic device 3 with the camera of the marker recognition device 4 .
[0048] In the marker recognition device 4, when an application program is started and an image of the fluidic device is captured by the camera 403 (step S21 in FIG. 8, reference numeral 903 in FIG. 9), the captured image acquisition unit 404 acquires the captured image (step S22 in FIG. 8). When the captured image is acquired, the fluidic device position and orientation information estimation unit 406 estimates the position and orientation information of the fluidic device 3C. There are, for example, two methods for estimating the position and orientation information. The position and orientation information of the fluidic device may be estimated by either of these two estimation methods.
[0049] (Estimation method 1: Estimating position using markers) The fluid device position and orientation information estimation unit 406 estimates the fluid device position and orientation information based on a design drawn around the fluid device. The design is, for example, an external marker 35. As described above, the external marker 35 is placed adjacent to the fluid device 3C, and by recognizing the external marker 35, the position and orientation of the fluid device 3C can be estimated based on the position and orientation of the external marker 35, and the fluid device position and orientation information can be estimated from the estimation result.
[0050] (Estimation method 2: Position estimation by object tracking using model data) The fluid device position and orientation information estimation unit 406 uses the model data MD to identify the position and orientation of the fluid device 3C from the captured image by object tracking, thereby estimating the fluid device position and orientation information. For example, in object tracking, model data of a shape similar to that of the tracked object is stored in advance, and the model data is searched for in the same position based on the feature amount of the image generated from the captured image, so that the position and orientation of the object can be estimated from the image and the object can be tracked. By performing object tracking, it is possible to determine whether or not the fluid device 3C is included in the captured image, and if it is included, the position and orientation of the fluid device 3C can be estimated.
[0051] If the fluid device position and orientation information estimation unit 406 is unable to estimate from the captured image that the object (fluid device 3C) exists (step S23-NO in FIG. 8), it acquires the next frame of the captured image and re-estimates whether the fluid device 3C is included in the captured image. On the other hand, if the fluid device position and orientation information estimation unit 406 is able to estimate from the captured image that the object (fluid device 3C) exists (step S23-YES in FIG. 8), it estimates the position and orientation of the fluid device 3C from the captured image of that frame (step S24 in FIG. 8, reference number 904 in FIG. 9).
[0052] 12 is a diagram showing an example of a screen displayed on the display unit 412 of the marker recognition device 4 when the position and orientation of the fluidic device 3C are estimated by the fluidic device position and orientation information estimation unit 406. When the position and orientation of the fluidic device 3C are estimated, the coordinate position and rotation of the fluidic device 3C in three-dimensional space can be estimated. Here, the X-axis, Y-axis, and Z-axis directions in three-dimensional space are estimated based on the estimated position and rotation of the fluidic device 3C, and figures (reference symbols Ar1, Ar2, and Ar3) showing arrows corresponding to the directions along these axes are displayed superimposed on the captured image by AR.
[0053] When the fluid device position and orientation information is estimated by the fluid device position and orientation information estimation unit 406, the flow path area estimation unit 407 estimates the flow path area in which the marker portion 32 is imaged in the captured image from the captured image including the fluid device 3C, the fluid device position and orientation information estimated by the fluid device position and orientation information estimation unit 406, and the model data MD (step S25 in Figure 8, number 905 in Figure 9).
[0054] FIG. 13 is a diagram for explaining the process of estimating the flow path region. The fluid device position and orientation information estimation unit 406 estimates the position and orientation of the fluid device 3C from the captured image (symbol Ga121), and compares it with the model data (symbol Ga122) (symbol Ga123) to estimate the position and orientation of where the corresponding shape is located in the image.Once the position and orientation corresponding to the model data have been estimated, the position and orientation of the captured image corresponding to the flow path included in the model data can be estimated, thereby estimating the flow path area R12, which is the area in the captured image where the flow path is captured. In this way, the fluid device position and orientation information estimation unit 406 can estimate the correspondence between the flow path represented by the model data and the flow path area on the captured image, thereby making it possible to extract the flow path area at the current camera position and orientation of the marker recognition device 4.
[0055] Once the flow path area is estimated, the flow information estimation unit 408 estimates flow information indicating the development status of the liquid in the fluid device relative to the flow path from the captured image of the fluid device and the image of the estimated flow path area (step S26 in Figure 8, number 907 in Figure 9). There are, for example, two types of methods for estimating the flow information. The position and orientation information of the fluid device may be estimated by either of these two estimation methods.
[0056] (Estimation method 1: Estimating flow information based on pixel count) The flow information estimation unit 408 calculates the number of pixels in a liquid color area corresponding to the color of the liquid included in the captured image corresponding to the estimated flow path area, and estimates the number of pixels as flow information. Here, the flow information estimation unit 408 can recognize the marker unit 32 by estimating the position and orientation of the marker unit 32 of the fluid device 3C, and can estimate in which range of the captured image the flow path region is located based on the marker unit 32. When the flow information estimation unit 408 estimates the flow path region from the captured image, it performs reference region mapping for the image region corresponding to the estimated flow path region. The reference region is an image with a predetermined number of pixels, for example, an image with a size of 256 pixels vertically and 256 pixels horizontally. The flow information estimation unit 408 maps the image corresponding to the flow path region after adjusting the orientation so that the position of the base point of the flow path coincides with the reference image. As a result, even if the fluid device 3C is moved or bent, it is possible to image the image in a normal orientation with a mapping image of a specified size (reference number 908 in FIG. 9).
[0057] The flow information estimation unit 408 can estimate the degree of development of the liquid by counting the number of pixels corresponding to the liquid in the mapping image, and can obtain the estimation result as flow information. For example, the flow information can indicate the development degree as a percentage, such as "20%." Furthermore, when there are multiple flow paths, the flow information is obtained for each flow path, such as "first flow path 0%, second flow path 20%, third flow path 0%."
[0058] (Estimation method 2: Estimating flow information based on the liquid front position) The flow path area estimation unit 407 obtains a past flow path area by estimating the flow path area from a captured image corresponding to a past frame in which the captured image was captured, and extracts a flow path area difference image which is the difference between images of the past flow path areas obtained from different frames among the past frames. For example, a camera captures images at a predetermined frame rate, and the captured images are obtained for each frame. By obtaining the difference between the images in these frames, any change in the position of the front of the liquid in response to a change in the external force can be obtained as the image difference. Then, the flow information estimating unit 408 estimates, as flow information, the liquid head position, which is the position of the head of the liquid developed in the flow channel, from the flow channel shape represented by the model data and the extracted flow channel region differential image.
[0059] Here, the position of the head of the liquid can be estimated by obtaining the difference between frames of images along the flow path. Therefore, the head position can be estimated as the development status of the liquid. Here, in some cases, even if some of the liquid remains in the flow path in the form of droplets when the liquid is pulled back along the flow path, the development status can be estimated after excluding the remaining part. Therefore, in method 1, if the remaining part is also estimated as a pixel corresponding to the liquid, the remaining part is also counted as a pixel, which may result in an error. Therefore, according to this estimation method 2, the influence of the error of the remaining part in the flow path can be reduced, and the development status can be estimated with greater accuracy.
[0060] Next, the control unit 414 judges whether or not to estimate the external force (step S27 in FIG. 8). If the external force is not to be estimated (step S27-NO in FIG. 8), content according to the flow information is generated (step S31 in FIG. 8), and a display image according to the generated content is generated and displayed on the display unit 412 (step S30 in FIG. 8). Here, if sound is to be output as the content, the control unit 414 generates sound content and outputs it from the speaker 413. Regarding whether or not to estimate an external force, it may be possible to determine whether the fluid device is a fluid device that is determined to output content or a fluid device that is determined to output an external force based on the shape of the flow path in the estimated flow path area or the type of model data MD.
[0061] On the other hand, when estimating the external force (step S27 in FIG. 8-YES), the external force estimation unit 410 refers to the behavior data based on the flow simulation result, and estimates the external force by reading out the external force corresponding to the flow information (step S28 in FIG. 8, reference numeral 908 in FIG. 9). The external force may be a force applied based on a pressing action against the input unit 31, or a force applied based on an action such as bending or twisting the entire fluid device 3D. Here, when estimating the external force, the external force estimating unit 410 can estimate it based on behavior data, but as another estimation method, it may estimate it based on flow information. For example, table data showing the relationship between the flow information and the external force may be stored in advance together with the application program, and the external force corresponding to the flow information may be estimated by estimating and reading out the table data using the flow information obtained in step S26. The estimated external force can be estimated by dividing it into components in the X-axis direction, the Y-axis direction, and the Z-axis direction, for example. (x,y,z)=(0,10,0)N It can also be expressed as:
[0062] When the external force is estimated, control unit 414 generates content according to the estimated external force (step S29 in FIG. 8), generates a display image according to the content, and displays it on display unit 412 (step S30 in FIG. 8). Here, when sound is to be output as the content, control unit 414 generates sound content and outputs it from speaker 413. Here, as a method of outputting the content, a figure (reference number 910) showing the magnitude and direction of the force applied to the fluid device 3D may be displayed so as to be superimposed on the captured image (reference number 911 in FIG. 9).
[0063] Here, a fluidic device 3C is provided with at least two storage sections, and a marker section configured to develop an independent flow path from each of the storage sections is provided. The flow information estimation unit 408 estimates the flow information corresponding to each flow path that develops independently from each storage unit. In this case, the flow information estimation unit 408 defines a three-dimensional vector based on the X-axis, Y-axis, and Z-axis corresponding to each flow path. Then, the flow information estimation unit 408 estimates the flow information, generates a three-dimensional vector corresponding to the estimated flow information for each flow path, the three-dimensional vector having a length according to the flow information, and synthesizes each of the generated three-dimensional vectors to estimate load information, which is a synthetic vector in which a slope and a length based on each three-dimensional vector are set.
[0064] The control unit 460 displays an arrow corresponding to this resultant vector as a graphic representing the magnitude and direction of the force applied to the fluid device 3D, superimposed on the captured image. As a result, when multiple separate storage sections are provided, as in fluid device 3C, the degree of development of the liquid flowing through the individual flow paths varies depending on the magnitude and direction of the force applied from a single input section, so that based on the degree of development of the liquid in each flow path, it is possible to visually grasp, based on the length and direction of the arrow image, how much load is being applied in which direction.
[0065] FIG. 14 is a diagram for explaining an example of content output. When a user presses the input unit of the fluidic device 3C with a finger, liquid is developed in the flow path of the marker unit 32. Content C13 is displayed according to the development status or the estimated external force. For example, the more the development of the liquid in the flow path progresses (the external force increases), the more the number of flowers that bloom is displayed, and the more the liquid is pulled back in the flow path (the external force decreases), the more the number of flowers that bloom is displayed. This makes it possible to output content according to the development status of the liquid in the flow path. Here, the content may be displayed on the display unit 412 so as to be superimposed on the captured image. In addition, by connecting a projector to the marker recognition device 4 so as to be communicatively connected, the content generated by the control unit 414 of the marker recognition device 4 may be projected from the projector so as to be superimposed on the fluidic device 3C. Note that the content does not necessarily have to be superimposed on the fluidic device 3C, and may be displayed at a predetermined position different from the fluidic device 3C.
[0066] FIG. 15 is a diagram for explaining an example of content output. Here, the fluid device is formed in a spherical shape, and when the user grips the outer circumferential surface of the sphere, liquid develops from the outer circumferential surface of the sphere toward the center of the sphere according to the pressure. Here, input units are provided at multiple locations on the outer circumferential surface, and channels are provided individually for each of these input units. This makes it possible to identify the amount of pressure and the position on the outer circumferential surface that the ball was gripped with. Then, by estimating the channel area and obtaining channel information, content based on this channel information is output. Here, based on the relationship between the gripping position and the strength of the gripping, it is estimated which type of baseball curveball the gripping position corresponds to, and the estimation result is displayed as content. For example, by displaying content such as "Straight: 80% Knuckle: 10% Slider: 10%", it is displayed that the user's gripping position is most likely to be a straight grip.
[0067] FIG. 16 is a diagram for explaining an example of content output. Here, when a user presses the input section of the fluid device 3C with a finger, liquid is deployed in the flow path of the marker section 32. Sound content is output from a speaker according to the deployment status or the estimated external force. Here, for example, the volume or speed of a song can be changed according to the deployment status of the liquid in the flow path. In this case, the fluid device can be placed, for example, on a particular page of a book, or the fluid device can be set up as a page of a book and configured to output sound in response to operation by the reader, thereby outputting sound corresponding to a picture in the book. Furthermore, the sound may be output from the speaker 413 of the marker recognition device 4, or may be output from a speaker connected to the marker recognition device 4 so as to be able to communicate wirelessly.
[0068] FIG. 17 is a perspective view showing the appearance of a fluidic device 3D which is another embodiment of the fluidic device. In the fluidic device 3D, a marker section 32d is connected to an input section 31d, and an air amount control section 33d is further connected to the marker section 32d. Although input unit 31d is a single input unit 31d, three independent storage units are provided inside. The three storage units are arranged so as to be at different positions on a plane. Marker unit 32d has three flow paths, each of which is independently connected to one storage unit in input unit 31d. That is, three sets of configurations are provided, each of which has one flow path connected to one storage unit.
[0069] An air amount control unit 33 that switches between a blocked and connected state of the flow path is provided somewhere between the start point and the end point of the flow path. The air amount control unit 33 includes a knob that is provided for each flow path. The knob is provided at a position somewhere between one end side of the flow path (the end connected to the storage part) and the other end side (the end side opposite to the end connected to the storage part) of the flow path. An air pool AP is provided for each flow path on the other end side. A user can switch between a first orientation (eg, landscape) or a second orientation (eg, portrait) by rotating each knob by about 90 degrees. When the knob is in the first orientation, the flow path is connected from the reservoir to the air pocket without being interrupted. On the other hand, when the knob is switched to the second orientation, the flow path is cut off (blocked) at the knob position. Therefore, when the knob is switched from the first orientation to the second orientation, the length of the flow path is shorter than when the knob is in the first orientation.
[0070] Here, when the knob is set in the first orientation, the volume within the flow path is larger than when it is in the second orientation, and the amount of sealed air is also greater, so that even if liquid is expanded from the storage section, the pressure within the flow path is less likely to increase, making it easier for the liquid ink to expand in response to external forces. When the knob is set to the second orientation, the volume within the flow path is smaller than in the first orientation, and the amount of enclosed air is also less, so that when liquid is expanded from the storage section, the pressure within the flow path is more likely to increase than in the first orientation, making it difficult for the liquid ink to expand in response to external forces. In this way, the degree of deployment according to the applied force can be changed depending on the switching state of the knob. In other words, even if the applied external force is the same, the degree of deployment of the liquid can be changed depending on whether the knob is in the first orientation or the second orientation. In this example, a knob is provided for each flow path, so that the degree of deployment can be set for each flow path.
[0071] In addition, although the case where one air pool is provided for the flow path has been described, a path with multiple different air pools may be formed with the knob as the base point, and the knob may be used to select which path's air pool to connect to. This allows the degree of expansion of one flow path to be selected from multiple types. Here, the case where the air reservoir AP is provided has been described, but the air reservoir AP may not be provided and may have the same width as the flow path. In this way, by providing the air amount control unit 33, the degree of liquid development can be controlled by a hardware configuration, not a software configuration.
[0072] In the above-described embodiment, the marker recognition device 4 can estimate the flow path area and estimate flow information even when an external force that bends the fluidic device is applied in addition to a force that presses the fluidic device. For example, when an external force is applied, there are a case where the storage portion is pressed and a case where both the storage portion and the flow path are bent. When the flow path is bent, the inner diameter of the flow path is also deformed to become smaller due to the bending of the flow path. Therefore, a simulation is also performed in advance for the deformation of the flow path, and behavior data is obtained and stored. The flow simulation unit 409 estimates the state of deformation of the fluid device caused by the operation by performing stress analysis using the model data. When performing stress analysis, for example, the finite element method can be used. In the finite element method, the model data is divided into mesh regions, and deformation caused by external forces is applied in detail, so that the deformation state can be analyzed.
[0073] Then, based on the data representing this estimated deformation state, the flow simulation unit 409 estimates through simulation the relationship between the external force applied to the input part when the fluidic device is in a deformed state and the flow of liquid through the flow path in the deformed state. This makes it possible to estimate the fluid development state even when an external force that causes deformation of the marker portion is applied. Furthermore, by using the estimation result, it is possible to estimate the external force even when an external force that causes deformation of the marker portion is applied.
[0074] In the above-described embodiment, if the marker unit is bent or deformed by an external force, the shape of the marker unit will change, and the accuracy of estimating the position and orientation may decrease. In this case, the position and orientation may be determined taking into account the state in which the shape has changed. In this case, the flow simulation unit 409 uses the model data to simulate a state in which the fluid device is deformed by application of an external force, and generates deformed model data representing the model data in the deformed state based on the simulation results, and stores the data in the storage unit 402. This makes it possible to store not only the shape of the fluid device in an undeformed state, but also the shape of the fluid device in a deformed state (deformed model data).
[0075] The control unit also stores past frames captured by the camera 403 in the storage unit 402. Here, the past frame may be a frame from a certain time ago. By storing past frames, even if the fluidic device has been deformed, the deformed state at the time of the deformation can be saved. The fluid device position and orientation information estimation unit 406 identifies the fluid device in a deformed state from the captured image of the past frame in which the captured image was captured, based on the deformed model data stored in the storage unit 402. Here, since there are multiple types of deformed model data, each is compared with the past frames, and if matching deformed model data or deformed model data with a certain degree of similarity or higher is obtained from the multiple deformed model data, it is determined that the fluid device captured in the past frame has been identified. The flow path area estimation unit 407 uses the deformed model data that has been able to identify the fluid device to estimate the flow path area of the deformed fluid device included in the captured image based on the area of the deformed model data that corresponds to the flow path.
[0076] As a result, the flow path region can be estimated with high accuracy not only when an external force such as pressing the input unit occurs, but also when the fluid device is deformed such that the fluid device is bent. For example, when the fluid device is bent, the model to be referenced is not only the unbent model but also the bent model as the degree of bending progresses from the time when the deformation starts. As a result, even when the fluid device is in a bent state, the position and orientation can be estimated with high accuracy, and the flow path region can be estimated with high accuracy based on the estimated position and orientation. As a result, it is possible to prevent the fluid device from being deformed and being unable to be recognized as a marker. In addition, if the current deformation state is known, the position and orientation can be estimated by referring to the deformation models before and after the deformation state, following the change in the degree of deformation. In addition, although past frames are referenced, tens of frames are taken per second, and by referring to past frames within a certain range, even when the fluid device is repeatedly deformed such that it is deformed and returned to its original shape, the position and orientation can be estimated by following the change in the deformation state.
[0077] In the above-described embodiment, the fluid device design apparatus 1 may have a function for supporting design. FIG. 18 is a schematic functional block diagram illustrating the functions of the fluid device design apparatus 1. As shown in FIG. The fluid device design apparatus 1 includes a virtual image generation unit 101 , an occlusion information estimation unit 102 , and a warning output unit 103 . The virtual image generation unit 101 has internal parameters corresponding to internal parameters representing the characteristics of the camera that captures the fluid device image, and generates multiple virtual images of the fluid device in which the model data is projected onto a two-dimensional plane according to external parameters representing the position and attitude of the virtual camera, which is a virtual image of the model data as viewed from a virtual camera that captures the model data.
[0078] The internal parameters are characteristics of the optical system of the camera 403 of the marker recognition device 4, and are data representing, for example, the lens aberration, the lens distortion characteristics, and the like. The external parameters represent the position and orientation of the virtual camera relative to the model data. The generation of the virtual image may be a rendering. Through this type of processing, the virtual image generation unit 101 can adapt the image of an actual fluid device captured by the camera 403 of the marker recognition device 4 to conditions that are closer to the characteristics of the optical system of the camera 403, thereby making it possible to obtain a virtual image based on the model data that looks similar to the image captured by the camera 403.
[0079] When the appearance of the flow path is obstructed in the virtual image generated by the virtual image generating unit 101, the obstruction information estimating unit 102 estimates either an external parameter corresponding to the virtual image or an obstructing part in the flow path shape as obstruction information. For example, when obstruction occurs due to the position and orientation of the camera, the obstruction information estimating unit 102 infers information for notifying that obstruction occurs at that position and orientation as obstruction information. In addition, when obstruction occurs because another part overlaps the flow path, the obstruction information estimating unit 102 estimates information for displaying the overlapping part in a display mode different from that of the other parts. 19 is a diagram showing an example of a case where occlusion information is displayed when occlusion occurs depending on the position and orientation of the camera. Such a display screen is displayed on, for example, a display device connected to the fluid device design apparatus 1. The designer can check the display screen of this display device.
[0080] Here, model data of the fluid device (reference number 200) is displayed, and occlusion information is displayed (reference numbers 211 to 215) regarding whether or not occlusion occurs for each of various camera positions and orientations. Here, among the multiple camera positions and orientations, for the camera positions and orientations (reference numbers 212, 213, and 214) in which the camera is viewed from the top side, no occlusion occurs for the flow path. Therefore, it can be understood that the flow path region can be estimated. On the other hand, for the positions and orientations (reference numbers 211 and 215) in which the camera is viewed from the side side, it is estimated that occlusion occurs for the flow path, and an image of the model data as viewed from the camera position and orientation is displayed together with a message such as "occlusion occurs." This allows the user to understand that the flow path region cannot be estimated at this camera position and orientation.
[0081] In a fluidic device, depending on the viewing direction or angle, such as horizontally, a part of the fluidic device may block the flow path, making it difficult or impossible to see the flow path. In addition, when the fluidic device is laid out in a complex shape, if there is a convex part, the flow path may be more difficult to see in an oblique direction. When such blocking occurs, it becomes impossible to estimate the flow path area based on the captured image. Here, the blocking information estimation unit 102 estimates whether blocking occurs when the fluidic device is viewed from a certain viewpoint based on a virtual image during the design stage of the fluidic device, and when blocking occurs, generates blocking information according to the state in which blocking occurs based on the estimation result. The warning output unit 103 outputs a message such as "obstruction has occurred" or an alarm sound as an obstruction occurrence warning in accordance with the obstruction information generated by the obstruction information estimation unit 102.
[0082] The fluid device may be photographed from an oblique direction by the marker recognition device 4, but if the photograph is taken while tilted at a certain angle or more, even if an attempt is made to use the photographed image to match the model data, the flow path region cannot be extracted because the photographing direction is tilted at a certain angle or more with respect to the flow path region, and as a result, the position and orientation of the fluid device cannot be estimated. In such a case, a warning is issued by the warning output unit 103, so the designer can know that occlusion has occurred and what orientation will cause occlusion. When a warning is issued, the designer can change the design so that the warning is not issued. Here, the warning is issued after taking into account the camera's internal parameters, so that the warning can be issued under conditions closer to the actual camera's imaging conditions. When a warning is issued, the designer can consider, for example, making the convex part that causes the occlusion smaller, changing the position of the convex part, or providing an additional layer on the lower side in the thickness direction of the fluidic device and relocating the occluded flow path to the additional lower layer, so as to prevent occlusion as much as possible. In addition, when creating an application, it is easier to consider how to limit the imaging angle.
[0083] FIG. 20 is a perspective view showing an example of another fluidic device 3E. The fluidic device 3E includes a first liquid storage portion 31Ea, a second liquid storage portion 31Eb, a first flow path 32Ea, and a second flow path 32Eb. FIG. 3 is a diagram showing an example of a display screen showing the result of an image taken by the marker recognition device 4 when a force is applied to the fluidic device 3E shown in FIG. When the pressure applied to the first liquid storage portion 31Ea is greater than the pressure applied to the second liquid storage portion 31Eb, the amount of liquid that develops in the first flow path 32Ea becomes greater than the amount that develops in the second flow path 32Eb. Furthermore, when the pressure applied to the second liquid storage portion 31Eb is greater than the pressure applied to the first liquid storage portion 31Ea, the amount of liquid that develops in the second flow path 32Eb becomes greater than the amount that develops in the first flow path 32Ea.
[0084] Here, the marker recognition device 4 executes an application program to capture an image of the fluidic device 3E with a camera of the marker recognition device 4 and recognize a change pattern of the ink developing in the flow path. Here, an AR (Augmented Reality) technology is used. Here, the placement position of the fluidic device 3E relative to the marker is determined in advance. Then, the marker recognition device 4 displays the recognition result by superimposing it on the captured image based on the recognition result. Here, as the recognition result, a recognition result image is displayed, which is represented by a shape and a posture according to the magnitude of the force applied to the first liquid storage portion 31Ea and the second liquid storage portion 31Eb. Also, the marker recognition device 4 determines the position at which to display the recognition result image based on the position and orientation of the identified flow path, determines the shape, length, and degree of inclination according to the change pattern, and displays the recognition result image on the screen by superimposing it on the camera image based on the determined contents. 21 is a diagram showing an example of a screen displayed on the display unit 412 of the marker recognition device 4. Here, a rod-shaped image 210, which is a recognition result image showing the recognition result, is displayed superimposed on the captured image. When the user changes the magnitude or direction of the force applied to the input unit, a rod-shaped image 210 with a length and direction (tilt) according to this change is displayed.
[0085] According to the above-described embodiment, it is possible to provide a device with flow channel markers and a marker recognition system that are highly aesthetically designed and capable of recognizing changes in position and attitude relative to the camera, as well as changes in shape and internal state due to external forces.
[0086] Furthermore, in the embodiment described above, the fluidic device is created by a 3D printer from the same model data as the model data used in the marker recognition device 4. This allows the fluidic device to be manufactured from the same model data as the model data used in the marker recognition device 4. Therefore, even when estimating the position and orientation of the fluidic device and estimating the flow path area using model data from the imaging result of imaging the fluidic device 3, it is possible to make accurate estimations.
[0087] According to the above-described embodiment, a prototyping environment that facilitates trial and error due to simplified processes can be constructed. In addition, the degree of freedom in designing the flow channels can be improved. In addition, the degree of freedom in forming the fluidic device can be improved. This makes it possible to improve the functionality of the fluidic device and to widen the range of application of the fluidic device.
[0088] The fluid device design apparatus 1 and the marker recognition apparatus 4 in the above-described embodiment may be realized by a computer. In that case, a program for realizing this function may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to realize the function. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. The term "computer-readable recording medium" refers to a portable medium such as a flexible disk, an optical magnetic disk, a ROM, a CD-ROM, and a storage device such as a hard disk built into a computer system. The term "computer-readable recording medium" may also include a medium that dynamically holds a program for a short period of time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line, and a medium that holds a program for a certain period of time, such as a volatile memory inside a computer system that is a server or client in that case. The above-described program may be a program for realizing a part of the above-described function, or may be a program that can realize the above-described function in combination with a program already recorded in the computer system, or may be a program that is realized using a programmable logic device such as an FPGA (Field Programmable Gate Array).
[0089] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Explanation of symbols]
[0090] 1. Fluid device design equipment 2. 3D printer 3,3A,3B,3C,3E…Fluid device 4. Marker recognition device 31, 31c, 31d...Input section 31Ea…First liquid storage section 31Eb…Second liquid storage section 32, 32c, 32d…Marker section 32Ea…First flow path 32Eb…Second flow path 33, 33d…Air volume control section 101...Virtual image generation unit 102...Occupation information estimation unit 103...Warning output section 401…Communications Department 402...Storage section 403...Camera 404…Image acquisition unit 405…Model data acquisition section 406... Fluid device position and orientation information estimation unit 407...Flow path area estimation section 408…Flow information estimation section 409…Flow Simulation Section 410...External force estimation section 411...Input section 412...Display section 413…Speaker 414...Control unit AP…Air pocket MD...Model data
Claims
1. an input unit that supplies the liquid to the outside by applying an external force to a reservoir that contains the liquid; a marker section in which a flow path is connected to the reservoir section, the liquid can flow along the shape of the flow path by the applied external force, and the flowing liquid can be visually recognized from the outside; a model data acquisition unit for acquiring model data representing a model of a fluidic device having the a photographed image acquisition unit that acquires a photographed image of a fluidic device generated by photographing a fluidic device created in accordance with the model data; a fluid device position and orientation information estimation unit that estimates, from the fluid device photographed image, fluid device position and orientation information that indicates a position and orientation at which the fluid device was photographed; a flow path area estimation unit that estimates a flow path area in which the marker portion is imaged in the fluid device photographed image based on the fluid device photographed image, the fluid device position and orientation information, and the model data; a flow information estimation unit that estimates flow information of a liquid in the fluid device from the captured image of the fluid device and the flow path region; A marker recognition device comprising:
2. Air is accommodated in the flow path, and an air amount control unit changes the size of an area in the flow path through which the liquid can flow. The marker recognition device according to claim 1 ,
3. a flow simulation unit that simulates a relationship between the external force applied to the fluidic device and a flow of liquid based on the model data, and obtains a flow simulation result; an external force estimation unit that estimates the external force from a flow simulation result and the flow information; The marker recognition device of claim 1 .
4. the external force is a force generated in response to an operation of pressing or bending the fluidic device, The flow simulation unit includes: estimating a state of deformation of the fluidic device caused by the operation by performing a stress analysis using the model data; A relationship between the external force acting on the fluid device and the flow of the liquid when the fluid device is in a deformed state is simulated based on the estimated result. The marker recognition device according to claim 3.
5. The flow simulation results include: The fluid device includes deformation model data that represents a state in which the fluid device is deformed by application of the external force, using the model data; Identifying a fluid device in a deformed state from a captured image corresponding to a past frame in which the fluid device captured image was captured based on the deformed model data; The flow path region estimation unit is A flow path area is estimated using the deformation model data that can identify the fluid device. The marker recognition device according to claim 3.
6. The flow information estimation unit, A number of pixels in a liquid color region corresponding to a color corresponding to the liquid, which is included in an image corresponding to the estimated flow channel region among the captured images of the fluid device, is calculated, and the number of pixels is estimated as flow information. The marker recognition device according to claim 1 .
7. The flow path region estimation unit is A past flow path area is acquired by estimating a flow path area from a photographed image corresponding to a past frame in which the fluid device photographed image was captured; extracting a flow path region difference image, which is a difference between images of the past flow path region obtained from different frames among the past frames; The flow information estimation unit, A liquid head position, which is a position of the head of the liquid developed in the flow channel, is estimated as flow information from the flow channel shape represented by the model data and the extracted flow channel region difference image. The marker recognition device according to claim 3.
8. The fluid device position and orientation information estimation unit The position and orientation information of the fluid device is estimated based on a pattern drawn around the fluid device. The marker recognition device according to claim 1 .
9. The fluid device position and orientation information estimation unit The fluid device position and orientation information is estimated by object tracking using the model data as an input. The marker recognition device according to claim 1 .
10. The input of the fluidic device is provided with at least two reservoirs; A marker portion is provided, the marker portion being configured to develop an independent flow path from each of the storage portions; The flow information estimation unit, estimating flow information corresponding to each of the flow paths independently developed from each of the reservoirs; The marker recognition device includes: A three-dimensional vector corresponding to the estimated flow information and having a length according to the flow information is generated for each of the flow paths, and the generated three-dimensional vectors are synthesized to estimate load information, which is a synthesized vector having a slope and a length based on each of the three-dimensional vectors. The marker recognition device according to claim 1 .
11. an input unit that supplies the liquid to the outside by applying an external force to a reservoir that contains the liquid; a marker section in which a flow path is connected to the reservoir section, the liquid can flow along the shape of the flow path by the applied external force, and the flowing liquid can be visually recognized from the outside; a fluid device design apparatus for generating model data representing a model of a fluid device having the following features: a virtual image generation unit that generates a plurality of virtual images of a fluid device by projecting the model data onto a two-dimensional plane according to external parameters that represent the position and attitude of a virtual camera, the virtual images being virtual images of the model data viewed from a virtual camera that captures the model data, the virtual images having internal parameters that represent the characteristics of a camera that captures the fluid device image; an occlusion information estimation unit that estimates, when an external appearance of the flow channel is occluded in the virtual image, either an external parameter corresponding to the virtual image or an occluding portion in a flow channel shape as occlusion information; a warning output unit that outputs a warning of an occlusion occurrence in response to the occlusion information; have Fluid device design tool.
12. 2. An augmented reality output device that outputs augmented reality information in which at least one of an image and a sound changes based on the flow information estimated by the flow information estimation unit in the marker recognition device according to claim 1.
13. 4. An augmented reality output device that outputs augmented reality information in which at least one of an image and a sound changes based on the external force estimated by the external force estimation unit in the marker recognition device according to claim 3.
14. an input unit that supplies the liquid to the outside by applying an external force to a reservoir that contains the liquid; a marker section in which a flow path is connected to the reservoir section, the liquid can flow along a shape of the flow path by the applied external force, and the flowing liquid can be visually recognized from the outside; A flow path control unit that expands or reduces an area in which the liquid can spread in the flow path in response to an operation input by a user. A fluidic device comprising:
15. The fluid device is created by a 3D printer from the model data used in the marker recognition device according to claim 1. A method for making a fluidic device.
16. the input unit applies an external force to a reservoir in which the liquid is stored, thereby supplying the liquid to the outside; a marker portion, a flow path being connected to the storage portion, and the liquid flows along the shape of the flow path in a visibly recognizable manner due to the applied external force; a model data acquisition unit that acquires model data representing a model of the fluidic device; a photographed image acquisition unit acquires a photographed image of the fluidic device generated by photographing the fluidic device created in accordance with the model data; a fluid device position and orientation information estimation unit estimating fluid device position and orientation information representing a position and orientation at which the fluid device was photographed from the fluid device photographed image; a flow path region estimation unit estimating a flow path region in which the marker portion is imaged in the fluid device photographed image from the fluid device photographed image, the fluid device position and orientation information, and the model data; A flow information estimation unit estimates flow information of the liquid in the fluid device from the captured image of the fluid device and the flow path region. Marker recognition methods.
17. a marker section in which a flow path is connected to the storage section, the marker section being configured to cause the liquid to flow along a shape of the flow path by the applied external force, and the flowed liquid being visible from the outside; a virtual image generation unit generates a plurality of virtual images of the fluid device by projecting the model data onto a two-dimensional plane according to external parameters representing the position and attitude of the virtual camera, the virtual images being virtual images of the model data as viewed from a virtual camera that captures the model data and has internal parameters corresponding to internal parameters representing the characteristics of a camera that captures the fluid device captured image; an occlusion information estimation unit that estimates, when an appearance of the flow channel is occluded in the virtual image, either an external parameter corresponding to the virtual image or an occluding portion in a flow channel shape as occlusion information; A warning output unit outputs a warning of an occlusion occurrence in response to the occlusion information. Fluidic device design method.
