Image synthesis device and program
Patent Information
- Application Number
- JP2024148389
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-03-26
- Estimated Expiration
- 2044-08-30
Smart Images

Figure 0007651768000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image synthesis device and a program. [Background technology]
[0002] As measures to prevent rocks from falling onto roads and railway tracks, protective fences are installed along the roadside, and protective nets or curtain nets are stretched across slopes (faces) (countermeasures, installation of countermeasures facilities). Soundproofing walls are also installed on the roadside of expressways to reduce noise caused by vehicle movements. See Patent Document 1 for details on protective nets.
[0003] When installing protective fences, etc., a site survey is generally conducted in advance. In the site survey, the type of countermeasure facility is selected (whether to install a protective fence, protective net, or curtain net), and the location and range of the countermeasure facility are surveyed. Furthermore, the range of the countermeasure facility is generally determined by repeating units (height is determined by arranging multiple units vertically, and width is determined by arranging multiple units horizontally). In addition to the repetition, the size of the unit itself is also a matter to be considered.
[0004] It is also common to take multiple photos of the site and, while looking at the photos, consider at a later date the type of countermeasure work facility, the location and scope of the countermeasure work facility, the number of units, etc. It is often the case that discussions are held while the scope of the countermeasure work facility is indicated by hand on printouts of the site photos, but as multiple discussions and considerations are conducted between multiple contractors, such as the ordering contractor, design contractor, and installer, and even within the contractor, it can take a considerable amount of time to decide on the specifications for the countermeasure work. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2005-336720 A DISCLOSURE OF THEINVENTION
[0006] The object of the present invention is to easily determine the type of countermeasure construction facility, the location and range of the countermeasure construction facility, the number of units, etc.
[0007] The image synthesis device of the present invention is characterized by comprising: a background image display means for displaying a background image stored in a storage device on a display device; a synthesis image display means for displaying, by superimposing on the background image displayed by the background image display means, a countermeasure construction facility image including a plurality of unit images, each of which is composed of a plurality of vertical line images spaced apart from each other and a plurality of horizontal line images spaced apart from each other; and a unit image modification means for modifying the size of the unit images.
[0008] A composite image is displayed in which the countermeasure construction facility image is superimposed on the background image. By superimposing the countermeasure construction facility image on the background image, the position and range of the countermeasure construction facility image that occupies the background image are clearly shown in the composite image. Typically, a site photograph taken at the site where the countermeasure construction facility is to be installed is used as the background image.
[0009] The composite image, in which the countermeasure construction facility image is superimposed on the background image, easily depicts a completed countermeasure construction drawing. With this invention, for example, the intention of a client who is planning to install a countermeasure construction facility at a site where rockfall prevention measures are required (where, what type, and what size of countermeasure construction facility is planned to be installed) can be easily and accurately communicated to the relevant parties in a short time. The relevant parties can visually grasp the client's intention and can understand the client's countermeasure plan at an early stage. It also becomes possible to carry out a rough design prior to a site visit.
[0010] The countermeasure work facility image includes a plurality of unit images, each of which is made up of a plurality of vertical line images and a plurality of horizontal line images arranged at intervals, and the size of the unit images can be changed. Depending on the number of the vertical line images and the number of the horizontal line images, or the number of unit images, the cost required for the installation of the countermeasure work facility (particularly the cost of materials) can be roughly calculated, so the specifications of the countermeasure work can be considered in consideration of the cost required for the installation of the countermeasure work facility.
[0011] In one embodiment, the image synthesis device includes a line image density input means for inputting at least one of the degree of density of the vertical line image and the degree of density of the horizontal line image, and the synthesis image display means displays the vertical line image and the horizontal line image with the degree of density input by the line image density input means superimposed on a background image. The denser the vertical line image and the horizontal line image, the smaller the size of the unit image is changed to, and the sparser the vertical line image and the horizontal line image, the larger the size of the unit image is changed to.
[0012] In one embodiment, the image synthesis device includes a countermeasure work facility image selection means for selecting a countermeasure work facility image to be superimposed on a background image from among a plurality of types of countermeasure work facility images. A countermeasure work facility image suitable for installation can be used in the synthesis image from among the plurality of types of countermeasure work facility images.
[0013] In another embodiment, the image synthesis device includes an image editing means for editing the size, position, color, transparency and shape of the countermeasure construction facility image, and the synthesized image display means displays the countermeasure construction facility image with the size, position, color, transparency and shape changed by the image editing means superimposed on the background image. The installation position and range of the countermeasure construction facility can be displayed in an adjustable and easy-to-understand manner in the synthesized image.
[0014] The present invention also provides a program for causing a computer device to operate as an image synthesis device. [Brief description of the drawings]
[0015] [Figure 1] FIG. 2 is a block diagram showing a hardware configuration of the image synthesis device. [Diagram 2] 1 is a front view of the image synthesis device, showing a display screen displaying a synthesis image with a security fence image superimposed thereon; [Diagram 3] 13 shows the display screen after editing the safety fence image. [Figure 4] 13 shows the display screen after editing the safety fence image. [Diagram 5] 1 shows a display screen displaying a composite image with a protective net image superimposed thereon. [Figure 6] 13 shows a display screen after the protective net image has been edited. [Figure 7] 1 shows a display screen displaying a composite image with a curtain net image superimposed thereon. [Figure 8] 13 shows a display screen of the curtain net image after editing. EXAMPLES
[0016] Fig. 1 is a block diagram showing the hardware configuration of the image synthesis device 10. Fig. 2 is a front view of the image synthesis device 10.
[0017] The image synthesis device 10 is a computer device, and for example, a smartphone, a tablet, etc. can be used as the image synthesis device 10. The computer device functions (operates) as the image synthesis device 10 by executing a dedicated program (image synthesis program) installed in the computer device.
[0018] The image synthesis device 10 is equipped with a CPU (Central Processing Unit) 11 that controls the overall operation. Connected to the CPU 11 are an input device 12 that accepts inputs for characters, symbols, and other various operations described below, a display device 13 that displays images, characters, etc., a memory 14 that provides a work area, buffer area, etc. for programs and data, a communication device 15 that transmits and receives programs and data via a network, a camera 16 that captures an image of a subject, and a storage device 17 that stores programs and data. The storage device 17 stores an operating system (OS) program, an image synthesis program for causing a computer device to function as the image synthesis device 10, image data, etc.
[0019] With reference to FIG. 2, most of the front area of the image synthesizer 10 is occupied by the display screen of the display device 13 .
[0020] An image operation panel 31 and an image display area (canvas) 32 are displayed on the display screen of the display device 13.
[0021] A composite image G including a background image G1 and an image G2 representing a countermeasure construction facility superimposed thereon is displayed in the image display area 32. FIG. 2 shows an image G2 representing a protective fence, which is one of the countermeasure construction facilities. The background image G1 is an image represented by image data stored in the memory 14 or storage device 17 of the image synthesis device 10. The protective fence image G2 is an image represented by image data generated by an image synthesis program. For the background image G1, a site image (e.g., an image based on jpeg data) including a slope (embankment) on which a countermeasure construction facility (protective fence, protective net, curtain net, etc.) should be installed is generally used. For the countermeasure construction facility image including the protective fence image G2, image data in which the transparency can be set, such as png data or gif data, is used.
[0022] The guardrail image G2 is composed of a fence image g1 consisting of a plurality of vertical line images V and horizontal line images H arranged at intervals, and a basic image g2 below the fence image g1. The fence image g1 includes a rectangular frame image, a plurality of vertical line images V arranged in the frame image at a predetermined interval, and a plurality of horizontal line images H arranged in the frame image at a predetermined interval, and is represented as a plurality of rectangular unit images U formed by the plurality of vertical line images V and the plurality of horizontal line images H arranged vertically and horizontally. The height (vertical) size of the fence image g1 is represented by the frame image or the plurality of unit images U arranged vertically, and the horizontal (width) size of the fence image g1 is represented by the frame image or the plurality of unit images U arranged horizontally. The basic image g2 is represented by a trapezoidal figure whose top side overlaps with the bottom side of the frame of the fence image g1.
[0023] The composite image G, which is created by overlaying the protective fence image G2 on the background image G1, is a simple drawing of the completed installation of the countermeasure facility. The intentions of the client who is planning to install a countermeasure facility at a site where slope countermeasures are required (where, what type, and what size of countermeasure facility is planned to be installed) can be easily and accurately communicated to the relevant parties in a short time. The relevant parties can visually grasp the client's intentions and can understand the client's slope countermeasure plan at an early stage. It also becomes possible to prepare a rough design prior to visiting the site.
[0024] The image operation panel 31 includes a camera icon P1, an image icon P2, an add countermeasure icon P3, a clear icon P4, an output icon P5, and a selection slider P6.
[0025] The camera icon P1 is tapped when capturing an image to be displayed in the image display area 32. When the camera icon P1 is tapped, the camera 16 of the image synthesis device 10 is started, and the subject image captured by the camera 16 is displayed in the image display area 32 (through image). When a shutter button (not shown) provided in the image synthesis device 10 is tapped or pressed, a still image is displayed in the image display area 32 as a background image G1.
[0026] The image icon P2 is tapped when an image represented by image data stored in the storage device 17 of the image synthesis device 10 is to be displayed as a background image G1 in the image display area 32. When the image icon P2 is tapped, the file names of the image data stored in the storage device 17 of the image synthesis device 10 are displayed in a list. When an image file name is tapped, the image represented by the image data specified by the tapped image file name is displayed as the background image G1 in the image display area 32.
[0027] The countermeasure work addition icon P3 is tapped when displaying a countermeasure work facility image superimposed on the background image. In this embodiment, three types of countermeasure work facility images are provided: a protective fence image, a protective net image, and a curtain net image. By tapping the above-mentioned countermeasure work addition icon P3 and selecting "protective fence" from among the protective fence, protective net, and curtain net, a composite image G in which a protective fence image G2 is superimposed on a background image G1 is displayed in the image display area 32, as shown in FIG. 2.
[0028] The clear icon P4 is tapped when erasing (deleting) the countermeasure construction facility image displayed in the image display area 32.
[0029] The output icon P5 is tapped when image data representing the composite image G is to be stored in the storage device 17 of the image composition device 10.
[0030] The selection slider P6 turns on / off the selection of the countermeasure construction facility image displayed in the image display area 32, and when the protection fence image G2 displayed in the image display area 32 is tapped while "select" is selected by the selection slider P6, the protection fence image G2 is selected and the protection fence image G2 can be edited. When the selection is released (selection is not selected), when the protection fence image G2 is tapped, the protection fence image G2 is moved rather than edited.
[0031] FIG. 3 shows a composite image G after two image editing operations, a size change and a transparency change, have been performed on the guard fence image G2 shown in FIG. 2. The size change is performed by double tapping any of the four corners of the fence image g1 included in the guard fence image G2 and sliding the double tapped corner on the display screen. The range to be covered by the guard fence can be changed by changing the size, and the shape of the guard fence image G2 can also be deformed. The guard fence image G2 can be deformed into any rectangular shape such as a square, rectangle, quadrilateral, trapezoid, or diamond. In the case of the guard fence image G2, the transparency can be set for each of the fence image g1 and the basic image g2. The higher the transparency, the more the background image G1 can be seen through the guard fence image G2. The lower the transparency, the less the background image G1 can be seen. By using an image with a settable transparency as the guard fence image G2, a composite image G can be displayed that does not completely cover the background image portion (i.e., the terrain) of the range to be covered by the guard fence.
[0032] FIG. 4 shows an image after editing the number of vertical line images V and horizontal line images H (the number of unit images U) of the fence image g1 for the guardrail image G2 shown in FIG.
[0033] As described above, the fence image g1 includes a plurality of vertical line images V and a plurality of horizontal line images H arranged at intervals from each other, and includes a plurality of rectangular unit images U formed by the vertical line images V and the horizontal line images H. For example, when the fence image g1 is double-tapped, as shown in FIG. 4, a spacing adjustment panel 33 including a slider 33a appears on the display screen instead of the image operation panel 31. When the slider 33a of the spacing adjustment panel 33 is slid downward, the number of vertical line images V and horizontal line images H constituting the fence image g1 decreases (the vertical line images V and the horizontal line images H become sparse), and the number of rectangular unit images U surrounded by the vertical line images V and the horizontal line images H decreases. When the slider 33a of the spacing adjustment panel 33 is slid upward, the number of both the vertical line images V and the horizontal line images H constituting the fence image g1 displayed in the image display area 32 increases (the vertical line images V and the horizontal line images H become dense), and the number of rectangular unit images U surrounded by the vertical line images V and the horizontal line images H increases. A numerical value indicating the approximate total number of vertical line images V and horizontal line images H is shown below the slider 33a, and this numerical value changes when the slider 33a is slid. When editing images using the interval adjustment panel 33, the size and shape of the protective fence image G2 itself does not change, and therefore the size of each unit image U changes.
[0034] The composite image G, which is the background image G1 superimposed with the protective fence image G2, can be stored in the storage device 17 by tapping the output icon P5, as described above. Image data representing the composite image G can be sent by email, for example, as an email attachment, and can be shared among those involved in the construction work. The composite image G shows the installation location and range of the protective fence, the number of unit images, etc., so that, for example, the intention of the client can be conveyed to the design company, installation company, etc., and the specifications for the countermeasure work can be decided at an early stage.
[0035] In image editing, the color of the security fence image G2 may be changed to any color. Depending on the color of the background image G1, a security fence image G2 of a color similar to that of the background image G1 may be superimposed on the background image G1, or a security fence image G2 of a color different from that of the background image G1 (a color that stands out) may be superimposed on the background image G1.
[0036] FIG. 5 shows an image synthesis device 10 in which a "protective net" has been selected as a countermeasure construction facility, and a synthetic image G in which a protective net image G3 is superimposed on a background image G1 is displayed in the image display area 32.
[0037] The protective net image G3 includes a plurality of vertical line images V and a plurality of horizontal line images H arranged at a predetermined interval from each other within a rectangular frame image, and includes a plurality of rectangular unit images U formed by the multiple vertical line images V and the multiple horizontal line images H.
[0038] When the protective net image G3 is double-tapped in the image display area 32, the interval adjustment panel 34 appears on the display screen. Unlike the interval adjustment panel 33 that appears when the protective fence image G2 described above is double-tapped, the interval adjustment panel 34 that appears when the protective net image G3 is double-tapped includes a vertical line image adjustment slider 34a for adjusting the number of vertical line images V and a horizontal line image adjustment slider 34b for adjusting the number of horizontal line images H. Sliding the vertical line image adjustment slider 34a up or down increases or decreases the number of vertical line images that make up the protective net image G3 displayed in the image display area 32. Similarly, sliding the horizontal line image adjustment slider 34b up or down increases or decreases the number of horizontal line images that make up the protective net image G3 displayed in the image display area 32. Increasing or decreasing the number of vertical line images V and / or the number of horizontal line images H also increases or decreases the number of unit images U. A numerical value indicating the approximate number of vertical line images V is displayed below the vertical line image adjustment slider 34a. A numerical value indicating the approximate number of horizontal line images H is displayed below the horizontal line image adjustment slider 34b.
[0039] Fig. 6 shows the image display area 32 after the horizontal line image adjustment slider 34b has been slid upward from the state shown in Fig. 5. The number of horizontal line images H has increased, and the size of the unit images U has decreased.
[0040] FIG. 7 shows an image synthesis device 10 in which "curtain net" has been selected as a countermeasure construction facility, and a synthesized image G in which a curtain net image G4 is superimposed on a background image G1 is displayed in the image display area 32.
[0041] Curtain net image G4 differs from protective net image G3 in that a sag 41 is depicted at the upper end.
[0042] When "Curtain Net" is selected as a countermeasure construction facility, the number of deflections is selected. The curtain net image G4 shown in Figure 7 shows the case where the number of deflections "2" is selected.
[0043] The curtain net image G4 also includes a plurality of vertical line images V and a plurality of horizontal line images H arranged at intervals within a rectangular frame image, and includes a plurality of rectangular unit images U formed by the plurality of vertical line images V and the plurality of horizontal line images H. As with the protective net image G3, the number of vertical line images V and the number of horizontal line images H in the curtain net image G4 can also be adjusted independently.
[0044] By changing the number of deflections, the number of deflections 41 in the curtain net image G4 constituting the composite image G changes. Figure 8 shows the composite image G including the curtain net image G4 when the number of deflections "3" is selected. The curtain net image G4 having three deflections 41 at the top end is displayed.
[0045] In the above-mentioned embodiment, the image synthesis device 10 has been described using countermeasure construction to prevent rockfall as an example, but for example, an image of a highway is used as a background image, and a composite image in which an image of a soundproof wall or sound barrier countermeasure construction facility to be installed on the roadside of the highway is superimposed on this can be created using the image synthesis device 10. Furthermore, an image of a river or coast is used as a background image, and a composite image in which an image of a waterproof wall or seawall countermeasure construction facility to be installed on the riverbank or coastline is superimposed on this can be created using the image synthesis device 10. [Explanation of symbols]
[0046] 10 Image synthesis device 11 CPU 12 Input Devices 13 Display device 14. Memory 16 Cameras 17 Storage device G Composite image G1 Background Image G2 protective fence image G3 protection net image G4 Curtain Net Image V vertical line image H Horizontal line image U unit image
Claims
1. background image display means for displaying a background image stored in the storage device on a display device; a composite image display means for displaying a countermeasure construction facility image including a plurality of unit images each composed of a plurality of vertical line images arranged at intervals from one another and a plurality of horizontal line images arranged at intervals from one another, superimposed on the background image displayed by the background image display means; and a line image density input means for inputting at least one of the degree of density of the vertical line image and the degree of density of the horizontal line image, the composite image display means displays at least one of a vertical line image and a horizontal line image having a degree of density input by the line image density input means by superimposing the vertical line image and the horizontal line image on a background image; Image synthesis device.
2. a countermeasure work facility image selection means for selecting a countermeasure work facility image to be superimposed on a background image from among a plurality of types of countermeasure work facility images, The image synthesis device according to claim 1 .
3. an image editing means for editing the size, position, color, transparency and shape of the countermeasure construction facility image, the composite image display means displays the countermeasure construction facility image having the size, position, color, transparency and shape edited by the image editing means by superimposing it on a background image; The image synthesis device according to claim 1 .
4. Displaying the background image stored in the storage device on the display device; displaying a countermeasure construction facility image including a plurality of unit images each composed of a plurality of vertical line images arranged at intervals and a plurality of horizontal line images arranged at intervals, superimposed on the displayed background image; receiving an input of at least one of a degree of density of the vertical line image and a degree of density of the horizontal line image; At least one of the input vertical line image and horizontal line image having a degree of density is displayed superimposed on a background image. Image compositing program.
Citation Information
Patent Citations
JP1975043926U
Image processing system
JP1991028975A
Slope falling rock protective structure
JP2005336720A