JP2016018541A - Data generation device and program - Google Patents

Data generation device and program Download PDF

Info

Publication number
JP2016018541A
JP2016018541A JP2014143328A JP2014143328A JP2016018541A JP 2016018541 A JP2016018541 A JP 2016018541A JP 2014143328 A JP2014143328 A JP 2014143328A JP 2014143328 A JP2014143328 A JP 2014143328A JP 2016018541 A JP2016018541 A JP 2016018541A
Authority
JP
Japan
Prior art keywords
small pieces
density
image
pixel
data generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014143328A
Other languages
Japanese (ja)
Other versions
JP6463916B2 (en
Inventor
翼 大八木
Tsubasa Oyagi
翼 大八木
有美子 吉田
Yumiko Yoshida
有美子 吉田
穣 左居
Minoru Sako
穣 左居
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Six Inc
Original Assignee
Six Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Six Inc filed Critical Six Inc
Priority to JP2014143328A priority Critical patent/JP6463916B2/en
Publication of JP2016018541A publication Critical patent/JP2016018541A/en
Application granted granted Critical
Publication of JP6463916B2 publication Critical patent/JP6463916B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for improving expression in a mosaic picture.SOLUTION: A data generation device acquires an original image of a mosaic picture formed of plural kinds of small pieces, each kind of the small pieces has a visible solid body and size of the solid body of each kind of the small pieces is different (S130), and acquires color density indicating density of each color in pixel regions including at least one pixel for forming the original image (S140). Then, the data generation device sets the small pieces satisfying a condition according to a use content inputted from outside, to the respective pixel regions (S150-S170). Setting of the small pieces to the respective pixel region is configured so that, as the color density in the pixel area is high, the small piece having the larger solid body is set among the small pieces which can be used for mosaic picture generation. In addition, the respective small pieces set to the respective pixel regions for forming the original image are associated each other, for generating mosaic picture data (S220).SELECTED DRAWING: Figure 4

Description

本発明は、目的の画を小片を配置することで表現したモザイク画の生成技術に関する。   The present invention relates to a technique for generating a mosaic image in which a target image is expressed by arranging small pieces.

従来、モザイク画を構成する各画素に配置する小片の種類を示すモザイク画データを生成するデータ生成装置が知られている(特許文献1参照)。
この特許文献1に記載されたデータ生成装置においては、予め用意した複数種類のタイルのそれぞれに特定の方向から光を照射した場合の影の生成状況を表すデータを準備する。ここで言うタイルは、少なくとも1つの壁部が基板から突設したものであり、壁部の種類によって複数種類用意されている。
2. Description of the Related Art Conventionally, a data generation device that generates mosaic image data indicating the type of small pieces arranged in each pixel constituting a mosaic image is known (see Patent Document 1).
In the data generation apparatus described in Patent Document 1, data representing the generation status of a shadow when each of a plurality of types of tiles prepared in advance is irradiated with light from a specific direction is prepared. The tiles referred to here are those in which at least one wall portion protrudes from the substrate, and a plurality of types are prepared depending on the type of the wall portion.

そして、特許文献1に記載のデータ生成装置では、モザイク画を生成したい画像を構成する各画素の明度に最も近似する影の生成状況を表すタイルを、当該画素に割り当てるタイル(即ち、小片)として決定することでモザイク画データを生成する。   In the data generation device described in Patent Document 1, a tile that represents a shadow generation state that most closely approximates the brightness of each pixel constituting an image for which a mosaic image is to be generated is assigned as a tile (ie, a small piece) to be assigned to the pixel. By determining, mosaic image data is generated.

特開平05−346057号公報Japanese Patent Laid-Open No. 05-346057

ところで、特許文献1に記載された技術においては、各画素の明度に最も近似する影の生成状況となる小片を、モザイク画を構成する各小片として設定するものの、そのモザイク画を構成する各小片の設定に小片自体の視認性は考慮されていない。このため、特許文献1に記載された技術にて生成されるモザイク画は、作成者が希望した画と異なる可能性があるなど、表現が不十分であった。   By the way, in the technique described in Patent Document 1, although the small pieces that are the shadow generation status closest to the brightness of each pixel are set as the small pieces constituting the mosaic image, the small pieces constituting the mosaic image are set. The visibility of the small piece itself is not considered in the setting of. For this reason, the mosaic image generated by the technique described in Patent Document 1 may be different from the image desired by the creator.

つまり、従来のデータ生成装置では、生成するモザイク画における表現力が不十分であるという課題があった。
そこで、本発明は、モザイク画における表現力を向上させる技術を提供することを目的とする。
That is, the conventional data generation device has a problem that the expressiveness of the generated mosaic image is insufficient.
Accordingly, an object of the present invention is to provide a technique for improving the expressive power of a mosaic image.

上記目的を達成するためになされた本発明は、画像取得手段と、濃度取得手段と、情報取得手段と、設定手段と、データ生成手段とを備えるデータ生成装置である。
このうち、画像取得手段は、小片を用いたモザイク画の原画となる原画像を取得する。ここで言う小片とは、視認可能な立体を有するものである。本発明におけるモザイク画の生成には、立体の大きさが異なる複数種類の小片が用いられる。
The present invention made to achieve the above object is a data generation apparatus including an image acquisition unit, a density acquisition unit, an information acquisition unit, a setting unit, and a data generation unit.
Among these, an image acquisition means acquires the original image used as the original of the mosaic image using a small piece. The small piece referred to here has a visible solid. A plurality of types of small pieces having different three-dimensional sizes are used for generating a mosaic image in the present invention.

濃度取得手段は、画像取得手段で取得した原画像を構成するピクセルを少なくとも1つ含むピクセル領域それぞれの色の濃淡を表す色濃度を取得する。情報取得手段は、使用情報を取得する。使用情報には、モザイク画の生成に使用可能な小片の種類を少なくとも含む。   The density acquisition unit acquires a color density representing the shade of each color of a pixel region including at least one pixel constituting the original image acquired by the image acquisition unit. The information acquisition unit acquires usage information. The usage information includes at least the types of small pieces that can be used to generate a mosaic image.

さらに、設定手段は、ピクセル領域の各々に小片を設定する。本発明における設定手段は、濃度取得手段で取得した色濃度に基づいて、ピクセル領域における色濃度が高いことを表しているほど、情報取得手段で取得した使用情報に含まれる使用可能な小片のうち立体の大きさが大きい小片を当該ピクセル領域に設定する。   Further, the setting means sets a small piece in each pixel area. The setting means according to the present invention indicates that, based on the color density acquired by the density acquisition means, the higher the color density in the pixel region, the more usable pieces included in the usage information acquired by the information acquisition means. A small piece having a large solid size is set in the pixel area.

そして、データ生成手段は、ピクセル領域それぞれに設定手段にて設定された小片の各々を対応付けることで生成されるモザイク画を表すモザイク画データを生成する。
このようなデータ生成装置では、ピクセル領域の色濃度が高いほど、使用可能な小片のうち、立体の大きさが大きい小片を当該ピクセル領域に設定している。
The data generating unit generates mosaic image data representing a mosaic image generated by associating each of the small pieces set by the setting unit with each pixel area.
In such a data generation device, the smaller the color density of the pixel area, the smaller the larger three-dimensional size is set in the pixel area.

したがって、データ生成装置にて生成されるモザイク画データが表すモザイク画においては、色濃度が高いピクセル領域の範囲ほど、小片が有する立体の密度が高くなり、色濃度が低いピクセル領域の範囲ほど、小片が有する立体の密度が低くなる。このため、本発明によれば、モザイク画における濃淡を、小片が形成する影だけでなく、小片(立体)の密度によっても表現できる。   Accordingly, in the mosaic image represented by the mosaic image data generated by the data generation device, the higher the density of the pixel area, the higher the density of the solids of the small pieces, and the lower the pixel density range of the pixel area, The density of the solid which a small piece has becomes low. For this reason, according to the present invention, the shading in the mosaic image can be expressed not only by the shadow formed by the small pieces but also by the density of the small pieces (solid).

この結果、モザイク画において、ピクセル領域の範囲の間における濃度差が明確となり、陰影を表現することが可能となる。
以上のことから、本発明のデータ生成装置によれば、モザイク画における濃淡や陰影表現を向上させることができ、当該モザイク画が、作成者が希望した画と異なることを低減できる。
As a result, in the mosaic image, the density difference between the pixel area ranges becomes clear, and a shadow can be expressed.
From the above, according to the data generation device of the present invention, it is possible to improve the shading and shadow expression in the mosaic image, and to reduce the difference between the mosaic image and the image desired by the creator.

つまり、本発明のデータ生成装置によれば、当該データ生成装置にて生成したモザイク画データが表すモザイク画における表現力を向上させることができる。
ところで、モザイク画を生成する場合には、使用可能な小片の総量が制限されていることが多い。この場合、データ生成装置においては、使用する小片の総量を制限された総量の範囲内に維持しつつも、モザイク画における表現力を向上させることが重要となる。
That is, according to the data generation device of the present invention, it is possible to improve the expressive power in the mosaic image represented by the mosaic image data generated by the data generation device.
By the way, when generating a mosaic image, the total amount of usable small pieces is often limited. In this case, in the data generation device, it is important to improve the expressiveness of the mosaic image while maintaining the total amount of small pieces to be used within the range of the limited total amount.

そこで、本発明の情報取得手段においては、使用可能な小片の総量を使用情報の1つとして取得しても良い。
この場合、本発明における設定手段は、情報取得手段で取得した小片の総量から規定された範囲内に、モザイク画の生成に使用する小片の個数が収まるように、ピクセル領域の各々に小片を設定しても良い。
Therefore, the information acquisition means of the present invention may acquire the total amount of usable pieces as one piece of usage information.
In this case, the setting means in the present invention sets the small pieces in each of the pixel areas so that the number of small pieces used for generating the mosaic image is within a range defined by the total amount of small pieces acquired by the information acquiring means. You may do it.

このようなデータ生成装置によれば、ピクセル領域の各々に設定する小片の量を、小片の総量から規定された範囲内とすることができる。
なお、ここで言う「使用可能な小片の総量」は、使用可能な小片の個数の総数であっても良いし、使用可能な小片の質量の総和であっても良い。
According to such a data generation device, the amount of small pieces set in each pixel region can be within a range defined from the total amount of small pieces.
The “total amount of usable small pieces” referred to here may be the total number of usable small pieces, or may be the total mass of usable pieces.

さらに、本発明の設定手段は、濃度算出手段を備えていても良い。この濃度算出手段は、全てのピクセル領域の色濃度のうち最も高い最高濃度から最も低い最低濃度までの濃度範囲に占めるピクセル領域それぞれの色濃度の比率を表す濃度割合を算出する。   Furthermore, the setting unit of the present invention may include a density calculation unit. This density calculation means calculates a density ratio that represents a ratio of the color density of each pixel area in the density range from the highest highest density to the lowest lowest density among the color densities of all the pixel areas.

この場合、設定手段は、濃度算出手段で算出したピクセル領域それぞれの濃度割合に対応する大きさの立体を有した小片を当該ピクセル領域に設定する。
このようなデータ生成装置によれば、濃度割合に対応する小片を各ピクセル領域に設定できる。
In this case, the setting unit sets a small piece having a solid having a size corresponding to the density ratio of each pixel area calculated by the density calculating unit in the pixel area.
According to such a data generation device, a small piece corresponding to the density ratio can be set in each pixel region.

さらに、本発明における設定手段は、濃度算出手段で算出したピクセル領域それぞれの濃度割合に対応する使用可能割合での立体の大きさを有した小片を、当該ピクセル領域に設定しても良い。なお、ここで言う使用可能割合とは、情報取得手段で取得した使用可能な小片の総量に占める、モザイク画の生成に使用する立体の大きさごとの小片の使用量の比率である。   Further, the setting means in the present invention may set a small piece having a solid size at a usable ratio corresponding to the density ratio of each pixel area calculated by the density calculating means in the pixel area. Note that the usable ratio referred to here is a ratio of the amount of small pieces used for each size of a solid used to generate a mosaic image in the total amount of usable small pieces acquired by the information acquisition unit.

なお、ここで言う「使用可能な小片の総量」は、使用可能な小片の個数の総数であっても良いし、使用可能な小片の種類及びその種類の個数であっても良い。
本発明のデータ生成装置によれば、使用可能割合に応じて最適な小片を各ピクセル領域に設定することができる。
The “total amount of usable small pieces” mentioned here may be the total number of usable small pieces, or may be the kind of usable small pieces and the number of the kinds.
According to the data generation device of the present invention, an optimal small piece can be set in each pixel area according to the usable ratio.

さらに、本発明における画像取得手段は、小片の総量から規定された範囲内に全てのピクセル領域の個数が収まるように、画像を伸縮することで、原画像を生成して取得しても良い。   Furthermore, the image acquisition means in the present invention may generate and acquire an original image by expanding and contracting the image so that the number of all pixel regions is within a range defined from the total amount of small pieces.

このようなデータ生成装置によれば、サイズの異なる画像から、原画像、ひいては、モザイク画を生成することができる。さらに、そのモザイク画における小片の使用個数を、小片の総量から規定された範囲内に収めることができる。   According to such a data generation device, it is possible to generate an original image, and thus a mosaic image, from images of different sizes. Furthermore, the number of small pieces used in the mosaic image can be within a range defined by the total amount of small pieces.

なお、本発明のデータ生成装置においては、小片が有する立体は球体であっても良い。
このように立体として球体を有した小片を用いれば、当該立体の光沢や光の反射を均一にすることができる。この結果、本発明のデータ生成装置にて生成したモザイク画データが表すモザイク画における表現力を、より向上させることができる。
In the data generation device of the present invention, the solid that the small piece has may be a sphere.
In this way, if a small piece having a sphere as a solid is used, the gloss and light reflection of the solid can be made uniform. As a result, the expressive power of the mosaic image represented by the mosaic image data generated by the data generation apparatus of the present invention can be further improved.

さらに、本発明のデータ生成装置においては、小片が有する立体は、金属材料、または石によって形成されていても良い。
また、本発明は、前述したデータ生成装置の他、モザイク画データを生成するためにコンピュータが実行するプログラム、モザイク画データの生成方法等、種々の形態で実現することができる。
Furthermore, in the data generation device of the present invention, the solid included in the small piece may be formed of a metal material or stone.
The present invention can be implemented in various forms such as a program executed by a computer to generate mosaic image data, a method for generating mosaic image data, in addition to the above-described data generation device.

特に、本発明がプログラムとしてなされていれば、必要に応じてコンピュータに取得させて起動することにより用いることができる。そして、コンピュータに各手順を実行させることで、そのコンピュータを、請求項1に記載されたデータ生成装置として機能させることができる。なお、コンピュータは、例えば、DVD−ROM、CD−ROM、ハードディスク等のコンピュータ読み取り可能な記録媒体や、通信回線を介してサーバなどからプログラムを取得すれば良い。   In particular, if the present invention is implemented as a program, it can be used by being acquired and activated by a computer as necessary. And by making a computer perform each procedure, the computer can be functioned as a data generator described in claim 1. The computer may acquire the program from a computer-readable recording medium such as a DVD-ROM, CD-ROM, or hard disk, or a server via a communication line.

本発明が適用されたデータ生成装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the data generation apparatus with which this invention was applied. モザイク画を例示する図である。It is a figure which illustrates a mosaic picture. 本実施形態における小片の構造を示す図である。It is a figure which shows the structure of the small piece in this embodiment. データ生成処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a data generation process. データ生成処理の実行に必要な使用内容の入力を受け付けるジェネレータ画面の一例を示す図である。It is a figure which shows an example of the generator screen which receives the input of the usage content required for execution of a data generation process.

以下に本発明の実施形態を図面と共に説明する。
<データ生成装置>
図1に示すデータ生成装置10は、モザイク画を表すモザイク画データを生成する装置である。
Embodiments of the present invention will be described below with reference to the drawings.
<Data generation device>
A data generation device 10 illustrated in FIG. 1 is a device that generates mosaic image data representing a mosaic image.

本実施形態におけるモザイク画は、図2に示すように、画像を構成するピクセルの各々に、データ生成装置10にて設定された1つの小片40(図3参照)が取り付けられることで構成される。   As shown in FIG. 2, the mosaic image in the present embodiment is configured by attaching one small piece 40 (see FIG. 3) set by the data generation device 10 to each pixel constituting the image. .

その小片40は、図3に示すように、ピン42と、立体44とを備えている。小片40は、ピン42と立体44とが、貴金属にて一体に形成されている。ピン42は、棒状に形成されている。本実施形態における立体44は、視認可能に形成された球体である。その立体44は、ピン42の一端に固定されている。   The small piece 40 includes a pin 42 and a solid body 44 as shown in FIG. In the small piece 40, a pin 42 and a solid body 44 are integrally formed of a noble metal. The pin 42 is formed in a rod shape. The solid 44 in the present embodiment is a sphere formed so as to be visible. The solid 44 is fixed to one end of the pin 42.

本実施形態では、小片40を形成する貴金属としてプラチナを想定する。ただし、小片40を形成する貴金属は、プラチナに限るものではなく、金であっても良いし、銀であっても良い。さらに言えば、小片40を形成する材料は、貴金属でなくとも良く、例えば、鉄や銅、アルミニウムなどの金属材料であっても良いし、石であっても良い。ここで言う石には、ダイアモンドやサファイヤ、ルビー、真珠、琥珀などの宝石であっても良いし、その他の石であっても良い。本発明の小片40においては、少なくとも立体44の部分が貴金属や金属材料、石にて形成されていれば良い。   In the present embodiment, platinum is assumed as the noble metal forming the small piece 40. However, the noble metal forming the small piece 40 is not limited to platinum, and may be gold or silver. Furthermore, the material forming the small piece 40 may not be a noble metal, and may be a metal material such as iron, copper, or aluminum, or may be stone. The stones mentioned here may be diamonds, sapphire, rubies, pearls, jewels such as jade, or other stones. In the small piece 40 of the present invention, it is sufficient that at least the part of the solid 44 is formed of a noble metal, a metal material, or stone.

本実施形態における小片40は、立体44としての球体の直径Φが異なる複数種類が用意されている。本実施形態における球体の直径Φとして、例えば、2[mm],2.5[mm],3[mm],4[mm],5[mm],6[mm],7[mm],8[mm],10[mm]などが考えられる。   A plurality of types of small pieces 40 in the present embodiment are prepared with different diameters Φ of a sphere as the solid 44. As the diameter Φ of the sphere in the present embodiment, for example, 2 [mm], 2.5 [mm], 3 [mm], 4 [mm], 5 [mm], 6 [mm], 7 [mm], 8 [Mm], 10 [mm], etc. are conceivable.

ここで、図1に示すデータ生成装置10は、画像取得部12と、表示部14と、情報受付部16と、出力部18と、記憶部20と、制御部22とを備えている。
このうち、画像取得部12は、画像を取得する。画像取得部12が取得する画像には、モザイク画の原画像を含む。この画像取得部12が取得する画像は、カメラで撮像した画像であっても良いし、スキャナで取り込んだ画像であっても良い。
Here, the data generation device 10 illustrated in FIG. 1 includes an image acquisition unit 12, a display unit 14, an information reception unit 16, an output unit 18, a storage unit 20, and a control unit 22.
Among these, the image acquisition unit 12 acquires an image. The image acquired by the image acquisition unit 12 includes an original image of a mosaic image. The image acquired by the image acquisition unit 12 may be an image captured by a camera or an image captured by a scanner.

表示部14は、制御部32からの信号に基づいて画像を表示する。この表示部14として、例えば、液晶ディスプレイなどを含む。
情報受付部16は、外部からの情報の入力を受け付ける周知の機構である。この情報受付部16として、例えば、キーボードやマウス、タッチパネルなどの周知の入力機構を含む。なお、情報受付部16がタッチパネルによって構成されている場合には、情報受付部16は、表示部14と一体に構成されていても良い。
The display unit 14 displays an image based on a signal from the control unit 32. The display unit 14 includes, for example, a liquid crystal display.
The information receiving unit 16 is a well-known mechanism that receives input of information from the outside. As this information reception part 16, well-known input mechanisms, such as a keyboard, a mouse | mouth, and a touch panel, are included, for example. In addition, when the information reception part 16 is comprised with the touch panel, the information reception part 16 may be comprised integrally with the display part 14. FIG.

出力部18は、制御部22からの信号に従ってデータを出力する。この出力部18がデータを出力する出力先として、ネットワーク通信網や、プリンタ、記憶部20などが考えられる。   The output unit 18 outputs data in accordance with a signal from the control unit 22. As an output destination from which the output unit 18 outputs data, a network communication network, a printer, a storage unit 20, and the like are considered.

記憶部20は、記憶内容を読み書き可能に構成された不揮発性の記憶装置である。この記憶部20には、各種処理プログラムや各種データが記憶される。
また、制御部22は、ROM24、RAM26、CPU28を少なくとも有した周知のコンピュータを中心に構成されている。
The storage unit 20 is a non-volatile storage device configured to be able to read and write stored contents. The storage unit 20 stores various processing programs and various data.
The control unit 22 is configured around a known computer having at least a ROM 24, a RAM 26, and a CPU 28.

このうち、制御部22のROM24には、モザイク画データを生成するデータ生成処理を実行する処理プログラムが格納されている。データ生成処理では、モザイク画の生成対象とする画像を取得し、その取得した画像を解析した結果に従って各ピクセルに最適な小片40を設定することで、モザイク画データを生成する。なお、モザイク画データとは、モザイク画を表すデータであり、ピクセルそれぞれに、特定された小片40の各々を対応付けることで生成されるものである。
<データ生成処理>
次に、データ生成装置10の制御部22が実行するデータ生成処理について説明する。
Among these, the ROM 24 of the control unit 22 stores a processing program for executing data generation processing for generating mosaic image data. In the data generation process, mosaic image data is generated by acquiring an image as a generation target of a mosaic image and setting an optimum piece 40 for each pixel according to a result of analyzing the acquired image. The mosaic image data is data representing a mosaic image, and is generated by associating each specified small piece 40 with each pixel.
<Data generation processing>
Next, data generation processing executed by the control unit 22 of the data generation device 10 will be described.

このデータ生成処理は、情報受付部16を介して起動指令の入力を受け付けると起動される。
そして、データ生成処理では、起動されると、図4に示すように、制御部22は、まず、目的の画像(以下、「対象原画像」と称す)を取得する(S110)。この対象原画像は、画像取得部12を介して新たに取得した画像であっても良いし、記憶部20などに記憶された画像であっても良い。また、対象原画像は、複数の画像の中から、情報受付部16を介して指定された画像であっても良いし、予め初期値として規定された画像であっても良い。
This data generation process is started when an input of a start command is received via the information receiving unit 16.
In the data generation process, when activated, as shown in FIG. 4, the control unit 22 first acquires a target image (hereinafter referred to as “target original image”) (S110). This target original image may be an image newly acquired via the image acquisition unit 12 or may be an image stored in the storage unit 20 or the like. In addition, the target original image may be an image designated through the information receiving unit 16 from among a plurality of images, or may be an image defined as an initial value in advance.

続いて、制御部22は、小片目安数から規定された範囲内となるピクセル総数を検出する(S120)。ここで言う小片目安数とは、モザイク画の生成に使用する小片の個数の目安となる数である。この小片目安数は、情報受付部16を介して入力されたものでも良いし、予め規定された初期値であっても良い。また、ここで言うピクセル総数は、原画像における縦のピクセル数と、横のピクセル数との乗算結果である。   Subsequently, the control unit 22 detects the total number of pixels that are within a range defined from the small piece guide number (S120). The small piece guide number mentioned here is a number that serves as a guide for the number of small pieces used for generating a mosaic image. This small piece guide number may be input via the information receiving unit 16 or may be an initial value defined in advance. The total number of pixels referred to here is the result of multiplying the number of vertical pixels and the number of horizontal pixels in the original image.

具体的にS120では、制御部22は、まず、対象原画像における縦のピクセル数と横のピクセル数との比率(即ち、アスペクト比)を維持した上で、最小となる縦のピクセル数、及び横のピクセル数を算出する。その算出した縦のピクセル数と横のピクセル数との乗算結果が小片目安数未満であれば、縦のピクセル数と横のピクセル数とのそれぞれをインクリメントする。これらのステップを、縦のピクセル数と横のピクセル数との乗算結果が小片目安数以上となるまで繰り返す。そして、小片目安数以上となった時点での、縦のピクセル数、横のピクセル数、それらの乗算結果をピクセル総数として算出する。   Specifically, in S120, the control unit 22 first maintains the ratio of the number of vertical pixels to the number of horizontal pixels (that is, the aspect ratio) in the target original image, and then minimizes the number of vertical pixels, and Calculate the number of horizontal pixels. If the calculated result of multiplying the number of vertical pixels by the number of horizontal pixels is less than the approximate number of small pieces, each of the number of vertical pixels and the number of horizontal pixels is incremented. These steps are repeated until the multiplication result of the number of vertical pixels and the number of horizontal pixels becomes equal to or larger than the small piece guide number. Then, the number of vertical pixels, the number of horizontal pixels, and the multiplication result thereof at the time when the number of small pieces is reached are calculated as the total number of pixels.

さらに、データ生成処理では、制御部22は、S120にて検出したピクセル総数に基づいて、対象原画像を伸縮することで原画像を生成する(S130)。ここで言う原画像とは、モザイク画の原画となる画像である。   Further, in the data generation process, the control unit 22 generates an original image by expanding and contracting the target original image based on the total number of pixels detected in S120 (S130). The original image referred to here is an image that is an original image of a mosaic image.

具体的にS130では、制御部22は、対象原画像の画素数がピクセル総数よりも多ければ、ピクセル総数となるように、対象原画像を圧縮することで原画像を生成する。この画像を圧縮する手法としては、周知の手法を用いれば良い。一方、対象原画像の画素数がピクセル総数よりも少ない場合には、ピクセル総数となるように、対象原画像を拡大することで原画像を生成しても良い。この場合、画像を拡大する手法としては、周知の手法を用いれば良い。   Specifically, in S130, if the number of pixels of the target original image is larger than the total number of pixels, the control unit 22 generates the original image by compressing the target original image so as to be the total number of pixels. As a technique for compressing the image, a known technique may be used. On the other hand, when the number of pixels of the target original image is smaller than the total number of pixels, the original image may be generated by enlarging the target original image so as to be the total number of pixels. In this case, a known method may be used as a method for enlarging the image.

そして、データ生成処理では、制御部22は、S130にて生成した原画像を構成する各ピクセルの色の濃淡を表す色濃度を取得する(S140)。具体的にS140では、制御部22は、各ピクセルについて、赤色の輝度値Rと、緑色の輝度値Gと、青色の輝度値Bとの和を「3」で除すことで、色濃度(色濃度=(R+G+B)/3)を算出して取得する。   In the data generation process, the control unit 22 acquires a color density that represents the shade of the color of each pixel constituting the original image generated in S130 (S140). Specifically, in S140, for each pixel, the control unit 22 divides the sum of the red luminance value R, the green luminance value G, and the blue luminance value B by “3” to obtain a color density ( Color density = (R + G + B) / 3) is calculated and acquired.

続いて、データ生成処理では、制御部22は、S140にて取得した各ピクセルの色濃度に基づいて、色濃度が最大である原画像のピクセルに対して、使用可能な小片40のうち立体44の直径φが最大である小片40を設定する(S150)。また、S150では、制御部22は、色濃度が最小である原画像のピクセルに対して、使用可能な小片40のうち立体44の直径φが最小である小片40を設定する。   Subsequently, in the data generation process, the control unit 22 applies the solid 44 of the usable small pieces 40 to the pixel of the original image having the maximum color density based on the color density of each pixel acquired in S140. The small piece 40 having the largest diameter φ is set (S150). In S150, the control unit 22 sets the small piece 40 having the smallest diameter φ of the solid 44 among the usable small pieces 40 for the pixel of the original image having the smallest color density.

さらに、データ生成処理では、制御部22は、S140にて取得した各ピクセルの色濃度に基づいて、各ピクセルにおける濃度割合RRを算出する(S160)。ここで言う濃度割合RRとは、原画像における色濃度のうち最も高い最高濃度pmaxから最も低い最低濃度pminまでの濃度範囲に占めるピクセルそれぞれの色濃度pの比率である。すなわち、本実施形態のS160では、制御部22は、原画像における各ピクセルの濃度割合RRを、規定された色濃度を起点とした比率にて算出する。本実施形態における「規定された色濃度」は、最低濃度pminである(RR=(p−pmin)/(pmax−pmin))。なお、「規定された色濃度」は、最低濃度に限るものではなく、最高濃度であっても良いし、その他の色濃度であっても良い。   Further, in the data generation process, the control unit 22 calculates a density ratio RR in each pixel based on the color density of each pixel acquired in S140 (S160). The density ratio RR here is a ratio of the color density p of each pixel in the density range from the highest highest density pmax to the lowest lowest density pmin among the color densities in the original image. That is, in S160 of the present embodiment, the control unit 22 calculates the density ratio RR of each pixel in the original image at a ratio starting from the specified color density. The “specified color density” in the present embodiment is the minimum density pmin (RR = (p−pmin) / (pmax−pmin)). The “specified color density” is not limited to the minimum density, and may be the highest density or other color density.

そして、データ生成処理では、制御部22は、原画像の各ピクセルの濃度割合RRに対応する使用可能割合での立体44の大きさを有した小片40を各ピクセルに設定する(S170)。   In the data generation process, the control unit 22 sets a small piece 40 having the size of the solid 44 at the usable ratio corresponding to the density ratio RR of each pixel of the original image to each pixel (S170).

ここで言う使用可能割合とは、濃度割合RRに対応する小片40を示すテーブルである。本実施形態における使用可能割合は、使用可能な小片40のうち立体44の大きさが最大となる小片40が色濃度の最大値pmaxに対応し、使用可能な小片40のうち立体44の大きさが最小である小片40が色濃度の最大値pminに対応するように規定されている。そして、使用可能割合においては、最大値pmaxから最小値pminまでの間が、モザイク画の生成に使用する全小片40の使用量に占める、立体44の大きさごとに使用可能な小片40の比率によって規定されている。   The usable ratio mentioned here is a table showing the small pieces 40 corresponding to the density ratio RR. The usable ratio in the present embodiment is that the small piece 40 having the maximum size of the solid 44 among the usable small pieces 40 corresponds to the maximum value pmax of the color density, and the size of the solid 44 among the usable small pieces 40. Is defined so as to correspond to the maximum value pmin of the color density. In the usable ratio, the ratio of the small pieces 40 that can be used for each size of the solid 44 occupies the amount of use of all the small pieces 40 used for generating the mosaic image between the maximum value pmax and the minimum value pmin. It is prescribed by.

この使用可能な小片40の比率は、立体44の大きさごとに均等であっても良い。また、使用可能な小片40の比率は、上サイズの使用量や下サイズの使用量に応じて、対応する小片40の比率が大きくなるように傾斜させたものであっても良い。なお、ここで言う上サイズの使用量とは、モザイク画の生成に使用可能な全ての小片40のうち、立体44の大きさが第1規定値以上である小片40の使用量である。また、ここで言う下サイズの使用量とは、モザイク画の生成に使用可能な全ての小片40のうち、立体44の大きさが第2規定値以下である小片40の使用量である。   The ratio of the usable small pieces 40 may be equal for each size of the solid 44. Further, the ratio of the usable small pieces 40 may be inclined so that the ratio of the corresponding small pieces 40 is increased in accordance with the usage amount of the upper size and the usage amount of the lower size. In addition, the usage amount of the upper size mentioned here is the usage amount of the small piece 40 in which the size of the solid 44 is equal to or larger than the first specified value among all the small pieces 40 that can be used for generating the mosaic image. Further, the usage amount of the lower size referred to here is the usage amount of the small piece 40 whose size of the solid 44 is equal to or smaller than the second specified value among all the small pieces 40 that can be used for generating the mosaic image.

具体的にS170では、制御部22は、原画像における1つのピクセルの濃度割合RRが、最高濃度から上位xパーセントであれば、使用可能割合においても上位xパーセントに含まれる立体44の大きさを有した小片40を当該ピクセルに設定する。なお、ここでの「x」は、濃度割合RR、及び使用可能割合の具体的な例示を示す符号である。   Specifically, in S170, if the density ratio RR of one pixel in the original image is the upper x percent from the highest density, the control unit 22 determines the size of the solid 44 included in the upper x percent in the usable ratio. The small piece 40 is set to the pixel. Here, “x” is a code indicating a specific example of the concentration ratio RR and the usable ratio.

なお、各立体44の大きさごと(即ち、小片40の種類ごと)の使用可能割合は、情報受付部16を介して入力された使用可能な貴金属の総量に基づいて算出されても良い。すなわち、本実施形態では、制御部22は、各立体44の大きさごと(即ち、小片40の種類ごと)に使用可能な小片40の個数における質量の和が、使用可能な貴金属の総量に近似するように、各小片40の種類ごとの比率を算出しても良い。   The usable ratio for each size of each solid 44 (that is, for each type of small piece 40) may be calculated based on the total amount of usable precious metal input via the information receiving unit 16. In other words, in the present embodiment, the control unit 22 approximates the sum of the masses of the number of small pieces 40 that can be used for each size of each solid 44 (that is, for each type of the small pieces 40) to the total amount of usable precious metals. As such, the ratio for each type of each piece 40 may be calculated.

続いて、データ生成処理では、制御部22は、原画像の各ピクセルに設定された小片40に基づくモザイク画を表示部14に表示する(S180)。具体的にS180では、制御部22は、図5に示すように、モザイク画データの生成に必要な情報の入力を受け付けるジェネレータ画面の一部分にモザイク画を表示する。本実施形態において、ジェネレータ画面は、データ生成処理が起動されると、表示部14に表示される。   Subsequently, in the data generation process, the control unit 22 displays a mosaic image based on the small piece 40 set for each pixel of the original image on the display unit 14 (S180). Specifically, in S180, as illustrated in FIG. 5, the control unit 22 displays the mosaic image on a part of the generator screen that receives input of information necessary for generating the mosaic image data. In the present embodiment, the generator screen is displayed on the display unit 14 when the data generation process is activated.

さらに、データ生成処理では、制御部22は、S180にて表示部14に表示したモザイク画の生成に用いた小片(以下、「使用小片」と称す)40の使用内容を、ジェネレータ画面に表示する(S190)。ここで言う使用内容には、小片目安数、使用小片40の総数(即ち、ピクセル総数)、使用小片40の質量の総和、及び小片40の種類ごとの使用個数を含む。さらに、使用内容には、モザイク画における縦のサイズ及び横のサイズ、モザイク画における縦の余白のサイズ(即ち、マージン)及び横の余白のサイズを含む。さらに、使用内容には、上サイズの使用量や、下サイズの使用量などを含む。   Further, in the data generation process, the control unit 22 displays the usage contents of the small pieces (hereinafter referred to as “used small pieces”) 40 used for generating the mosaic image displayed on the display unit 14 in S180 on the generator screen. (S190). The usage contents referred to here include the approximate number of small pieces, the total number of used pieces 40 (that is, the total number of pixels), the total mass of the used pieces 40, and the number of pieces used for each kind of pieces 40. Further, the usage contents include a vertical size and a horizontal size in the mosaic image, a vertical margin size (that is, a margin), and a horizontal margin size in the mosaic image. Further, the usage content includes the usage amount of the upper size and the usage amount of the lower size.

実施形態における使用内容が、特許請求の範囲に記載された使用情報の一例である。
続いて、データ生成処理では、制御部22は、モザイク画データを生成する完了指令の入力を、情報受付部16を介して受け付けたか否かを判定する(S200)。このS200での判定の結果、完了指令の入力を受け付けていれば(S220:YES)、制御部22は、詳しく後述するS220へと、データ生成処理を移行させる。
The usage content in the embodiment is an example of usage information described in the claims.
Subsequently, in the data generation process, the control unit 22 determines whether an input of a completion command for generating mosaic image data has been received via the information reception unit 16 (S200). As a result of the determination in S200, if an input of a completion command is accepted (S220: YES), the control unit 22 shifts the data generation process to S220 described in detail later.

一方、S220での判定の結果、完了指令の入力を受け付けていなければ(S220:NO)、制御部22は、データ生成処理をS210へと移行させる。そのS210では、制御部22は、情報受付部16を介した使用内容の変更の入力を受け付ける。本実施形態においては、変更の入力を受け付ける使用内容を、小片目安数、使用小片40の総数、モザイク画における縦のサイズ及び横のサイズ、縦の余白のサイズ、横の余白のサイズ、上サイズの使用量及び下サイズの使用量に限っても良い。さらに、S210にて受け付ける使用内容の変更には、対象原画像の変更を含んでも良い。   On the other hand, as a result of the determination in S220, if the input of the completion command is not accepted (S220: NO), the control unit 22 shifts the data generation process to S210. In S <b> 210, the control unit 22 receives an input of change of usage content via the information reception unit 16. In the present embodiment, the usage content for accepting the change input includes the number of small pieces, the total number of used pieces 40, the vertical size and horizontal size in the mosaic image, the vertical margin size, the horizontal margin size, and the upper size. The amount used may be limited to the amount used in the lower size. Furthermore, the change in the usage content received in S210 may include a change in the target original image.

その後、データ生成処理では、制御部22は、S210にて受け付けた使用内容に基づいて、S110からS200のステップを実行する。この場合のデータ生成処理では、S210にて変更を受け付けた使用内容を優先して、各ピクセルに設定する小片40を決定する。   Thereafter, in the data generation process, the control unit 22 executes steps S110 to S200 based on the usage content received in S210. In the data generation processing in this case, the small piece 40 to be set for each pixel is determined by giving priority to the use content whose change has been received in S210.

ところで、S200での判定の結果、完了指令の入力を受け付けた場合に移行するS220では、制御部22は、S180にて表示部14に表示したモザイク画を表すモザイク画データを生成して出力部18に出力させる。すなわち、S220では、原画像を構成するピクセルそれぞれに設定された小片40の種類を表すデータをモザイク画データとして生成する。そして、生成したモザイク画データをネットワーク通信網やプリンタを介して出力したり、記憶部20に記憶したりする。   By the way, as a result of the determination in S200, in S220 to which the process proceeds when an input of a completion command is received, the control unit 22 generates mosaic image data representing the mosaic image displayed on the display unit 14 in S180 and outputs the mosaic image data. 18 to output. That is, in S220, data representing the type of the small piece 40 set for each pixel constituting the original image is generated as mosaic image data. Then, the generated mosaic image data is output via a network communication network or a printer, or stored in the storage unit 20.

その後、制御部22は、データ生成処理を終了し、次の起動指令の入力を受け付けるまで待機する。
つまり、データ生成処理では、原画像を構成する各ピクセルにおける色濃度を取得する。そして、原画像を構成するピクセルの各々に、外部から入力された使用内容に従った条件を満たす小片40を設定する。このピクセルの各々への小片40の設定は、当該ピクセルにおける色濃度が高いほど、モザイク画の生成に使用可能な小片40のうち、立体44の大きさが大きい小片を設定する。
Thereafter, the control unit 22 ends the data generation process and waits until an input of the next start command is received.
That is, in the data generation process, the color density in each pixel constituting the original image is acquired. Then, a small piece 40 that satisfies the condition according to the content of use input from the outside is set to each of the pixels constituting the original image. As the setting of the small piece 40 to each of the pixels, the small piece 40 having a larger size of the solid 44 is set out of the small pieces 40 that can be used for generating the mosaic image as the color density in the pixel is higher.

さらに、データ生成処理では、原画像を構成するピクセルそれぞれに、設定された小片40の各々を対応付けることでモザイク画データを生成する。
[実施形態の効果]
以上説明したように、データ生成装置10では、ピン42の一端に立体44を有し、貴金属にて形成された小片40を用いてモザイク画を生成する。しかも、データ生成装置10では、原画像を構成するピクセルの色濃度が高いほど、モザイク画の生成に使用可能な小片40のうち、立体44の大きさが大きい小片40を当該ピクセルに設定している。
Further, in the data generation process, mosaic image data is generated by associating each of the set small pieces 40 with each pixel constituting the original image.
[Effect of the embodiment]
As described above, the data generation apparatus 10 generates a mosaic image using the small piece 40 that has the solid 44 at one end of the pin 42 and is formed of a noble metal. In addition, the data generation device 10 sets the small piece 40 having a larger size of the solid 44 among the small pieces 40 that can be used for generating the mosaic image as the color density of the pixels constituting the original image is higher. Yes.

このようなデータ生成装置10にて生成されるモザイク画においては、色濃度が高いピクセルを含む範囲ほど、小片40が有する立体44の密度が高くなり、色濃度が低いピクセルを含む範囲ほど、小片40が有する立体44の密度が低くなる。したがって、データ生成装置10によれば、モザイク画における濃淡を、小片が形成する影だけでなく、小片(立体)の密度によっても表現できる。   In a mosaic image generated by such a data generation device 10, the density of the solid 44 included in the small piece 40 increases as the range including pixels with a higher color density, and the smaller the smaller as the range includes pixels with a lower color density. The density of the solid 44 that 40 has becomes low. Therefore, according to the data generation device 10, the light and shade in the mosaic image can be expressed not only by the shadow formed by the small pieces but also by the density of the small pieces (solid).

この結果、モザイク画において、ピクセルの間における濃度差が明確となり、陰影を表現することが可能となる。
データ生成装置10によれば、モザイク画における濃淡や陰影表現を向上させることができ、作成者が希望した画と異なることを低減できる。
As a result, in the mosaic image, the density difference between pixels becomes clear and it becomes possible to express a shadow.
According to the data generation device 10, it is possible to improve the shading and shadow expression in the mosaic image, and to reduce the difference from the image desired by the creator.

つまり、データ生成装置10によれば、当該データ生成装置10にて生成するモザイク画における表現力を向上させることができる。
ところで、貴金属は高価であるため、通常、モザイク画に使用可能な小片40の総量には制限がある。よって、データ生成装置10においては、使用する小片40の総量を、指定された範囲内に維持しつつも、モザイク画における表現力を向上させることが重要となる。
That is, according to the data generation device 10, it is possible to improve the expressive power in the mosaic image generated by the data generation device 10.
By the way, since noble metals are expensive, the total amount of small pieces 40 that can be used for a mosaic image is usually limited. Therefore, in the data generation device 10, it is important to improve the expressiveness of the mosaic image while maintaining the total amount of the small pieces 40 to be used within the specified range.

本実施形態のデータ生成処理では、小片目安数から規定された範囲内となるピクセル総数を検出し、そのピクセル総数となるように原画像を生成している。そして、その生成した原画像を構成する各ピクセルに小片40を設定している。   In the data generation process of this embodiment, the total number of pixels that fall within the range defined from the number of small pieces is detected, and the original image is generated so as to be the total number of pixels. And the small piece 40 is set to each pixel which comprises the produced | generated original image.

このようなデータ生成処理によれば、使用する小片40の総量を小片目安数から規定された範囲内に維持しつつも、各ピクセルに最適な大きさの立体44を有した小片40を設定できる。   According to such a data generation process, it is possible to set the small piece 40 having the solid body 44 of the optimum size for each pixel while maintaining the total amount of the small pieces 40 to be used within the range defined by the number of small pieces. .

この結果、モザイク画の作成に用いる小片40の貴金属の総量が、作成者が予定している総量を大きく超えることを低減できる。
なお、本実施形態においては、小片40が有する立体44を球体としている。このため、本実施形態のモザイク画においては、小片40が有する立体44の配置の向きにかかわらず、各小片40での光の反射を均一とすることができる。この結果、データ生成装置10にて生成するモザイク画における表現力を、より向上させることができる。
[その他の実施形態]
以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において、様々な態様にて実施することが可能である。
As a result, it can be reduced that the total amount of the noble metal of the small piece 40 used for creating the mosaic image greatly exceeds the total amount planned by the creator.
In the present embodiment, the solid 44 of the small piece 40 is a sphere. For this reason, in the mosaic image of this embodiment, the reflection of light at each small piece 40 can be made uniform regardless of the orientation of the solid 44 of the small piece 40. As a result, the expressive power of the mosaic image generated by the data generation device 10 can be further improved.
[Other Embodiments]
As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, In the range which does not deviate from the summary of this invention, it is possible to implement in various aspects.

例えば、上記実施形態においては、小片40が有する立体44の形状を球体としていたが、立体44の形状は、これに限るものではない。すなわち、立体44の形状は、直方体であっても良いし、その他の多面体であっても良い。   For example, in the above embodiment, the shape of the solid 44 of the small piece 40 is a sphere, but the shape of the solid 44 is not limited to this. That is, the shape of the solid 44 may be a rectangular parallelepiped or other polyhedron.

さらに、本発明においては、使用内容として、モザイク画の作成に使用する貴金属の予算の総額を受け付けても良い。この場合、例えば、貴金属の予算の総額に基づいて、小片目安数や、使用する小片40の種類、各種類の小片40の個数を決定しても良い。この場合、小片40それぞれの価格と、小片40の大きさごとに使用可能な個数との乗算結果の総和が予算の範囲内となるように、小片40の大きさごとに使用可能な個数を算出すれば良い。   Furthermore, in the present invention, the total amount of the budget for the noble metal used for creating the mosaic image may be accepted as the usage content. In this case, for example, based on the total budget of the noble metal, the approximate number of small pieces, the type of small pieces 40 to be used, and the number of small pieces 40 of each type may be determined. In this case, the number that can be used for each size of the small piece 40 is calculated so that the sum of the multiplication results of the price of each piece 40 and the number that can be used for each size of the small piece 40 is within the budget. Just do it.

なお、上記実施形態においては、各ピクセルの大きさを初期値に固定していたが、本発明においては、ピクセルの大きさは変更可能あっても良い。この場合、使用する小片40の総個数を変更することなく、モザイク画のサイズを変更できる。   In the above embodiment, the size of each pixel is fixed to the initial value. However, in the present invention, the size of the pixel may be changeable. In this case, the size of the mosaic image can be changed without changing the total number of small pieces 40 to be used.

ところで、上記実施形態のデータ生成処理においては、原画像を構成する各ピクセルに1対1で小片40を対応付けていたが、小片40を対応付ける対象は、複数のピクセルを有したピクセル領域であっても良い。この場合、データ生成処理では、S140においてピクセル領域ごとに色濃度を算出して、S170においてそのピクセル領域ごとに適切な小片40を設定しても良い。また、ピクセル領域ごとに小片40を設定する場合、データ生成処理では、S140においてピクセルごとに色濃度を算出し、S170においてそのピクセルを含むピクセル領域ごとに適切な小片40を設定しても良い。この場合のデータ生成処理では、S130が省略されていても良い。   By the way, in the data generation process of the above embodiment, the small pieces 40 are associated with each pixel constituting the original image on a one-to-one basis. However, the object to be associated with the small pieces 40 is a pixel region having a plurality of pixels. May be. In this case, in the data generation process, the color density may be calculated for each pixel area in S140, and an appropriate small piece 40 may be set for each pixel area in S170. When the small piece 40 is set for each pixel region, in the data generation process, the color density may be calculated for each pixel in S140, and the appropriate small piece 40 may be set for each pixel region including the pixel in S170. In the data generation process in this case, S130 may be omitted.

また、本発明は、前述したデータ生成装置の他、モザイク画データを生成するためにコンピュータが実行するプログラム、モザイク画データの生成方法等、種々の形態で実現しても良い。   Further, the present invention may be realized in various forms such as a program executed by a computer for generating mosaic image data, a method for generating mosaic image data, in addition to the above-described data generation device.

なお、上記実施形態の構成の一部を、課題を解決できる限りにおいて省略した態様も本発明の実施形態である。また、上記実施形態と変形例とを適宜組み合わせて構成される態様も本発明の実施形態である。また、特許請求の範囲に記載した文言によって特定される発明の本質を逸脱しない限度において考え得るあらゆる態様も本発明の実施形態である。
[実施形態と特許請求の範囲との対応関係]
最後に、上記実施形態の記載と、特許請求の範囲の記載との関係を説明する。
In addition, the aspect which abbreviate | omitted a part of structure of the said embodiment as long as the subject could be solved is also embodiment of this invention. Further, an aspect configured by appropriately combining the above embodiment and the modification is also an embodiment of the present invention. Moreover, all the aspects which can be considered in the limit which does not deviate from the essence of the invention specified by the wording described in the claims are the embodiments of the present invention.
[Correspondence between Embodiment and Claims]
Finally, the relationship between the description of the above embodiment and the description of the scope of claims will be described.

上記実施形態のデータ生成処理におけるS130が、特許請求の範囲に記載された画像取得手段及び画像取得手順の一例である。また、S140が、特許請求の範囲に記載された濃度取得手段及び濃度取得手順の一例である。S170,S210が、特許請求の範囲に記載された情報取得手段及び情報取得手順の一例である。   S130 in the data generation process of the above embodiment is an example of an image acquisition unit and an image acquisition procedure described in the claims. S140 is an example of the density acquisition means and the density acquisition procedure described in the claims. S170 and S210 are an example of the information acquisition means and the information acquisition procedure described in the claims.

さらに、データ生成処理におけるS150〜S170が、特許請求の範囲に記載された設定手段及び設定手順の一例である。また、S220が、特許請求の範囲に記載されたデータ生成手段及びデータ生成手順の一例である。S160が、特許請求の範囲に記載された濃度算出手段の一例である。   Furthermore, S150 to S170 in the data generation process are an example of setting means and setting procedures described in the claims. S220 is an example of a data generation means and a data generation procedure described in the claims. S160 is an example of the density calculating means described in the claims.

10…データ生成装置 12…画像取得部 14…表示部 16…情報受付部 18…出力部 20…記憶部 22…制御部 24…ROM 26…RAM 28…CPU 32…制御部 40…小片 42…ピン 44…立体
DESCRIPTION OF SYMBOLS 10 ... Data generation device 12 ... Image acquisition part 14 ... Display part 16 ... Information reception part 18 ... Output part 20 ... Memory | storage part 22 ... Control part 24 ... ROM 26 ... RAM 28 ... CPU 32 ... Control part 40 ... Small piece 42 ... Pin 44 ... Solid

Claims (8)

視認可能な立体を有し、前記立体の大きさが異なる複数種類の小片を用いたモザイク画の原画となる原画像を取得する画像取得手段と、
前記画像取得手段で取得した原画像を構成するピクセルを少なくとも1つ含むピクセル領域それぞれの色の濃淡を表す色濃度を取得する濃度取得手段と、
モザイク画の生成に使用可能な前記小片の種類を少なくとも含む使用情報を取得する情報取得手段と、
前記ピクセル領域の各々に前記小片を設定する設定手段であって、前記濃度取得手段で取得した色濃度に基づいて、前記ピクセル領域における色濃度が高いことを表しているほど、前記情報取得手段で取得した使用情報に含まれる使用可能な前記小片のうち前記立体の大きさが大きい小片を当該ピクセル領域に設定する設定手段と、
前記ピクセル領域それぞれに前記設定手段にて設定された前記小片の各々を対応付けることで生成されるモザイク画を表すモザイク画データを生成するデータ生成手段と
を備えることを特徴とするデータ生成装置。
An image acquisition means for acquiring an original image that is an original image of a mosaic image using a plurality of types of small pieces having a visible solid and having different sizes of the solid;
Density acquisition means for acquiring a color density representing the shade of the color of each pixel region including at least one pixel constituting the original image acquired by the image acquisition means;
Information acquisition means for acquiring usage information including at least the kind of small pieces that can be used for generating a mosaic image;
Setting means for setting the small piece in each of the pixel areas, and the information acquisition means indicates that the color density in the pixel area is higher based on the color density acquired by the density acquisition means. Setting means for setting a small piece having a large three-dimensional size in the pixel area among the usable small pieces included in the acquired use information;
A data generation apparatus comprising: data generation means for generating mosaic image data representing a mosaic image generated by associating each of the small pieces set by the setting means with each of the pixel areas.
前記情報取得手段は、使用可能な前記小片の総量を前記使用情報の1つとして取得し、
前記設定手段は、
前記情報取得手段で取得した小片の総量から規定された範囲内に前記モザイク画の生成に使用する前記小片の個数が収まるように、前記ピクセル領域の各々に前記小片を設定することを特徴とする請求項1に記載のデータ生成装置。
The information acquisition means acquires the total amount of the small pieces that can be used as one of the usage information,
The setting means includes
The small pieces are set in each of the pixel regions so that the number of small pieces used for generating the mosaic image is within a range defined by the total amount of small pieces acquired by the information acquisition unit. The data generation device according to claim 1.
前記設定手段は、
全ての前記ピクセル領域の色濃度のうち最も高い最高濃度から最も低い最低濃度までの濃度範囲に占める前記ピクセル領域それぞれの色濃度の比率を表す濃度割合を算出する濃度算出手段を備え、
前記濃度算出手段で算出した前記ピクセル領域それぞれの濃度割合に対応する大きさの前記立体を有した小片を当該ピクセル領域に設定する
ことを特徴とする請求項1または請求項2に記載のデータ生成装置。
The setting means includes
Density calculating means for calculating a density ratio representing a ratio of color density of each of the pixel areas in a density range from the highest highest density to the lowest lowest density among the color densities of all the pixel areas;
3. The data generation according to claim 1, wherein a small piece having the solid having a size corresponding to a density ratio of each of the pixel areas calculated by the density calculating unit is set in the pixel area. apparatus.
前記設定手段は、
前記情報取得手段で取得した使用可能な小片の総量に占める、前記モザイク画の生成に使用する前記立体の大きさごとの前記小片の使用量の比率を使用可能割合とし、
前記濃度算出手段で算出した前記ピクセル領域それぞれの濃度割合に対応する前記使用可能割合での前記立体の大きさを有した小片を、当該ピクセル領域に設定する
ことを特徴とする請求項3に記載のデータ生成装置。
The setting means includes
The ratio of the usage amount of the small pieces for each size of the solid used for generating the mosaic image in the total amount of usable small pieces acquired by the information acquisition unit is set as a usable ratio.
The small piece having the size of the solid at the usable ratio corresponding to the density ratio of each of the pixel areas calculated by the density calculation unit is set in the pixel area. Data generator.
前記情報取得手段は、使用可能な前記小片の総量を前記使用情報の1つとして取得し、
前記画像取得手段は、
前記小片の総量から規定された範囲内に全ての前記ピクセル領域の個数が収まるように、画像を伸縮することで、前記原画像を生成して取得する
ことを特徴とする請求項1から請求項4までのいずれか一項に記載のデータ生成装置。
The information acquisition means acquires the total amount of the small pieces that can be used as one of the usage information,
The image acquisition means includes
The original image is generated and acquired by expanding and contracting an image so that the number of all the pixel regions is within a range defined from the total amount of the small pieces. 5. The data generation device according to any one of up to 4.
前記小片が有する立体は、球体である
ことを特徴とする請求項1から請求項5までのいずれか一項に記載のデータ生成装置。
The data generation apparatus according to any one of claims 1 to 5, wherein the solid included in the small piece is a sphere.
前記小片が有する立体は、金属材料、または石によって形成されている
ことを特徴とする請求項1から請求項6までのいずれか一項に記載のデータ生成装置。
The data generation apparatus according to any one of claims 1 to 6, wherein the solid that the small piece has is formed of a metal material or stone.
視認可能な立体を有し、前記立体の大きさが異なる複数種類の小片を用いたモザイク画の原画となる原画像を取得する画像取得手順と、
前記画像取得手順で取得した原画像を構成するピクセルを少なくとも1つ含むピクセル領域それぞれの色の濃淡を表す色濃度を取得する濃度取得手順と、
モザイク画の生成に使用可能な前記小片の種類を少なくとも含む使用情報を取得する情報取得手順と、
前記ピクセル領域の各々に前記小片を設定する設定手順であって、前記濃度取得手順で取得した色濃度に基づいて、前記ピクセル領域における色濃度が高いことを表しているほど、前記情報取得手順で取得した使用情報に含まれる使用可能な前記小片のうち前記立体の大きさが大きい小片を当該ピクセル領域に設定する設定手順と、
前記ピクセル領域それぞれに前記設定手順にて設定された前記小片の各々を対応付けることで生成されるモザイク画を表すモザイク画データを生成するデータ生成手順とを、
コンピュータに実行させることを特徴とするプログラム。
An image acquisition procedure for acquiring an original image that is an original image of a mosaic image using a plurality of types of small pieces having a visible solid and having different sizes of the solid;
A density acquisition procedure for acquiring a color density representing a color density of each of the pixel regions including at least one pixel constituting the original image acquired by the image acquisition procedure;
An information acquisition procedure for acquiring usage information including at least the types of small pieces that can be used to generate a mosaic image;
In the setting procedure for setting the small piece in each of the pixel regions, the higher the color density in the pixel region based on the color density acquired in the density acquisition procedure, the higher the information acquisition procedure. A setting procedure for setting, in the pixel area, a small piece having a large three-dimensional size among the usable small pieces included in the acquired usage information;
A data generation procedure for generating mosaic image data representing a mosaic image generated by associating each of the small pieces set in the setting procedure with each of the pixel regions,
A program characterized by being executed by a computer.
JP2014143328A 2014-07-11 2014-07-11 Data generation apparatus and program Active JP6463916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014143328A JP6463916B2 (en) 2014-07-11 2014-07-11 Data generation apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014143328A JP6463916B2 (en) 2014-07-11 2014-07-11 Data generation apparatus and program

Publications (2)

Publication Number Publication Date
JP2016018541A true JP2016018541A (en) 2016-02-01
JP6463916B2 JP6463916B2 (en) 2019-02-06

Family

ID=55233673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014143328A Active JP6463916B2 (en) 2014-07-11 2014-07-11 Data generation apparatus and program

Country Status (1)

Country Link
JP (1) JP6463916B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816753A (en) * 2019-01-09 2019-05-28 亮风台(上海)信息科技有限公司 It is a kind of for carrying out the method and apparatus of the real-time dynamic configuration of photo wall

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346057A (en) * 1992-06-16 1993-12-27 Fujita Corp Shadow picture projected decorative tile and shadow picture projecting method
JPH08248908A (en) * 1995-03-06 1996-09-27 Kenta Sato Gradation expressing image by arrangement of durable solid

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05346057A (en) * 1992-06-16 1993-12-27 Fujita Corp Shadow picture projected decorative tile and shadow picture projecting method
JPH08248908A (en) * 1995-03-06 1996-09-27 Kenta Sato Gradation expressing image by arrangement of durable solid

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
らばQ: ""何でできているかわかる?庶民にはとても手が届かない、美しすぎるポートレイトができるまで",[online]", LIVEDOOR NEWS, JPN7018001997, 5 March 2014 (2014-03-05) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816753A (en) * 2019-01-09 2019-05-28 亮风台(上海)信息科技有限公司 It is a kind of for carrying out the method and apparatus of the real-time dynamic configuration of photo wall
CN109816753B (en) * 2019-01-09 2022-10-21 亮风台(上海)信息科技有限公司 Method and equipment for carrying out real-time dynamic configuration on photo wall

Also Published As

Publication number Publication date
JP6463916B2 (en) 2019-02-06

Similar Documents

Publication Publication Date Title
TWI602148B (en) Gradient adjustment for texture mapping to non-orthonormal grid
US20170229099A1 (en) Display apparatus and method for controlling display apparatus
JP2015141333A5 (en)
JP2007288555A (en) Device and method for adjusting image
JP2008097245A (en) Rotation angle detection apparatus, and control method and control program of same
JP2008072692A (en) Integrated histogram auto adaptive contrast control (acc)
JP6617432B2 (en) Image processing apparatus and program
JP2020027136A (en) Image processor and calibration method
CN106954054A (en) A kind of image correction method, device and projecting apparatus
JP2007041196A (en) Device and method for processing image, and computer program
JP6463916B2 (en) Data generation apparatus and program
JP2006314014A (en) Display system
JP2016071733A (en) Image processor and image processing method
CN107578476B (en) Visual effect processing method and device for three-dimensional model of medical instrument
JP6548516B2 (en) IMAGE DISPLAY DEVICE, IMAGE PROCESSING DEVICE, CONTROL METHOD OF IMAGE DISPLAY DEVICE, AND CONTROL METHOD OF IMAGE PROCESSING DEVICE
JP2016128893A (en) Image processing device and image processing method
CN109887039B (en) Image processing method, device, storage medium and terminal
JP2007011430A (en) Backlit image decision and dark part correction
JP4798017B2 (en) Image processing apparatus, image processing method, and program
JP2010091617A (en) Automatic setting device for character color of clock, method and program for the same
US8059132B2 (en) Digital photo frame capable of displaying images asynchronously and method thereof
TWI439962B (en) Intuitive image depth generation system and image depth generation method
JP2016215633A5 (en)
CN106843793A (en) A kind of data display method and device
JP2018046429A5 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170710

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180927

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190107

R150 Certificate of patent or registration of utility model

Ref document number: 6463916

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250