JP4477383B2 - Product data generator - Google Patents

Product data generator Download PDF

Info

Publication number
JP4477383B2
JP4477383B2 JP2004065254A JP2004065254A JP4477383B2 JP 4477383 B2 JP4477383 B2 JP 4477383B2 JP 2004065254 A JP2004065254 A JP 2004065254A JP 2004065254 A JP2004065254 A JP 2004065254A JP 4477383 B2 JP4477383 B2 JP 4477383B2
Authority
JP
Japan
Prior art keywords
product
image data
data
image
control
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.)
Expired - Fee Related
Application number
JP2004065254A
Other languages
Japanese (ja)
Other versions
JP2005258521A (en
Inventor
恒夫 村上
Original Assignee
株式会社サイバーリンクス
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 株式会社サイバーリンクス filed Critical 株式会社サイバーリンクス
Priority to JP2004065254A priority Critical patent/JP4477383B2/en
Publication of JP2005258521A publication Critical patent/JP2005258521A/en
Application granted granted Critical
Publication of JP4477383B2 publication Critical patent/JP4477383B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

本発明は、商品の寸法データを生成する商品データ生成装置に関するものである。   The present invention relates to a product data generation device that generates product size data.

近年、インターネットの普及やコンピュータによる画像処理技術の向上に伴い、商品のプレゼンテーション等に3次元モデルデータが用いられるようになってきた。例えば、コンビニエンスストア、スーパーマーケット等の売り場の棚に、種々の商品を陳列した場合の見映え及び陳列個数等をシミュレーシュンによって確認する棚割システムにおいて、各商品が陳列される向きは、各商品の正面、側面、又は上面のいずれかが顧客から見える側に陳列されることが想定されるため、膨大な種類の商品について、商品毎の正面図、側面図及び上面図にそれぞれ相当する画像データ及び寸法データが必要である。また、商品が掲載された広告をパーソナルコンピュータ等のコンピュータを使用して生成する場合には、商品の俯瞰図に相当する画像データが必要である。   In recent years, with the spread of the Internet and the improvement of image processing technology using computers, three-dimensional model data has been used for product presentations and the like. For example, in a shelf allocation system that checks the appearance and number of items displayed on a shelf in a store such as a convenience store or supermarket by simulation, the direction in which each item is displayed depends on the direction of each item. Since it is assumed that either the front, side, or top surface is displayed on the side visible to the customer, image data corresponding to the front view, side view, and top view for each product, Dimension data is required. In addition, when an advertisement on which a product is posted is generated using a computer such as a personal computer, image data corresponding to an overhead view of the product is required.

一方、3次元モデルデータを生成する方法として種々の方法が提案されている。例えば、被写体部分と背景を切り分ける被写体物体(O)と、2以上の整数をnとし、n値の電気的信号(S)等によりその色彩と輝度の一方または両方が変化する背景表示手段(BD)と、背景表示手段(BD)と同じように変化し被写体物体を乗せる被写体保持手段(T)と、電気的信号(S)等を変えて背景表示手段(BD)や被写体保持手段(T)の色彩と輝度の一方または両方を変化させながら被写体物体、背景表示手段および被写体保持手段を含むn枚の画像P1〜Pnを撮影する撮影手段(CM)と、この撮影手段(CM)で撮影した背景表示手段(BD)や被写体保持手段(T)の色彩と輝度の一方または両方を変化させたn枚の画像P1〜Pnの特性値を比較する画像処理手段(SC)とを含ませ、前記画像処理手段(SC)により特性値の変化の大きい部分を背景とし、少ない部分を被写体物体(O)のシルエットとして抽出する方法が提案されている(特許文献1参照)。   On the other hand, various methods have been proposed as methods for generating three-dimensional model data. For example, a subject object (O) that separates the subject portion and the background, and a background display means (BD) in which one or both of the color and the luminance is changed by an n-value electrical signal (S) or the like, where n is an integer of 2 or more. ), A subject holding means (T) that changes in the same manner as the background display means (BD), and a background display means (BD) or subject holding means (T) by changing an electrical signal (S) or the like. The photographing means (CM) for photographing n images P1 to Pn including the subject object, the background display means and the subject holding means while changing one or both of the color and brightness of the image, and the photographing means (CM) Image processing means (SC) for comparing characteristic values of n images P1 to Pn in which one or both of the color and brightness of the background display means (BD) and subject holding means (T) are changed, and Image processing means (S ) By a large portion of the change in the characteristic value as a background, a method of extracting is proposed less parts as silhouettes of the subject object (O) (see Patent Document 1).

このように、背景表示手段として自発光型の表示手段を用いることにより、背景の輝度や色彩の変化量を被写体物体(O)の変化量よりも大きくし、被写体物体(O)に背景に近い色彩があったり、被写体物体(O)の色彩が変化したりしても、正確に背景と被写体とをセグメンテーションすることが可能となる。すなわち、商品の寸法データ(及び画像データ)を正確に求めることが可能となる。
特開2001−148021号公報
In this way, by using the self-luminous display means as the background display means, the amount of change in the brightness and color of the background is made larger than the amount of change in the subject object (O), and the subject object (O) is close to the background. Even if there is a color or the color of the subject object (O) changes, the background and the subject can be accurately segmented. In other words, it is possible to accurately obtain product dimension data (and image data).
JP 2001-148021 A

しかし、2以上の整数をnとし、n値の電気的信号(S)等によりその色彩と輝度の一方または両方が変化する背景表示手段(BD)、及び、背景表示手段(BD)と同じように変化し被写体物体を乗せる被写体保持手段(T)を製作するためには、多額の費用を必要とする。   However, it is the same as the background display means (BD) and the background display means (BD), where n is an integer of 2 or more, and one or both of the color and brightness changes according to an n-value electrical signal (S) or the like. In order to produce the subject holding means (T) for changing the object to place the subject object, a large amount of cost is required.

本発明は、上記課題に鑑みてなされたもので、商品の寸法データを正確に求めることが可能であり、且つ、安価に製造可能な商品データ生成装置を提供することを目的とするものである。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a product data generation apparatus that can accurately obtain product dimension data and can be manufactured at low cost. .

請求項1に記載の商品データ生成装置は、商品の寸法データを生成する商品データ生成装置であって、前記商品が内部に配置される暗室と、前記暗室内に配設され、前記商品及び背景の画像データを生成する撮影手段と、前記暗室内に配設され、紫外線を前記背景に照射するブラックライトと、前記撮像手段により生成された画像データを用いて商品の寸法データを求める画像処理手段と、前記商品に可視光を照射する第1商品照明手段とを備え、前記暗室は、前記ブラックライトが照射されると蛍光発光する材料が、少なくとも前記背景となる面に設けられており、前記撮像手段は、前記ブラックライトを照射した際の画像データを生成するものであり、前記第1商品照明手段を照射した状態で、前記ブラックライトを照射した場合の画像データである第1画像データと、前記ブラックライトを照射しない場合の画像データである第2画像データとを生成し、前記画像処理手段は、前記第1画像データと第2画像データとの画素毎の色に関する特性値の差が所定の値より小さい画素を前記商品に対応する画素として抽出することを特徴としている。
The product data generation device according to claim 1 is a product data generation device that generates size data of a product, wherein the product is arranged in a dark room, the product and the background. Image processing means for generating image data, a black light disposed in the dark room for irradiating the background with ultraviolet light, and image processing means for obtaining product dimension data using the image data generated by the imaging means And a first product illumination means for irradiating the product with visible light, wherein the darkroom is provided with a material that emits fluorescence when irradiated with the black light, at least on the background surface, imaging means is adapted to generate image data when irradiated with the black light, while irradiating the first product illumination means, an image in a case of radiating the black light First image data that is data and second image data that is image data when the black light is not irradiated, and the image processing means includes pixels of the first image data and the second image data. It is characterized in that a pixel whose characteristic value difference for each color is smaller than a predetermined value is extracted as a pixel corresponding to the product .

上記の構成によれば、暗室の内部に商品が配置され、暗室内に配設された撮影手段によって、商品及び背景の画像データが生成される。ここで、暗室内に配設されたブラックライトによって、紫外線が画像データの背景に相当する箇所に照射され、暗室の少なくとも画像データの背景に相当する面には、ブラックライトが照射されると蛍光発光する材料が設けられている。つまり、ブラックライトが照射されると画像データの背景に相当する面が蛍光発光するべく構成されている。そして、撮像手段によって、ブラックライトを照射した際(すなわち、画像データの背景に相当する面を蛍光発光させた状態)の画像データが生成され、画像処理手段によって、撮像手段により生成された画像データを用いて商品の寸法データが求められる。   According to said structure, goods are arrange | positioned inside a dark room and image data of goods and background are produced | generated by the imaging | photography means arrange | positioned in a dark room. Here, the black light disposed in the dark room irradiates ultraviolet rays to a portion corresponding to the background of the image data, and at least the surface corresponding to the background of the image data in the dark room is irradiated with the black light. A light emitting material is provided. That is, the surface corresponding to the background of the image data is configured to emit fluorescence when irradiated with black light. Then, image data when the black light is irradiated by the imaging means (that is, a state where the surface corresponding to the background of the image data is fluorescently emitted) is generated, and the image data generated by the imaging means by the image processing means Dimension data of the product is obtained using

従って、画像データの背景に相当する面を蛍光発光させた状態の画像データを用いて商品の寸法データが求められるため、商品と背景との境界が明確となり、商品の寸法データが正確に求められる。また、ブラックライトを配設し、画像データの背景に相当する面に蛍光発光する材料を設けた構成によって、画像データの背景に相当する面を蛍光発光させるため、構成が簡単であり、商品データ生成装置を安価に製造可能となる。なお、暗室は、外光が完全に遮断されるものの他、外光の影響を受け難い実質的に暗室となるものでもよい。   Accordingly, since the product dimension data is obtained using the image data in a state where the surface corresponding to the background of the image data is fluorescently emitted, the boundary between the product and the background is clarified, and the product dimension data is accurately obtained. . In addition, since the surface corresponding to the background of the image data is fluorescently emitted by the arrangement in which the black light is provided and the material corresponding to the background of the image data is provided with the fluorescent light emission, the configuration is simple and the product data A production | generation apparatus can be manufactured cheaply. The dark room may be a dark room that is not easily affected by outside light, in addition to the one that completely blocks outside light.

また、上記の構成によれば、撮影手段によって、第1商品照明手段により商品に可視光が照射され状態で、ブラックライトを照射した場合の画像データ(すなわち、背景に相当する面が蛍光発光している画像データ)である第1画像データと、ブラックライトを照射しない場合の画像データである第2画像データとが生成される。そして、画像処理手段によって、第1画像データと第2画像データとの画素毎の色に関する特性値の差が所定の値より小さい画素が商品に対応する画素として抽出される。
Further , according to the above configuration, the image data when the product is irradiated with visible light by the first product illumination unit and the black light is irradiated by the photographing unit (that is, the surface corresponding to the background emits fluorescence). First image data) and second image data which is image data when no black light is irradiated. Then, the image processing means extracts pixels having a characteristic value difference between the first image data and the second image data, which is smaller than a predetermined value, for each pixel as pixels corresponding to the product.

従って、背景に相当する面が蛍光発光している画像データである第1画像データと、背景に相当する面が蛍光発光していない画像データである第2画像データとの画素毎の色に関する特性値の差が所定の値より小さい画素が商品に対応する画素として抽出されるため、商品の寸法データが更に正確に求められる。   Therefore, the characteristics regarding the color for each pixel of the first image data that is image data in which the surface corresponding to the background emits fluorescence and the second image data that is image data in which the surface corresponding to the background does not emit fluorescence. Since pixels whose value difference is smaller than a predetermined value are extracted as pixels corresponding to the product, the dimensional data of the product can be obtained more accurately.

請求項に記載の商品データ生成装置は、前記画像処理手段が、前記第1画像データと第2画像データとの画素毎の色差が所定の値より小さい画素を前記商品に対応する画素として抽出することを特徴としている。
3. The product data generation apparatus according to claim 2 , wherein the image processing unit extracts, as a pixel corresponding to the product, a pixel whose color difference between the first image data and the second image data is smaller than a predetermined value. It is characterized by doing.

上記の構成によれば、画像処理手段によって、第1画像データと第2画像データとの画素毎の色差が所定の値より小さい画素が商品に対応する画素として抽出される。   According to said structure, the pixel from which the color difference for every pixel of 1st image data and 2nd image data is smaller than predetermined value is extracted as a pixel corresponding to goods by an image processing means.

従って、背景に相当する面が蛍光発光している画像データである第1画像データと、背景に相当する面が蛍光発光していない画像データである第2画像データとの画素毎の色差が所定の値より小さい画素が商品に対応する画素として抽出されるため、商品の寸法データが容易に且つ正確に求められる。   Therefore, the color difference for each pixel between the first image data, which is image data in which the surface corresponding to the background emits fluorescence, and the second image data, which is image data in which the surface corresponding to the background does not emit fluorescence, is predetermined. Since the pixels smaller than the value of the product are extracted as the pixels corresponding to the product, the dimensional data of the product can be obtained easily and accurately.

請求項に記載の商品データ生成装置は、前記商品を前記第1商品照明手段によって照射された場合より高い照度とするべく前記商品に白色光を照射する第2商品照明手段を備え、前記撮影手段が、前記第2商品照明手段を照射した状態で、前記第1商品照明手段及びブラックライトを照射しない場合の画像データである第3画像データを生成し、前記画像処理手段が、前記第3画像データの内、前記第1画像データ及び第2画像データを用いて抽出された前記商品に対応する画素のデータを、前記商品の画像データとして求めることを特徴としている。
The product data generation device according to claim 3 , further comprising: a second product illumination unit that irradiates the product with white light so as to have a higher illuminance than when the product is illuminated by the first product illumination unit. Means generates third image data which is image data when the second product illumination unit is not irradiated with the first product illumination unit and the black light, and the image processing unit includes the third product illumination unit. Of image data, pixel data corresponding to the product extracted using the first image data and the second image data is obtained as image data of the product.

上記の構成によれば、第2商品照明手段によって、商品を第1商品照明手段により照射された場合より高い照度とするべく商品に白色光が照射される。そして、撮影手段によって、第2商品照明手段を照射した状態で、第1商品照明手段及びブラックライトを照射しない場合の画像データ(すなわち、商品に白色光が照射された場合の画像データ)である第3画像データが生成され、画像処理手段によって、第3画像データの内、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータが、商品の画像データとして求められる。   According to said structure, white light is irradiated to a product by the 2nd product illumination means so that it may be set as illuminance higher than the case where a product is irradiated by the 1st product illumination means. And it is the image data when not irradiating the first product illumination means and the black light in a state where the second product illumination means is irradiated by the photographing means (that is, image data when the product is irradiated with white light). Third image data is generated, and pixel data corresponding to the product extracted using the first image data and the second image data is obtained as image data of the product by the image processing means. It is done.

そこで、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータが、商品の画像データとして求められるため、商品に対応する画素が正確に求められ、商品に白色光が照射された場合の画像データである第3画像データの商品に対応する画素のデータが、商品の画像データとして求められるため、適切な画像データが求められる。   Therefore, since pixel data corresponding to the product extracted using the first image data and the second image data is obtained as product image data, the pixel corresponding to the product is accurately obtained, and the product has white light. Since pixel data corresponding to the product of the third image data, which is image data when the light is irradiated, is obtained as product image data, appropriate image data is obtained.

従って、商品に白色光が照射された場合の画像データである第3画像データの内、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータが、商品の画像データとして求められるため、商品の正確な輪郭を有する適切な画像データが求められる。   Therefore, among the third image data that is image data when the product is irradiated with white light, pixel data corresponding to the product extracted using the first image data and the second image data is the product image. Since it is calculated | required as data, the appropriate image data which has the exact outline of goods is calculated | required.

請求項に記載の商品データ生成装置は、前記暗室内に配設され、前記商品を回転可能に載置すると共に、前記ブラックライトが照射されると蛍光発光する材料を上面に有するターンテーブルと、前記ターンテーブルの回転角を制御する制御手段とを備えることを特徴としている。
The product data generation device according to claim 4 , wherein the product data generation device is disposed in the darkroom, and rotatably mounts the product, and a turntable having a material that emits fluorescence when irradiated with the black light on an upper surface. And a control means for controlling the rotation angle of the turntable.

上記の構成によれば、暗室内に配設され、ブラックライトが照射されると蛍光発光する材料を上面に有するターンテーブルによって、商品が回転可能に載置され、制御手段によって、ターンテーブルの回転角が制御される。   According to the above configuration, the product is rotatably placed by the turntable that is disposed in the dark room and has a fluorescent light emitting material on the upper surface when irradiated with black light, and the turntable is rotated by the control means. The corner is controlled.

従って、商品が載置されたターンテーブルの回転角が制御されるため、商品の向きを自在に変更することが可能となる。また、ターンテーブルは、ブラックライトが照射されると蛍光発光する材料を上面に有するため、画像データの背景に相当する他の面(暗室の壁面、床面等)と同様にブラックライトが照射されると蛍光発光し、背景を構成する画素と認識される。   Accordingly, since the rotation angle of the turntable on which the product is placed is controlled, the direction of the product can be freely changed. The turntable has a material on the top surface that emits fluorescence when irradiated with black light. Therefore, the turntable is irradiated with black light in the same manner as other surfaces (dark room walls, floors, etc.) that correspond to the background of image data. Then, it emits fluorescent light and is recognized as a pixel constituting the background.

請求項に記載の商品データ生成装置は、前記暗室内に配設され、前記撮影手段の位置を変更する移動手段を備え、前記制御手段が、前記移動手段による前記撮影手段の位置を制御することを特徴としている。
The product data generation device according to claim 5 is provided in the darkroom, and includes a moving unit that changes a position of the photographing unit, and the control unit controls the position of the photographing unit by the moving unit. It is characterized by that.

上記の構成によれば、暗室内に配設された移動手段によって、撮影手段の位置が変更され、制御手段によって、移動手段による撮影手段の位置が制御される。従って、撮影手段の位置が制御されるため、撮影手段の位置を自在に変更することが可能となる。つまり、任意の位置から見た画像データを生成することが可能となる。例えば、商品の形態に応じて、所望の位置からの画像データが得られる。   According to the above configuration, the position of the photographing unit is changed by the moving unit disposed in the darkroom, and the position of the photographing unit by the moving unit is controlled by the control unit. Accordingly, since the position of the photographing unit is controlled, the position of the photographing unit can be freely changed. That is, it is possible to generate image data viewed from an arbitrary position. For example, image data from a desired position is obtained according to the form of the product.

請求項に記載の商品データ生成装置は、前記制御手段が、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記撮影手段による撮影の制御とを行うことを特徴としている。
The product data generation apparatus according to claim 6 , wherein the control unit performs on / off control of the black light, the first product illumination unit, and the second product illumination unit, and imaging control by the imaging unit. It is a feature.

上記の構成によれば、制御手段によって、ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、撮影手段による撮影の制御とが行われる。   According to said structure, on-off control of a blacklight, a 1st product illumination means, and a 2nd product illumination means and control of imaging | photography by an imaging | photography means are performed by a control means.

従って、ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、撮影手段による撮影の制御とが行われるため、商品の寸法データ及び画像データを得るための画像データ(上述の第1〜第3画像データ)の生成が容易に行われる。   Therefore, since the on / off control of the black light, the first product illumination unit, and the second product illumination unit and the imaging control by the imaging unit are performed, the image data for obtaining the product dimension data and image data (described above) First to third image data) can be easily generated.

請求項に記載の商品データ生成装置は、前記制御手段が、前記撮影手段によって前記商品を正面、側面及び上面から見た場合の前記第1画像データ、第2画像データ及び第3画像データをそれぞれ生成するべく、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記撮影手段による撮影の制御と、前記ターンテーブルの回転角の制御と、前記移動手段による前記撮影手段の位置の制御とを行い、前記画像処理手段が、前記商品を正面、側面及び上面から見た場合の前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品を正面、側面及び上面から見た場合の寸法データ及び画像データをそれぞれ生成することを特徴としている。
The product data generation apparatus according to claim 7 , wherein the control unit obtains the first image data, the second image data, and the third image data when the product is viewed from the front, side, and top surface by the photographing unit. In order to generate each, the on / off control of the black light, the first product illumination unit and the second product illumination unit, the shooting control by the shooting unit, the control of the rotation angle of the turntable, and the movement unit by the moving unit The position of the photographing means is controlled, and the image processing means uses the first image data, the second image data, and the third image data when the product is viewed from the front, the side, and the top. Dimension data and image data when viewed from the front, side, and top are generated.

上記の構成によれば、制御手段によって、撮影手段により商品を正面、側面及び上面から見た場合の第1画像データ、第2画像データ及び第3画像データをそれぞれ生成するべく、ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、撮影手段による撮影の制御と、ターンテーブルの回転角の制御と、移動手段による撮影手段の位置の制御とが行われ、画像処理手段によって、商品を正面、側面及び上面から見た場合の第1画像データ、第2画像データ及び第3画像データを用いて、商品を正面、側面及び上面から見た場合の寸法データ及び画像データがそれぞれ生成される。   According to the above configuration, the black light, the second image data, and the third image data are generated by the control means so as to generate the first image data, the second image data, and the third image data when the product is viewed from the front, the side, and the upper surface, respectively. The on-off control of the 1 product illumination means and the second product illumination means, the imaging control by the imaging means, the control of the rotation angle of the turntable, and the control of the position of the imaging means by the moving means are performed, and the image processing means By using the first image data, the second image data, and the third image data when the product is viewed from the front, the side, and the top surface, the dimension data and the image data when the product is viewed from the front, the side, and the top surface are obtained. Each is generated.

従って、商品を正面、側面及び上面から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を正面、側面及び上面から見た場合の寸法データ及び画像データがそれぞれ生成されるため、商品を正面、側面及び上面から見た場合の寸法データ及び画像データが容易に生成される。   Accordingly, the first image data, the second image data, and the third image data are generated when the product is viewed from the front, side, and top, and the product is viewed from the front, side, and top using these image data. Since the dimension data and the image data are generated in each case, the dimension data and the image data when the product is viewed from the front, the side, and the top are easily generated.

請求項に記載の商品データ生成装置は、前記制御手段が、前記撮影手段によって前記商品を斜め上方から見た場合の前記第1画像データ、第2画像データ及び第3画像データを生成するべく、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記ターンテーブルの回転角の制御と、前記移動手段による前記撮影手段の位置の制御とを行い、前記画像処理手段が、前記商品を斜め上方から見た場合の前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品を斜め上方から見た場合の画像データを生成することを特徴としている。
The product data generation device according to claim 8 , wherein the control unit generates the first image data, the second image data, and the third image data when the product is viewed obliquely from above by the photographing unit. The image processing is performed by controlling on / off of the black light, the first product illumination unit, and the second product illumination unit, the rotation angle of the turntable, and the position of the photographing unit by the moving unit. The means generates image data when the product is viewed obliquely from above using the first image data, the second image data, and the third image data when the product is viewed from diagonally above. It is said.

上記の構成によれば、制御手段によって、撮影手段により商品を斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データを生成するべく、ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、ターンテーブルの回転角の制御と、移動手段による撮影手段の位置の制御とが行われ、画像処理手段によって、商品を斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データを用いて、商品を斜め上方から見た場合の画像データが生成される。   According to said structure, in order to produce | generate the 1st image data, 2nd image data, and 3rd image data at the time of seeing goods from diagonally upward by a photography means by a control means, a black light, a 1st goods illumination means The second product lighting means is turned on / off, the rotation angle of the turntable is controlled, and the position of the photographing means is controlled by the moving means. When the product is viewed obliquely from above by the image processing means, Image data when the product is viewed obliquely from above is generated using the one image data, the second image data, and the third image data.

従って、商品を斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を斜め上方から場合の画像データが生成されるため、商品を斜め上方から見た場合の画像データが容易に生成される。   Accordingly, the first image data, the second image data, and the third image data are generated when the product is viewed obliquely from above, and the image data when the product is viewed obliquely from above is generated using these image data. Therefore, image data when the product is viewed obliquely from above is easily generated.

請求項に記載の商品データ生成装置は、前記商品に付与されたバーコードを読み取るバーコードリーダと、前記画像処理手段によって生成された前記商品の寸法データ及び画像データを前記商品に付与されたバーコードデータと対応付けて格納する商品データ記憶手段と、前記バーコードリーダによって読み取られたバーコードに対応するバーコードデータが前記商品データ記憶手段に格納されているか否かを判定する判定手段とを備え、前記判定手段によってバーコードデータが前記商品データ記憶手段に格納されていないと判定された場合に、前記制御手段が、前記第1画像データ、第2画像データ及び第3画像データを生成するべく制御を行い、前記画像処理手段が、前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品の寸法データ及び画像データを生成して前記商品データ記憶手段に前記バーコードデータと対応付けて格納することを特徴としている。
The product data generation device according to claim 9 , wherein a barcode reader that reads a barcode attached to the product, and dimension data and image data of the product generated by the image processing unit are attached to the product. Product data storage means for storing in association with barcode data; and determination means for determining whether or not barcode data corresponding to the barcode read by the barcode reader is stored in the product data storage means; And the control means generates the first image data, the second image data, and the third image data when the determination means determines that the barcode data is not stored in the product data storage means. And the image processing means uses the first image data, the second image data, and the third image data. Is characterized in the storing in association with the bar code data into said product data storage means to generate the dimensional data and the image data of the product.

上記の構成によれば、商品データ記憶手段に、画像処理手段により生成された商品の寸法データ及び画像データが商品に付与されたバーコードデータと対応付けて格納されており、バーコードリーダによって、商品に付与されたバーコードが読み取られ、判定手段によって、バーコードリーダによって読み取られたバーコードに対応するバーコードデータが商品データ記憶手段に格納されているか否かが判定される。そして、判定手段によってバーコードデータが商品データ記憶手段に格納されていないと判定された場合に、制御手段によって、第1画像データ、第2画像データ及び第3画像データを生成するべく制御が行われ、画像処理手段によって、第1画像データ、第2画像データ及び第3画像データを用いて、商品の寸法データ及び画像データが生成されて商品データ記憶手段にバーコードデータと対応付けて格納される。   According to the above configuration, the product data storage means stores the dimension data and image data of the product generated by the image processing means in association with the barcode data attached to the product, and the barcode reader The barcode attached to the product is read, and the determination unit determines whether or not the barcode data corresponding to the barcode read by the barcode reader is stored in the product data storage unit. Then, when the determination unit determines that the barcode data is not stored in the product data storage unit, the control unit performs control to generate the first image data, the second image data, and the third image data. The product size data and image data are generated by the image processing means using the first image data, the second image data, and the third image data, and stored in the product data storage means in association with the barcode data. The

従って、バーコードデータが商品データ記憶手段に格納されていないと判定された場合に、商品の寸法データ及び画像データが生成されて商品データ記憶手段にバーコードデータと対応付けて格納されるため、商品の寸法データ及び画像データを効率よく生成することが可能となる。   Therefore, when it is determined that the barcode data is not stored in the product data storage means, the product dimension data and the image data are generated and stored in association with the barcode data in the product data storage means. Product dimension data and image data can be efficiently generated.

請求項1に記載の発明によれば、画像データの背景に相当する面を蛍光発光させた状態の画像データを用いて商品の寸法データが求められるため、商品と背景との境界が明確となり、商品の寸法データを正確に求めることができる。また、ブラックライトを配設し、画像データの背景に相当する面に蛍光発光する材料を設けた構成によって、画像データの背景に相当する面を蛍光発光させるため、構成が簡単であり、商品データ生成装置を安価に製造することができる。   According to the invention described in claim 1, since the dimension data of the product is obtained using the image data in a state where the surface corresponding to the background of the image data is fluorescently emitted, the boundary between the product and the background becomes clear, The product dimension data can be obtained accurately. In addition, since the surface corresponding to the background of the image data is fluorescently emitted by the arrangement in which the black light is provided and the material corresponding to the background of the image data is provided with the fluorescent light emission, the configuration is simple and the product data A production | generation apparatus can be manufactured cheaply.

また、請求項に記載の発明によれば、背景に相当する面が蛍光発光している画像データである第1画像データと、背景に相当する面が蛍光発光していない画像データである第2画像データとの画素毎の色に関する特性値の差が所定の値より小さい画素が商品に対応する画素として抽出されるため、商品の寸法データを更に正確に求めることができる。
Further, according to the invention described in claim 1, first a first image data surface corresponding to the background is the image data that fluoresce, is a surface corresponding to the background is the image data which is not fluoresce Since pixels having a characteristic value difference with respect to the color of each pixel from the two image data are smaller than a predetermined value are extracted as pixels corresponding to the product, the size data of the product can be obtained more accurately.

請求項に記載の発明によれば、背景に相当する面が蛍光発光している画像データである第1画像データと、背景に相当する面が蛍光発光していない画像データである第2画像データとの画素毎の色差が所定の値より小さい画素が商品に対応する画素として抽出されるため、商品の寸法データを容易に且つ正確に求めることができる。
According to the second aspect of the present invention, the first image data that is image data in which the surface corresponding to the background emits fluorescence and the second image that is image data in which the surface corresponding to the background does not emit fluorescence. Since a pixel having a color difference with respect to each pixel smaller than a predetermined value is extracted as a pixel corresponding to the product, the dimensional data of the product can be obtained easily and accurately.

請求項に記載の発明によれば、商品に白色光が照射された場合の画像データである第3画像データの内、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータが、商品の画像データとして求められるため、商品の正確な輪郭を有する適切な画像データを求めることができる。
According to the invention of claim 3 , it corresponds to the product extracted using the first image data and the second image data among the third image data which is the image data when the product is irradiated with white light. Since the pixel data to be obtained is obtained as image data of the product, appropriate image data having an accurate contour of the product can be obtained.

請求項に記載の発明によれば、商品が載置されたターンテーブルの回転角が制御されるため、商品の向きを自在に変更することができる。また、ターンテーブルは、ブラックライトが照射されると蛍光発光する材料を上面に有するため、画像データの背景に相当する他の面(暗室の壁面、床面等)と同様にブラックライトが照射されると蛍光発光し、背景を構成する画素と認識できる。
According to the invention described in claim 4 , since the rotation angle of the turntable on which the product is placed is controlled, the direction of the product can be freely changed. The turntable has a material on the top surface that emits fluorescence when irradiated with black light. Therefore, the turntable is irradiated with black light in the same manner as other surfaces (dark room walls, floors, etc.) that correspond to the background of image data. Then, it emits fluorescent light and can be recognized as a pixel constituting the background.

請求項に記載の発明によれば、撮影手段の位置が制御されるため、撮影手段の位置を自在に変更することができる。つまり、任意の位置から見た画像データを生成することができる。
According to the fifth aspect of the present invention, since the position of the photographing means is controlled, the position of the photographing means can be freely changed. That is, image data viewed from an arbitrary position can be generated.

請求項に記載の発明によれば、ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、撮影手段による撮影の制御とが行われるため、商品の寸法データ及び画像データを得るための画像データ(上述の第1〜第3画像データ)の生成を容易に行うことができる。
According to the sixth aspect of the invention, since the on / off control of the black light, the first product illumination unit and the second product illumination unit and the imaging control by the imaging unit are performed, the product dimension data and the image data The image data for obtaining the image (the first to third image data described above) can be easily generated.

請求項に記載の発明によれば、商品を正面、側面及び上面から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を正面、側面及び上面から見た場合の寸法データ及び画像データがそれぞれ生成されるため、商品を正面、側面及び上面から見た場合の寸法データ及び画像データを容易に生成することができる。
According to the seventh aspect of the present invention, the first image data, the second image data, and the third image data when the product is viewed from the front, the side, and the top are generated. Since the dimension data and the image data when the product is viewed from the front, the side, and the top surface are respectively generated, the dimension data and the image data when the product is viewed from the front, the side, and the top surface can be easily generated.

請求項に記載の発明によれば、商品を斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を斜め上方から場合の画像データが生成されるため、商品を斜め上方から見た場合の画像データを容易に生成することができる。
According to the invention described in claim 8 , the first image data, the second image data, and the third image data when the product is viewed obliquely from above are generated, and the product is obliquely upward using these image data. Since the image data of the case is generated, the image data when the product is viewed obliquely from above can be easily generated.

請求項に記載の発明によれば、バーコードデータが商品データ記憶手段に格納されていないと判定された場合に、商品の寸法データ及び画像データが生成されて商品データ記憶手段にバーコードデータと対応付けて格納されるため、商品の寸法データ及び画像データを効率よく生成することができる。
According to the ninth aspect of the present invention, when it is determined that the barcode data is not stored in the product data storage means, product dimension data and image data are generated, and the barcode data is stored in the product data storage means. Therefore, product dimension data and image data can be efficiently generated.

図1は、本発明の商品データ生成装置の平面図の一例である。商品データ生成装置は、暗室1と、商品及び背景の画像データを生成するカラー撮影可能なディジタルカメラ2(撮像手段に相当する)と、紫外線を照射するブラックライト(Black Light)31〜35(以下、総称して、ブラックライト3という)と、商品に可視光を照射する天井灯4(第1商品照明手段に相当する)と、商品に白色光を照射する照明灯51〜58(以下、総称して、照明灯5という:第2商品照明手段に相当する)と、商品を回転可能に載置するターンテーブル6と、ディジタルカメラ2の位置を変更する支持アーム7(移動手段に相当する)と、各種の制御を行うパーソナルコンピュータ等からなる制御装置8とを備えている。   FIG. 1 is an example of a plan view of a product data generation apparatus of the present invention. The product data generating apparatus includes a dark room 1, a digital camera 2 (corresponding to an imaging unit) capable of color image generation for generating product and background image data, and black lights (Black Light) 31 to 35 (hereinafter referred to as "ultraviolet rays"). , Generically referred to as black light 3), ceiling light 4 (corresponding to the first product illumination means) for irradiating the product with visible light, and illumination lamps 51-58 (hereinafter, generically) for irradiating the product with white light. The lighting lamp 5 is equivalent to the second product lighting means), the turntable 6 on which the product is rotatably mounted, and the support arm 7 that changes the position of the digital camera 2 (corresponding to the moving means). And a control device 8 composed of a personal computer or the like for performing various controls.

暗室1は、外部からの光の侵入を実質的に防止する構造を有し、その内部に、ディジタルカメラ2、ブラックライト3、天井灯4、照明灯5、ターンテーブル6及び支持アーム7が配設されている。また、暗室1の内面適所(床面、壁面等)には、ブラックライト3が照射されると蛍光発光する材料を含む塗料(以下、蛍光塗料という)が塗布されている。   The dark room 1 has a structure that substantially prevents intrusion of light from the outside, and a digital camera 2, a black light 3, a ceiling light 4, an illumination light 5, a turntable 6, and a support arm 7 are arranged therein. It is installed. In addition, a paint containing a material that emits fluorescence when irradiated with the black light 3 (hereinafter referred to as a fluorescent paint) is applied to an appropriate inner surface (floor surface, wall surface, etc.) of the dark room 1.

ディジタルカメラ2は、いわゆるRGBカラーフィルタ付きのCCDカメラであって、画素数は、例えば、各色毎に1600×2400ピクセルである。また、ディジタルカメラ2は、AF(Auto Focus)機能、AE(Automatic Exposure)機能等を有し、ストロボの使用を禁止されているものである。なお、ディジタルカメラ2は、撮影された画像データを各色毎に記憶するものである。   The digital camera 2 is a CCD camera with a so-called RGB color filter, and the number of pixels is, for example, 1600 × 2400 pixels for each color. The digital camera 2 has an AF (Auto Focus) function, an AE (Automatic Exposure) function, and the like, and the use of a strobe is prohibited. The digital camera 2 stores captured image data for each color.

ブラックライト3は、可視光線をカットして、蛍光作用の強い紫外線(波長352nm)を効率よく発生するものである。また、暗室1内において、ブラックライト3は、ディジタルカメラ2近傍の支持アーム7に1本(ブラックライト31:図2参照)と、側壁部に4本(ブラックライト32〜35)との計5本が配設されている。   The black light 3 cuts visible light and efficiently generates ultraviolet rays having a strong fluorescent action (wavelength 352 nm). In the dark room 1, there are a total of five black lights 3, one for the support arm 7 in the vicinity of the digital camera 2 (black light 31: see FIG. 2) and four for the side wall (black lights 32 to 35). A book is arranged.

天井灯4、照明灯5は、いずれも白色光を照射するいわゆる蛍光灯からなり、暗室1内において、天井灯4は、天井部に配設された1本の蛍光灯であり、照明灯5は、側壁部に配設された8本の蛍光灯51〜58である。   Both the ceiling lamp 4 and the illuminating lamp 5 are so-called fluorescent lamps that irradiate white light. In the dark room 1, the ceiling lamp 4 is a single fluorescent lamp disposed on the ceiling, and the illuminating lamp 5 Are eight fluorescent lamps 51 to 58 arranged on the side wall.

ターンテーブル6は、その水平な上面に商品が載置可能にされ、図略のモータ等によって垂直軸周りに回転自在に構成されており、更に、ここでは、図略のモータ等によって上下方向に昇降自在に構成されている。各モータの駆動量制御は、モータへの駆動パルス数をカウントするか、または、被駆動部に設けられたエンコーダ(回転軸では、ロータリーエンコーダ)からの駆動パルスをカウントすることで行われる。   The turntable 6 is configured such that a product can be placed on the horizontal upper surface thereof, and is configured to be rotatable around a vertical axis by a motor (not shown) or the like. It can be moved up and down. The drive amount control of each motor is performed by counting the number of drive pulses to the motor or by counting drive pulses from an encoder (rotary encoder in the rotating shaft) provided in the driven part.

図2は、支持アーム7の構成図の一例である。(a)は、上面図であり、(b)は側面図である。支持アーム7は、先端にディジタルカメラ2及びブラックライト31が固定された略L字形状の可動部72と、基端が暗室1の床面11にボルト止めされ、可動部72をその基端側で挟持して回転軸73で軸支する固定部71と、回転軸73を中心として可動部72を回転させるモータ等からなる図略の駆動部とを備えている。ターンテーブル6の上面中心と回転軸73とは高さが略一致し、且つ、可動部72先端はターンテーブル6の中心を通る垂直面を旋回するものである。   FIG. 2 is an example of a configuration diagram of the support arm 7. (A) is a top view, (b) is a side view. The support arm 7 has a substantially L-shaped movable part 72 with a digital camera 2 and a black light 31 fixed to the distal end thereof, and a base end bolted to the floor 11 of the dark room 1. And a fixed portion 71 that is supported by a rotary shaft 73 and a drive unit (not shown) that includes a motor that rotates the movable portion 72 around the rotary shaft 73. The height of the center of the upper surface of the turntable 6 and the rotation shaft 73 are substantially the same, and the tip of the movable portion 72 is swiveled on a vertical plane passing through the center of the turntable 6.

可動部72は、水平位置を基準として略90°回転可能に構成されており、水平位置を基準とする回転角θが略0°の状態で、ディジタルカメラ2によって、商品を正面及び側面から見た画像データが生成される。また、回転角θが略90°の状態で、ディジタルカメラ2によって、商品を上面から見た画像データが生成される。更に、商品を斜め上から見た画像データを生成する際には、回転角θは、商品の形態に応じて15〜60°に設定される。   The movable portion 72 is configured to be able to rotate approximately 90 ° with respect to the horizontal position, and the product can be viewed from the front and side by the digital camera 2 in a state where the rotation angle θ with respect to the horizontal position is approximately 0 °. Image data is generated. In addition, in the state where the rotation angle θ is approximately 90 °, the digital camera 2 generates image data in which the product is viewed from above. Furthermore, when generating image data obtained by viewing the product from obliquely above, the rotation angle θ is set to 15 to 60 ° depending on the form of the product.

図3は、制御装置8のハード構成図の一例である。制御部86は制御装置8の全体の動作を制御するもので、情報処理部(CPU)861と、処理途中の情報等を一時的に格納するRAM862と、オペレーティングシステム(OS)等が予め記憶されたROM863とを備える。   FIG. 3 is an example of a hardware configuration diagram of the control device 8. The control unit 86 controls the overall operation of the control device 8. An information processing unit (CPU) 861, a RAM 862 for temporarily storing information during processing, an operating system (OS), and the like are stored in advance. ROM 863.

外部入出力制御部871は、制御部86とディジタルカメラ2、ブラックライト3、天井灯4、照明灯5、ターンテーブル6、支持アーム7及びバーコードリーダ9を含む外部機器との間で、検出信号を処理用のディジタル信号に変換し、また指令情報を各外部機器に対して制御信号に変換して出力するもので、かかる信号処理と入出力処理とを例えば時分割的に行うものである。外部機器制御部872はそれぞれの時分割期間内に各外部機器への制御信号の出力動作と、各外部機器からの検出信号の入力動作とを行うものである。   The external input / output control unit 871 detects between the control unit 86 and the external devices including the digital camera 2, the black light 3, the ceiling light 4, the illumination light 5, the turntable 6, the support arm 7, and the barcode reader 9. The signal is converted into a digital signal for processing, and the command information is converted into a control signal for output to each external device, and the signal processing and input / output processing are performed, for example, in a time-sharing manner. . The external device control unit 872 performs a control signal output operation to each external device and a detection signal input operation from each external device within each time division period.

バーコードリーダ9は、商品または商品の包装に印刷されたバーコードを読み取るものである。描画処理部811は制御部86からの画像表示指示に従って所要の画像をモニタ81に表示させるもので、ビデオRAM等を備える。音声再生部821は制御部86からの指示に従って所定のメッセージ等をスピーカ82に出力するものである。I/F部831は、制御部86からの書込み(または読み出し)指示に従ってディジタルカメラ2で生成された画像データ等の情報をHDD83に書込み(またはHDD83から読み出し)するものである。   The barcode reader 9 reads a barcode printed on a product or a product packaging. The drawing processing unit 811 displays a required image on the monitor 81 in accordance with an image display instruction from the control unit 86, and includes a video RAM and the like. The audio reproducing unit 821 outputs a predetermined message or the like to the speaker 82 in accordance with an instruction from the control unit 86. The I / F unit 831 writes information such as image data generated by the digital camera 2 to the HDD 83 (or reads from the HDD 83) in accordance with a writing (or reading) instruction from the control unit 86.

CPU861は、内蔵のあるいは外部からの装着脱式としてのROM863に記録されているオペレーティングシステム(OS)に基づいて、ROM863から画像、音声及び制御プログラムデータを読み出す。読み出された画像、音声及び制御プログラムデータ等の一部若しくは全部は、RAM862上に保持される。以降、CPU861は、RAM862上に記憶されている制御プログラム、各種データ(画像データ、音声データ)、並びに外部機器からの検出信号等に基づいて、処理が進行される。   The CPU 861 reads out the image, sound, and control program data from the ROM 863 based on an operating system (OS) recorded in the ROM 863 that is built-in or externally attached / detached. Some or all of the read image, sound, control program data, and the like are held on the RAM 862. Thereafter, the CPU 861 proceeds with processing based on a control program stored in the RAM 862, various data (image data, audio data), detection signals from external devices, and the like.

ROM863に記憶された各種データのうち装着脱可能な記録媒体に記憶され得るデータは、例えばハードディスクドライブ、光ディスクドライブ、フレキシブルディスクドライブ、シリコンディスクドライブ、カセット媒体読み取り機等のドライバで読み取り可能にしてもよく、この場合、記録媒体は、例えばハードディスク、光ディスク、フレキシブルディスク、CD、DVD、半導体メモリ等である。   Of various data stored in the ROM 863, data that can be stored in a removable recording medium can be read by a driver such as a hard disk drive, an optical disk drive, a flexible disk drive, a silicon disk drive, or a cassette medium reader. In this case, the recording medium is, for example, a hard disk, an optical disk, a flexible disk, a CD, a DVD, or a semiconductor memory.

図4は、制御装置8の機能構成図の一例である。制御装置8のCPU861は、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータが後述する商品データ記憶部83aに格納されているか否かを判定する判定部861a(判定手段に相当する)と、ディジタルカメラ2、ブラックライト3、天井灯4、照明灯5、ターンテーブル6及び支持アーム7に対して制御指令を出力する制御部861b(制御手段に相当する)と、ディジタルカメラ2により生成された画像データから商品の寸法データ及び画像データを求める画像処理部861c(画像処理手段に相当する)とを備えている。   FIG. 4 is an example of a functional configuration diagram of the control device 8. The CPU 861 of the control device 8 determines whether or not barcode data corresponding to the barcode read by the barcode reader 9 is stored in a product data storage unit 83a described later (corresponding to a determination unit). ), A control unit 861b (corresponding to control means) for outputting control commands to the digital camera 2, the black light 3, the ceiling light 4, the illumination light 5, the turntable 6 and the support arm 7, and the digital camera 2 An image processing unit 861c (corresponding to an image processing unit) that obtains product dimension data and image data from the generated image data is provided.

制御装置8のHDD83は、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータと対応付けて、画像処理部861cによって求められた商品の寸法データ及び画像データを格納する商品データ記憶部83a(商品データ記憶手段に相当する)を備えている。また、制御装置8のRAM862は、制御部861bによる指令に従ってディジタルカメラ2によって生成された商品の画像データ(後述する第1〜第3画像データ)を一時的に格納する画像データ記憶部862aを備えている。   The HDD 83 of the control device 8 stores product size data and image data obtained by the image processing unit 861c in association with barcode data corresponding to the barcode read by the barcode reader 9. 83a (corresponding to product data storage means). The RAM 862 of the control device 8 includes an image data storage unit 862a that temporarily stores product image data (first to third image data described later) generated by the digital camera 2 in accordance with an instruction from the control unit 861b. ing.

図5は、HDD83の商品データ記憶部83aの構成を示す図表の一例である。商品データ記憶部83aは、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータBDと対応付けて、画像処理部861cによって求められた商品の寸法データSD及び画像データPDが格納されている。   FIG. 5 is an example of a chart showing a configuration of the product data storage unit 83a of the HDD 83. The product data storage unit 83a stores product size data SD and image data PD obtained by the image processing unit 861c in association with the barcode data BD corresponding to the barcode read by the barcode reader 9. Yes.

バーコードデータBDは、例えば、いわゆるJANコードに対応するデータであって、国を識別するための2桁の国コードデータBD1と、メーカーを識別するための7桁のメーカーコードデータBD2と、商品を識別するための3桁の商品アイテムコードデータBD3とから構成されている。   The bar code data BD is, for example, data corresponding to a so-called JAN code, which is a 2-digit country code data BD1 for identifying a country, a 7-digit manufacturer code data BD2 for identifying a manufacturer, and a product. 3 item merchandise item code data BD3.

寸法データSDは、例えば、正面から見た画像データから求められる最大高さSD1及び最大幅SD2と、側面から見た画像データから求められる最大奥行きSD3とから構成されている。画像データPDは、正面から見た商品の画像データPD1と、側面から見た商品の画像データPD2と、上面から見た商品の画像データPD3と、斜め上から見た商品の画像データPD4とから構成されている。   The dimension data SD is composed of, for example, a maximum height SD1 and a maximum width SD2 obtained from image data viewed from the front, and a maximum depth SD3 obtained from image data viewed from the side. Image data PD includes product image data PD1 viewed from the front, product image data PD2 viewed from the side, product image data PD3 viewed from the top, and product image data PD4 viewed from the top. It is configured.

再び、図4に示す機能構成図について説明する。判定部861aは、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータが商品データ記憶部83aに格納されているか否かを判定するものである。   The functional configuration diagram shown in FIG. 4 will be described again. The determination unit 861a determines whether or not barcode data corresponding to the barcode read by the barcode reader 9 is stored in the product data storage unit 83a.

具体的には、判定部861aは、まず、商品データ記憶部83aに格納されているバーコードデータBDの内、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータBDの国コードデータBD1及びメーカーコードデータBD2が一致するものを抽出し、つぎに、抽出されたバーコードデータBDの商品アイテムコードデータBD3に、バーコードリーダ9によって読み取られたバーコードに対応するバーコードデータBDの商品アイテムコードデータBD3と一致するものがあるか否かを判定するものである。   Specifically, the determination unit 861a firstly displays the country code data of the barcode data BD corresponding to the barcode read by the barcode reader 9 among the barcode data BD stored in the product data storage unit 83a. The data corresponding to the barcode read by the barcode reader 9 is extracted from the product item code data BD3 of the extracted barcode data BD. It is determined whether or not there is a product that matches the product item code data BD3.

制御部861bは、商品のサイズに応じてターンテーブル6の高さ及びディジタルカメラ2の視野角(ズーム)の調整(以下、初期設定という)を行うものである。また、制御部861bは、商品を正面、側面、上面及び斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データをそれぞれ生成するべく、ブラックライト3、天井灯4及び照明灯5のオンオフの制御と、ディジタルカメラ2による撮影の制御と、ターンテーブル6の回転角の制御と、支持アーム7によるディジタルカメラ2の位置の制御とを行うものである。なお、具体的な初期設定の方法は、図7に示すフローチャートを用いて後述する。   The controller 861b adjusts the height of the turntable 6 and the viewing angle (zoom) of the digital camera 2 (hereinafter referred to as initial setting) in accordance with the size of the product. In addition, the control unit 861b generates the first image data, the second image data, and the third image data when the product is viewed from the front, the side, the top, and the diagonally upper side, respectively. Control of on / off of the illumination lamp 5, control of photographing by the digital camera 2, control of the rotation angle of the turntable 6, and control of the position of the digital camera 2 by the support arm 7 are performed. A specific initial setting method will be described later with reference to the flowchart shown in FIG.

ここで、第1画像データは、ブラックライト3、天井灯4及び照明灯5が、それぞれ、ON、ON及びOFFの場合にディジタルカメラ2によって生成される画像データであり、第2画像データは、ブラックライト3、天井灯4及び照明灯5が、それぞれ、OFF、ON及びOFFの場合にディジタルカメラ2によって生成される画像データであり、第3画像データは、ブラックライト3、天井灯4及び照明灯5が、それぞれ、OFF、OFF及びONの場合にディジタルカメラ2によって生成される画像データである。   Here, the first image data is image data generated by the digital camera 2 when the black light 3, the ceiling light 4, and the illumination light 5 are respectively ON, ON, and OFF, and the second image data is The black light 3, the ceiling light 4, and the illumination light 5 are image data generated by the digital camera 2 when the light is OFF, ON, and OFF, respectively. The third image data is the black light 3, the ceiling light 4, and the illumination. The lamp 5 is image data generated by the digital camera 2 when the lamp 5 is OFF, OFF, and ON, respectively.

換言すれば、第1画像データは、第2画像データと比較して、ブラックライト3により背景部が蛍光発光している点が異なる画像データであり、第3画像データは、商品が最も適切に照明された状態の画像データである。   In other words, the first image data is image data that is different from the second image data in that the background portion is fluorescently emitted by the black light 3, and the third image data is most suitable for the product. This is image data in an illuminated state.

画像処理部861cは、制御部861bによって生成された、商品を正面、側面、上面及び斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データを用いて、商品を正面、側面及び上面から見た場合の寸法データ及び画像データと、商品を斜め上方から見た場合の画像データとを生成するものである。   The image processing unit 861c uses the first image data, the second image data, and the third image data when the product is viewed from the front, the side, the upper surface, and the diagonally upper side generated by the control unit 861b to display the product in front. Dimension data and image data when viewed from the side surface and top surface, and image data when the product is viewed obliquely from above are generated.

より具体的に説明すると、画像処理部861cは、まず、商品を正面、側面、上面及び斜め上方から見た場合の第1画像データ及び第2画像データを用いて、第1画像データと第2画像データとの画素毎の色差が所定の値より小さい画素を商品に対応する画素として抽出することによって、商品を正面、側面、上面及び斜め上方から見た場合の商品の外形データを求めるものである。   More specifically, the image processing unit 861c first uses the first image data and the second image data when the product is viewed from the front, the side, the top, and the diagonally upper side, using the first image data and the second image data. By extracting pixels with a color difference smaller than a predetermined value from the image data as pixels corresponding to the product, the product outline data when the product is viewed from the front, side, top, and diagonally upward is obtained. is there.

そして、画像処理部861cは、商品を正面、側面、上面及び斜め上方から見た場合の第3画像データの内、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータを、商品を正面、側面、上面及び斜め上方から見た場合の商品の画像データとして求めるものである。また、画像処理部861cは、商品を正面、側面及び上面から見た場合の商品の外形データを用いて商品の寸法データ(ここでは、最大高さ、最大幅及び最大奥行き:図5参照)を求めるものである。   Then, the image processing unit 861c is a pixel corresponding to the product extracted using the first image data and the second image data in the third image data when the product is viewed from the front, side, top, and diagonally upward directions. Is obtained as image data of a product when the product is viewed from the front, side, upper surface, and diagonally upward. Further, the image processing unit 861c uses the outer shape data of the product when the product is viewed from the front, side, and upper surface, and the product dimension data (here, maximum height, maximum width, and maximum depth: see FIG. 5). It is what you want.

図6は、本発明の商品データ生成装置の動作の概要を表すフローチャートの一例である。まず、判定部861aによって、バーコードリーダ9からバーコードが読み取られたか否か(バーコードリーダ9からのバーコードデータが入力されたか否か)の判定が行われる(ステップS101)。バーコードデータが入力されていないと判定された場合(ステップS101でNO)には、処理が待機状態とされる。バーコードデータが入力されたと判定された場合(ステップS101でYES)には、判定部861aによって、入力されたバーコードデータと同一のバーコードデータが商品データ記憶部83aに格納されているか否かの判定が行われる(ステップS103)。   FIG. 6 is an example of a flowchart showing an outline of the operation of the product data generation apparatus of the present invention. First, the determination unit 861a determines whether or not a barcode is read from the barcode reader 9 (whether or not barcode data is input from the barcode reader 9) (step S101). If it is determined that the barcode data has not been input (NO in step S101), the process enters a standby state. If it is determined that the barcode data is input (YES in step S101), whether or not the same barcode data as the input barcode data is stored in the product data storage unit 83a by the determination unit 861a. Is determined (step S103).

商品データ記憶部83aに格納されていると判定された場合(ステップS103でYES)には、処理が終了される。商品データ記憶部83aに格納されていないと判定された場合(ステップS103でNO)には、制御部861bによって、商品がターンテーブル6に載置されているか否かの判定が行われる(ステップS105)。この判定は、例えば、制御部861bが、外部からの入力を受け付けて(例えば、マウスからの入力を受け付けて)行うものである。より具体的には、モニタ81に、「商品をターンテーブル上に置いてください」というメッセージと「OK」ボタンとを表示して、「OK」ボタンがクリックされた場合に商品がターンテーブル6に載置されていると判定するものである。   If it is determined that the item is stored in the product data storage unit 83a (YES in step S103), the process ends. When it is determined that the product is not stored in the product data storage unit 83a (NO in step S103), the control unit 861b determines whether or not the product is placed on the turntable 6 (step S105). ). This determination is performed, for example, by the control unit 861b receiving an input from the outside (for example, receiving an input from a mouse). More specifically, a message “Place product on the turntable” and an “OK” button are displayed on the monitor 81, and the product is placed on the turntable 6 when the “OK” button is clicked. It is determined that it is placed.

商品がターンテーブル6に載置されていないと判定された場合(ステップS105でNO)には、処理が待機状態とされる。商品がターンテーブル6に載置されていると判定された場合(ステップS105でYES)には、制御部861bによって、ターンテーブル6の高さ及びディジタルカメラ2の視野角(ズーム)の調整(初期設定)が行われる(ステップS107)。   If it is determined that the product is not placed on the turntable 6 (NO in step S105), the process is set in a standby state. If it is determined that the product is placed on the turntable 6 (YES in step S105), the control unit 861b adjusts the height of the turntable 6 and the viewing angle (zoom) of the digital camera 2 (initial stage). Setting) is performed (step S107).

そして、制御部861bによって、商品を正面から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、画像処理部861cによって、第1画像データ、第2画像データ及び第3画像データを用いて商品を正面から見た場合の寸法データ及び画像データが求められる(ステップS109)。ここで、制御部861bによって第1画像データ、第2画像データ及び第3画像データが生成され、画像処理部861cによって寸法データ及び画像データが求められる一連の処理を本撮影処理という。   Then, the control unit 861b generates first image data, second image data, and third image data when the product is viewed from the front, and the image processing unit 861c generates the first image data, the second image data, and the second image data. Dimension data and image data when the product is viewed from the front using the three image data are obtained (step S109). Here, a series of processes in which the control unit 861b generates the first image data, the second image data, and the third image data and the image processing unit 861c obtains the dimension data and the image data is referred to as a main photographing process.

つぎに、制御部861bによって、ターンテーブル6が90°回転される(ステップS111)。そして、制御部861b及び画像処理部861cによって、商品を側面から見た場合の本撮影処理が行われる(ステップS113)。次いで、制御部861bによって、ターンテーブル6が所定角度θ1(θ1=−90°〜0°)だけ回転され、支持アーム7が所定角度φ1(φ1=0°〜90°)だけ回転される(ステップS115)。例えば、所定角度θ1は−45°であり、所定角度φ1は45°である。   Next, the turntable 6 is rotated by 90 ° by the controller 861b (step S111). The control unit 861b and the image processing unit 861c perform the main photographing process when the product is viewed from the side (step S113). Next, the control unit 861b rotates the turntable 6 by a predetermined angle θ1 (θ1 = −90 ° to 0 °), and the support arm 7 rotates by a predetermined angle φ1 (φ1 = 0 ° to 90 °) (step). S115). For example, the predetermined angle θ1 is −45 °, and the predetermined angle φ1 is 45 °.

そして、制御部861b及び画像処理部861cによって、商品を斜め上方から見た場合の本撮影処理が行われる(ステップS117)。つぎに、制御部861bによって、ターンテーブル6が所定角度θ2(θ2=−90°−θ1)だけ回転され、支持アーム7が所定角度φ2(φ2=90°−φ1)だけ回転される(ステップS119)。すなわち、ターンテーブル6は、初期の位置に戻され、支持アーム7は、初期の位置から90°回転した位置(ディジタルカメラ2がターンテーブル6の真上となる位置)に設定される。そして、制御部861b及び画像処理部861cによって、商品を上面から見た場合の本撮影処理が行われる(ステップS117)。つぎに、画像処理部861cによって、ステップS101で読み取られたバーコードデータに対応付けて、ステップS109、ステップS113、ステップS117及びステップS121で生成された寸法データ及び画像データが商品データ記憶部83aに格納され(ステップS123)、処理が終了される。   The control unit 861b and the image processing unit 861c perform a main photographing process when the product is viewed obliquely from above (step S117). Next, the turntable 6 is rotated by a predetermined angle θ2 (θ2 = −90 ° −θ1) and the support arm 7 is rotated by a predetermined angle φ2 (φ2 = 90 ° −φ1) by the controller 861b (step S119). ). That is, the turntable 6 is returned to the initial position, and the support arm 7 is set to a position rotated by 90 ° from the initial position (position where the digital camera 2 is directly above the turntable 6). The control unit 861b and the image processing unit 861c perform a main photographing process when the product is viewed from above (step S117). Next, the dimensional data and the image data generated in step S109, step S113, step S117, and step S121 are associated with the barcode data read in step S101 by the image processing unit 861c in the product data storage unit 83a. Stored (step S123), and the process ends.

図7は、図6に示すフローチャートのステップS107で行われる初期設定処理の詳細フローチャートの一例である。まず、制御部861bによって、ターンテーブル6及び支持アーム7が初期位置に移動される(ステップS201)。ただし、ここで、ターンテーブル6の初期位置とは、上下方向の初期位置である。次いで、制御部861bによって、ブラックライト3、天井灯4及び照明灯5が初期状態である全て「OFF」に設定される(ステップS203)。そして、制御部861bによって、ブラックライト3及び天井灯4が「ON」に設定される(ステップS205)。   FIG. 7 is an example of a detailed flowchart of the initial setting process performed in step S107 of the flowchart shown in FIG. First, the turntable 6 and the support arm 7 are moved to the initial positions by the controller 861b (step S201). Here, the initial position of the turntable 6 is an initial position in the vertical direction. Next, the black light 3, the ceiling light 4, and the illuminating lamp 5 are all set to “OFF” by the control unit 861b (step S203). Then, the black light 3 and the ceiling light 4 are set to “ON” by the control unit 861b (step S205).

つぎに、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第1画像データが生成され、画像データ記憶部862aに格納される(ステップS207)。そして、制御部861bによって、ブラックライト3が「OFF」に設定される(ステップS209)。ついで、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第2画像データが生成され、画像データ記憶部862aに格納される(ステップS211)。そして、ステップS207で生成された第1画像データとステップS211で生成された第2画像データとを用いて(画像データ記憶部862aから読み出して)、画像処理部861cによって商品の外形データが求められる(ステップS213)。   Next, the product is photographed by the digital camera 2 by the control unit 861b, and first image data is generated and stored in the image data storage unit 862a (step S207). Then, the black light 3 is set to “OFF” by the controller 861b (step S209). Next, the control unit 861b shoots the product with the digital camera 2, generates second image data, and stores it in the image data storage unit 862a (step S211). Then, using the first image data generated in step S207 and the second image data generated in step S211 (read out from the image data storage unit 862a), the image processing unit 861c obtains the outline data of the product. (Step S213).

次いで、制御部861bによって、ターンテーブル6が所定量(ここでは、100mm)だけ下降される(ステップS215)。そして、制御部861bによって、ブラックライト3が「ON」に設定される(ステップS217)。つぎに、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第1画像データが生成され、画像データ記憶部862aに格納される(ステップS219)。   Next, the turntable 6 is lowered by a predetermined amount (here, 100 mm) by the controller 861b (step S215). Then, the black light 3 is set to “ON” by the controller 861b (step S217). Next, the product is photographed by the digital camera 2 by the control unit 861b, and first image data is generated and stored in the image data storage unit 862a (step S219).

そして、制御部861bによって、ブラックライト3が「OFF」に設定される(ステップS221)。ついで、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第2画像データが生成され、画像データ記憶部862aに格納される(ステップS223)。そして、ステップS219で生成された第1画像データとステップS223で生成された第2画像データとを用いて(画像データ記憶部862aから読み出して)、画像処理部861cによって商品の外形データが求められる(ステップS225)。   Then, the black light 3 is set to “OFF” by the controller 861b (step S221). Next, the control unit 861b shoots the product with the digital camera 2, generates second image data, and stores it in the image data storage unit 862a (step S223). Then, using the first image data generated in step S219 and the second image data generated in step S223 (read out from the image data storage unit 862a), the image processing unit 861c obtains the product outline data. (Step S225).

つぎに、制御部861bによって、ステップS13及びステップS225で求めた外形データを用いてターンテーブル6の後述する昇降量ΔTが求められる(ステップS227)。そして、制御部861bによって、ターンテーブル6が昇降量ΔTだけ昇降される(ステップS229)。ついで、制御部861bによって、ステップS13及びステップS225で求めた外形データを用いてディジタルカメラ2の後述するズーム倍率αが求められる(ステップS231)。そして、制御部861aによって、ディジタルカメラ2がズーム倍率αに設定され(ステップS233)、処理がリターンされる。   Next, the control unit 861b obtains a later-described lift amount ΔT of the turntable 6 using the outer shape data obtained in Step S13 and Step S225 (Step S227). Then, the control unit 861b raises / lowers the turntable 6 by the raising / lowering amount ΔT (step S229). Next, the control unit 861b obtains a zoom magnification α, which will be described later, of the digital camera 2 using the outline data obtained in step S13 and step S225 (step S231). Then, the control unit 861a sets the digital camera 2 to the zoom magnification α (step S233), and the process is returned.

図8は、ターンテーブル6の昇降量ΔT及びディジタルカメラ2のズーム倍率αの説明図の一例である。(a)は、図7に示すフローチャートのステップS213及びステップS225で求められた商品の外形データの一例を示す説明図であり、(b)は、図7に示すフローチャートのステップS229及びステップS233でターンテーブル6の昇降量ΔT及びディジタルカメラ2のズーム倍率αが設定された場合の商品の外形データの一例を示す説明図である。   FIG. 8 is an example of an explanatory diagram of the lift ΔT of the turntable 6 and the zoom magnification α of the digital camera 2. (A) is explanatory drawing which shows an example of the external shape data of the goods calculated | required by step S213 and step S225 of the flowchart shown in FIG. 7, (b) is step S229 and step S233 of the flowchart shown in FIG. It is explanatory drawing which shows an example of the external shape data of goods when the raising / lowering amount (DELTA) T of the turntable 6 and the zoom magnification (alpha) of the digital camera 2 are set.

(a)及び(b)の領域G0は、ディジタルカメラ2で撮影された画像の全体領域を示し、高さH0、幅W0の大きさである。また、領域G0の高さ方向の中心線CL1及び幅方向の中心線CL2を一点鎖線で表記している。(a)において、外形線G1は、図7に示すフローチャートのステップS213で求められた商品の外形線であり、外形線G2は、図7に示すフローチャートのステップS225で求められた商品の外形線である。   An area G0 in (a) and (b) indicates the entire area of an image taken by the digital camera 2, and has a height H0 and a width W0. Further, the center line CL1 in the height direction and the center line CL2 in the width direction of the region G0 are indicated by alternate long and short dash lines. In (a), the outline G1 is the outline of the product obtained in step S213 of the flowchart shown in FIG. 7, and the outline G2 is the outline of the product obtained in step S225 of the flowchart shown in FIG. It is.

(a)において、外形線G2の高さ方向の中心線は、領域G0の高さ方向の中心線CL1に対して、距離ΔTGだけ高い位置にある。一方、(a)において、外形線G2は、外形線G1に対して距離ΔHだけ低い位置にあるが、これは、図7に示すフローチャートのステップS215においてターンテーブル6を100mm下降させたためである。つまり、(a)における距離ΔHは、実際の距離の100mmに対応している。従って、商品の高さ方向の中心位置を領域G0の高さ方向の中心線CL1に一致させるためには、ターンテーブル6を次の(1)式で求められる昇降量ΔTだけ下降させればよい。
ΔT=ΔTG×100/ΔH (1)
In (a), the center line in the height direction of the outline G2 is at a position higher than the center line CL1 in the height direction of the region G0 by a distance ΔTG. On the other hand, in (a), the outline G2 is at a position lower than the outline G1 by the distance ΔH because the turntable 6 is lowered by 100 mm in step S215 of the flowchart shown in FIG. That is, the distance ΔH in (a) corresponds to the actual distance of 100 mm. Therefore, in order to make the center position of the product in the height direction coincide with the center line CL1 in the height direction of the region G0, the turntable 6 may be lowered by the lift amount ΔT obtained by the following equation (1). .
ΔT = ΔTG × 100 / ΔH (1)

また、(a)において、外形線G1(及び外形線G2)の高さH1に対する幅W1の比率R1(=W1/H1)と、領域G0の高さH0に対する幅W0の比率R0(=W0/H0)とを比較して、ここでは、比率R1が比率R0より大きい(すなわち、外形線G1が領域G0より横長である)ものとする。この場合に、外形線G1の幅W1が領域G0の幅W0の所定比率(ここでは、0.8倍)とするべく、ディジタルカメラ2のズーム倍率αを次の(2)式で求められる値に設定するものである。
α=0.8×W0/W1 (2)
In (a), the ratio R1 (= W1 / H1) of the width W1 to the height H1 of the outline G1 (and the outline G2) and the ratio R0 (= W0 / W0) of the width W0 to the height H0 of the region G0. In this case, it is assumed that the ratio R1 is larger than the ratio R0 (that is, the outline G1 is longer than the region G0). In this case, the zoom magnification α of the digital camera 2 is obtained by the following equation (2) so that the width W1 of the outline G1 is a predetermined ratio (0.8 times here) of the width W0 of the region G0. Is set to
α = 0.8 × W0 / W1 (2)

このように、ズーム倍率αを設定すると、(b)に示す商品の外形線G3の幅W3は、領域G0の幅W0の所定比率(ここでは、0.8倍)となる。上述のようにして、(1)式及び(2)式を用いて、それぞれターンテーブル6の昇降量ΔT及びディジタルカメラ2のズーム倍率αが求められる。   Thus, when the zoom magnification α is set, the width W3 of the product outline G3 shown in (b) becomes a predetermined ratio (here, 0.8 times) of the width W0 of the region G0. As described above, the elevation amount ΔT of the turntable 6 and the zoom magnification α of the digital camera 2 are obtained using the equations (1) and (2), respectively.

図9は、図6に示すフローチャートのステップS109、ステップS113、ステップS117及びステップS121で行われる本撮影処理の詳細フローチャートの一例である。まず、制御部861bによって、ブラックライト3、天井灯4及び照明灯5が初期状態である全て「OFF」に設定される(ステップS401)。そして、制御部861bによって、ブラックライト3及び天井灯4が「ON」に設定される(ステップS403)。   FIG. 9 is an example of a detailed flowchart of the main photographing process performed in step S109, step S113, step S117, and step S121 of the flowchart shown in FIG. First, the control unit 861b sets all of the black light 3, the ceiling lamp 4, and the illuminating lamp 5 in the initial state to “OFF” (step S401). Then, the black light 3 and the ceiling light 4 are set to “ON” by the controller 861b (step S403).

つぎに、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第1画像データが生成され、画像データ記憶部862aに格納される(ステップS405)。そして、制御部861bによって、ブラックライト3が「OFF」に設定される(ステップS407)。ついで、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第2画像データが生成され、画像データ記憶部862aに格納される(ステップS409)。そして、ステップS405で生成された第1画像データとステップS409生成された第2画像データとを用いて(画像データ記憶部862aから読み出して)、画像処理部861cによって商品に対応する画素が抽出されると共に、寸法データ(ここでは、最大高さ、最大幅及び最大奥行き:図5参照)が求められる(ステップS411)。   Next, the product is photographed by the digital camera 2 by the control unit 861b, and first image data is generated and stored in the image data storage unit 862a (step S405). Then, the black light 3 is set to “OFF” by the controller 861b (step S407). Next, the control unit 861b shoots the product with the digital camera 2, generates second image data, and stores it in the image data storage unit 862a (step S409). Then, using the first image data generated in step S405 and the second image data generated in step S409 (read out from the image data storage unit 862a), a pixel corresponding to the product is extracted by the image processing unit 861c. In addition, dimension data (here, maximum height, maximum width, and maximum depth: see FIG. 5) is obtained (step S411).

そして、制御部861bによって、照明灯5が「ON」に設定される(ステップS4013)。つぎに、制御部861bによって、ディジタルカメラ2による商品の撮影が行われ、第3画像データが生成され、画像データ記憶部862aに格納される(ステップS415)。次いで、画像処理部861cによって、ステップS415で生成された第3画像データの内、ステップS411で抽出された商品に対応する画素のデータが、商品の画像データとして求められ(ステップS417)、処理がリターンされる。   Then, the illumination lamp 5 is set to “ON” by the controller 861b (step S4013). Next, the product is photographed by the digital camera 2 by the control unit 861b, and third image data is generated and stored in the image data storage unit 862a (step S415). Next, pixel data corresponding to the product extracted in step S411 is obtained as image data of the product among the third image data generated in step S415 by the image processing unit 861c (step S417). Returned.

図10は、図7に示すフローチャートのステップS213、ステップS225及び図9に示すフローチャートのステップS411で行われる商品外形計算処理の概要を説明するための説明図の一例である。図の左上部には、第1画像P1の一例が表記され、図の右上部に第2画像P2の一例が表記されている。第1画像P1及び第2画像P2は、それぞれ略中央部に商品画像P11、P21が表示されており、商品画像P11、P21を除く領域が背景画像P12、P22である。   FIG. 10 is an example of an explanatory diagram for explaining the outline of the product outer shape calculation process performed in step S213 and step S225 of the flowchart shown in FIG. 7 and step S411 of the flowchart shown in FIG. An example of the first image P1 is shown in the upper left part of the figure, and an example of the second image P2 is shown in the upper right part of the figure. In the first image P1 and the second image P2, the product images P11 and P21 are displayed at approximately the center, respectively, and the areas excluding the product images P11 and P21 are the background images P12 and P22.

上述のように、第1画像P1は、ブラックライト3、天井灯4及び照明灯5が、それぞれ、ON、ON及びOFFの場合にディジタルカメラ2によって生成される画像であり、第2画像P2は、ブラックライト3、天井灯4及び照明灯5が、それぞれ、OFF、ON及びOFFの場合にディジタルカメラ2によって生成される画像である。従って、第1画像P1と第2画像P2の商品画像P11、P21は同程度の明るさであるが、第2画像P2はブラックライト3が点灯された状態の画像であるために、背景画像P22は、背景画像P12と比較して大幅に明るい画像となっている。   As described above, the first image P1 is an image generated by the digital camera 2 when the black light 3, the ceiling light 4, and the illumination light 5 are ON, ON, and OFF, respectively, and the second image P2 is , Black light 3, ceiling lamp 4 and illumination lamp 5 are images generated by digital camera 2 when OFF, ON and OFF, respectively. Accordingly, the product images P11 and P21 of the first image P1 and the second image P2 have the same level of brightness, but the second image P2 is an image in a state in which the black light 3 is lit, and thus the background image P22. The image is significantly brighter than the background image P12.

従って、画素毎に第1画像P1と第2画像P2とを比較して、明るさの大幅に異なる位置の画素を背景画像P32に対応する画素とし、背景画像P32以外の領域に含まれる画素を商品画像P31に対応する画素として抽出することによって、商品外形計算処理が行われる。   Therefore, the first image P1 and the second image P2 are compared for each pixel, pixels at positions with significantly different brightness are used as pixels corresponding to the background image P32, and pixels included in an area other than the background image P32 are used. A product outline calculation process is performed by extracting pixels corresponding to the product image P31.

図11は、図7に示すフローチャートのステップS213、ステップS225及び図9に示すフローチャートのステップS411で行われる商品外形計算処理の詳細フローチャートの一例である。ここで、ディジタルカメラ2のCCDは、横方向の画素数M(例えば、M=2400ピクセル)、縦方向の画素数N(例えば、N=1600ピクセル)であるものとする。なお、以下の処理は、全て画像処理部861cによって行われる。   FIG. 11 is an example of a detailed flowchart of the product outline calculation process performed in steps S213 and S225 of the flowchart shown in FIG. 7 and step S411 of the flowchart shown in FIG. Here, it is assumed that the CCD of the digital camera 2 has a horizontal pixel count M (for example, M = 2400 pixels) and a vertical pixel count N (for example, N = 1600 pixels). The following processing is all performed by the image processing unit 861c.

まず、縦方向の画素をカウントするカウンタiの値が1に初期設定される(ステップS301)。次いで、横方向の画素をカウントするカウンタjの値が1に初期設定される(ステップS303)。そして、第1画像データの内、縦方向がi番目で横方向がj番目の画素の画素値が画像データ記憶部862aから読み出される(ステップS305)。ここでは、画素値がRGBデータから構成されているものとし、読み出された画素値を(R1、G1、B1)と表記する。つぎに、ステップS305で読み出された画素値(RGBデータ)がL表色系に変換される(ステップS307)。ここで、ステップS307で変換後の画素値を(L1、a1、b1)と表記する。 First, the value of the counter i for counting the pixels in the vertical direction is initially set to 1 (step S301). Next, the value of the counter j that counts the pixels in the horizontal direction is initialized to 1 (step S303). In the first image data, the pixel value of the i-th pixel in the vertical direction and the j-th pixel in the horizontal direction is read from the image data storage unit 862a (step S305). Here, the pixel value is assumed to be composed of RGB data, and the read pixel value is represented as (R1, G1, B1). Next, the pixel value (RGB data) read in step S305 is converted into the L * a * b * color system (step S307). Here, the pixel value after the conversion in step S307 is expressed as (L1 * , a1 * , b1 * ).

そして、第2画像データの内、縦方向がi番目で横方向がj番目の画素の画素値が画像データ記憶部862aから読み出される(ステップS309)。ここでは、画素値がRGBデータから構成されているものとし、読み出された画素値を(R2、G2、B2)と表記する。つぎに、ステップS309で読み出された画素値(RGBデータ)がL表色系に変換される(ステップS311)。ここで、ステップS311で変換後の画素値を(L2、a2、b2)と表記する。 Then, the pixel value of the i-th pixel in the vertical direction and the j-th pixel in the horizontal direction in the second image data is read from the image data storage unit 862a (step S309). Here, the pixel value is assumed to be composed of RGB data, and the read pixel value is represented as (R2, G2, B2). Next, the pixel value (RGB data) read in step S309 is converted into the L * a * b * color system (step S311). Here, the pixel value converted in step S311 is expressed as (L2 * , a2 * , b2 * ).

そして、ステップS307で求められた画素値とステップS311で求められた画素値とのL色差ΔEが次の(3)式を用いて求められる(ステップS313)。
ΔE=SQRT〔(L1−L2+(a1−a2+(b1−b2〕 (3)
ただし、SQRT(X)は、Xの平方根を求める関数である。つまり、L色差ΔEは、L色空間におけるステップS307で求められた画素値とステップS311で求められた画素値との距離である。なお、(3)式においてLの各成分の差に係数(重み)を付与してもよい。
Then, the L * a * b * color difference ΔE between the pixel value obtained in step S307 and the pixel value obtained in step S311 is obtained using the following equation (3) (step S313).
Delta] E = SQRT [(L1 * -L2 *) 2 + (a1 * -a2 *) 2 + (b1 * -b2 *) 2 ] (3)
However, SQRT (X) is a function for obtaining the square root of X. That is, the L * a * b * color difference ΔE is the distance between the pixel value obtained in step S307 and the pixel value obtained in step S311 in the L * a * b * color space. In the equation (3), a coefficient (weight) may be given to the difference between the components of L * a * b * .

つぎに、L色差ΔEが予め設定された所定値β以上であるか否かの判定が行われる(ステップS315)。所定値β以上であると判定された場合には、縦方向がi番目で横方向がj番目の画素が背景に対応する画素に設定される(ステップS317)。所定値β以上ではない(すなわち、所定値β未満である)と判定された場合には、縦方向がi番目で横方向がj番目の画素が商品に対応する画素に設定される(ステップS319)。 Next, it is determined whether or not L * a * b * color difference ΔE is equal to or larger than a predetermined value β set in advance (step S315). If it is determined that the value is equal to or greater than the predetermined value β, the i-th pixel in the vertical direction and the j-th pixel in the horizontal direction are set as pixels corresponding to the background (step S317). If it is determined that it is not greater than or equal to the predetermined value β (that is, less than the predetermined value β), the i-th pixel in the vertical direction and the j-th pixel in the horizontal direction are set as pixels corresponding to the product (step S319). ).

ステップS317またはステップS319の処理が終了した場合には、カウンタjの値が画素数M以上であるか否かの判定が行われる(ステップS321)。画素数M以上ではない(すなわち、画素数M未満である)と判定された場合(ステップS321でNO)には、カウンタjの値が1だけインクリメントされて(ステップS323)、処理がステップS305に戻され、ステップS305からステップS319の処理が繰り返し実行される。   When the process of step S317 or step S319 is completed, it is determined whether or not the value of the counter j is equal to or greater than the number of pixels M (step S321). When it is determined that the number of pixels is not equal to or greater than M (that is, less than the number of pixels M) (NO in step S321), the value of the counter j is incremented by 1 (step S323), and the process proceeds to step S305. The process from step S305 to step S319 is repeatedly executed.

画素数M以上であると判定された場合(ステップS321でYES)には、カウンタiの値が画素数N以上であるか否かの判定が行われる(ステップS325)。画素数N以上ではない(すなわち、画素数N未満である)と判定された場合(ステップS325でNO)には、カウンタiの値が1だけインクリメントされて(ステップS327)、処理がステップS303に戻され、ステップS303からステップS321の処理が繰り返し実行される。画素数N以上であると判定された場合(ステップS325でYES)には、処理がリターンされる。   If it is determined that the number of pixels is greater than or equal to M (YES in step S321), it is determined whether or not the value of the counter i is greater than or equal to the number of pixels N (step S325). If it is determined that the number of pixels is not equal to or greater than N (that is, less than the number of pixels N) (NO in step S325), the value of the counter i is incremented by 1 (step S327), and the process proceeds to step S303. The process from step S303 to step S321 is repeatedly executed. If it is determined that the number of pixels is equal to or greater than N (YES in step S325), the process is returned.

図12〜14は、それぞれ、ディジタルカメラ2によって生成される第1〜第3画像の一例である。図12〜14に示す第1〜第3画像PIC1〜PIC3では、略中央部に略直方体形状の商品画像PIC11〜PIC31が表示され、その他の領域に、背景画像PIC12〜PIC32が表示されている。図12に示す第1画像PIC1の商品画像PIC11と図13に示す第2画像PIC2の商品画像PIC21とは、同等の明るさに撮影されているのに対して、図12に示す第1画像PIC1の背景画像PIC12は、ブラックライト3により背景画像PIC12に対応する背景部が蛍光発光しているため、図13に示す第2画像PIC2の背景画像PIC22と比較して明るく撮影されている。   12 to 14 are examples of first to third images generated by the digital camera 2, respectively. In the first to third images PIC1 to PIC3 shown in FIGS. 12 to 14, product images PIC11 to PIC31 having a substantially rectangular parallelepiped shape are displayed at a substantially central portion, and background images PIC12 to PIC32 are displayed in other regions. The product image PIC11 of the first image PIC1 shown in FIG. 12 and the product image PIC21 of the second image PIC2 shown in FIG. 13 are photographed with the same brightness, whereas the first image PIC1 shown in FIG. The background image PIC12 is photographed brighter than the background image PIC22 of the second image PIC2 shown in FIG. 13 because the background portion corresponding to the background image PIC12 emits fluorescence by the black light 3.

また、図14に示す第3画像PIC3の商品画像PIC31は、照明灯5が点灯された状態で撮影された画像であるため、充分な明るさの適切な画像となっている。そこで、図12に示す第1画像PIC1と図13に示す第2画像PIC2とを用いて、図10及び11で上述のように、商品に対応する画素が抽出され、この商品に対応する画素の第3画像PIC3である商品画像PIC31が商品画像データとして求められる。   Further, the product image PIC31 of the third image PIC3 shown in FIG. 14 is an image taken with the illumination lamp 5 turned on, and thus is an appropriate image with sufficient brightness. Therefore, using the first image PIC1 shown in FIG. 12 and the second image PIC2 shown in FIG. 13, the pixels corresponding to the product are extracted as described above in FIGS. 10 and 11, and the pixels corresponding to the product are extracted. A product image PIC31 which is the third image PIC3 is obtained as product image data.

上述のようにして、背景に相当する面が蛍光発光している画像データである第1画像データと、背景に相当する面が蛍光発光していない画像データである第2画像データとの画素毎の色差が所定値βより小さい画素が商品に対応する画素として抽出されるため、商品の寸法データを更に正確に求めることができる。。   As described above, for each pixel, the first image data that is image data in which the surface corresponding to the background emits fluorescence and the second image data that is image data in which the surface corresponding to the background does not emit fluorescence. Since the pixel having a color difference smaller than the predetermined value β is extracted as a pixel corresponding to the product, the dimensional data of the product can be obtained more accurately. .

また、ブラックライト3を配設し、画像データの背景に相当する面に蛍光発光する塗料を塗布した構成によって、画像データの背景に相当する面を蛍光発光させるため、構成が簡単であり、商品データ生成装置を安価に製造することができる。   In addition, since the surface corresponding to the background of the image data is made fluorescent by the configuration in which the black light 3 is provided and the surface corresponding to the background of the image data is coated with fluorescent paint, the configuration is simple, The data generation device can be manufactured at low cost.

更に、商品に白色光が照射された場合の画像データである第3画像データの内、第1画像データ及び第2画像データを用いて抽出された商品に対応する画素のデータが、商品の画像データとして求められるため、商品の正確な輪郭を有する適切な画像データを求めることができる。   Furthermore, among the third image data that is image data when the product is irradiated with white light, pixel data corresponding to the product extracted using the first image data and the second image data is the product image. Since it is calculated | required as data, the appropriate image data which has the exact outline of goods can be calculated | required.

加えて、商品が載置されたターンテーブル6の回転角が制御されるため、商品の向きを自在に変更することができる。また、ターンテーブル6は、ブラックライト3が照射されると蛍光発光する塗料が塗布されているため、画像データの背景に相当する他の面(暗室の壁面、床面等)と同様にブラックライト3が照射されると蛍光発光し、背景を構成する画素と認識できる。また、ディジタルカメラ2の位置が制御されるため、ディジタルカメラ2の位置を自在に変更することができる。つまり、任意の位置から見た画像データを生成することができる。   In addition, since the rotation angle of the turntable 6 on which the product is placed is controlled, the direction of the product can be freely changed. Further, since the turntable 6 is coated with a paint that emits fluorescence when irradiated with the black light 3, the black light is applied in the same manner as other surfaces (dark room wall surface, floor surface, etc.) corresponding to the background of the image data. When 3 is irradiated, it emits fluorescent light and can be recognized as a pixel constituting the background. Further, since the position of the digital camera 2 is controlled, the position of the digital camera 2 can be freely changed. That is, image data viewed from an arbitrary position can be generated.

更に、商品を正面、側面及び上面から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を正面、側面及び上面から見た場合の寸法データ及び画像データがそれぞれ生成されるため、商品を正面、側面及び上面から見た場合の寸法データ及び画像データを容易に生成することができる。加えて、商品を斜め上方から見た場合の第1画像データ、第2画像データ及び第3画像データが生成され、これらの画像データを用いて、商品を斜め上方から場合の画像データが生成されるため、商品を斜め上方から見た場合の画像データを容易に生成することができる。   Furthermore, the first image data, the second image data, and the third image data when the product is viewed from the front, side, and top are generated, and the product is viewed from the front, side, and top using these image data. Since the dimension data and the image data in the case are respectively generated, the dimension data and the image data when the product is viewed from the front, the side, and the upper surface can be easily generated. In addition, the first image data, the second image data, and the third image data are generated when the product is viewed obliquely from above, and the image data when the product is viewed obliquely from above is generated using these image data. Therefore, it is possible to easily generate image data when the product is viewed obliquely from above.

また、バーコードデータが商品データ記憶部83aに格納されていないと判定された場合に、商品の寸法データ及び画像データが生成されて商品データ記憶部83aにバーコードデータと対応付けて格納されるため、商品の寸法データ及び画像データを効率よく生成することができる。   When it is determined that the barcode data is not stored in the product data storage unit 83a, product dimension data and image data are generated and stored in the product data storage unit 83a in association with the barcode data. Therefore, product dimension data and image data can be generated efficiently.

なお、本発明は、以下の態様にも適用可能である。   In addition, this invention is applicable also to the following aspects.

(A)本実施形態では、画像処理部861cが第1画像データと第2画像データとを比較して商品に対応する画素を抽出する場合について説明したが、画像処理部861cが第1画像データを用いて明度が所定値以下の画素を商品に対応する画素として抽出する形態でもよい。この場合には、処理が簡単になると共に、ディジタルカメラ2によって生成する画像データを削減することができ、且つ、所望する寸法データ及び画像データを生成するために要する時間も削減される。   (A) In the present embodiment, the case where the image processing unit 861c extracts the pixels corresponding to the product by comparing the first image data and the second image data has been described, but the image processing unit 861c performs the first image data. The pixel whose brightness is not more than a predetermined value may be extracted as a pixel corresponding to a product. In this case, the processing is simplified, the image data generated by the digital camera 2 can be reduced, and the time required to generate desired dimension data and image data is also reduced.

(B)本実施形態では、画像処理部861cが第1画像データと第2画像データと対応する画素のL色差によって商品に対応する画素を抽出する場合について説明したが、その他の色に関する特性値の差によって商品に対応する画素を抽出する形態でもよい。例えば、輝度、明度等の差によって商品に対応する画素を抽出する形態でもよい。この場合には、処理が簡略化される。また、L色差以外の色差(例えば、L色差)を用いる形態でもよい。更に、RGBのそれぞれ差分を用いる形態でもよい。 (B) In the present embodiment, the case has been described in which the image processing unit 861c extracts pixels corresponding to a product based on L * a * b * color differences of pixels corresponding to the first image data and the second image data. The pixel corresponding to the product may be extracted based on the difference in the characteristic values regarding the colors. For example, the form which extracts the pixel corresponding to goods by the difference of a brightness | luminance, brightness, etc. may be sufficient. In this case, the process is simplified. Further, a form using a color difference other than L * a * b * color difference (for example, L * u * v * color difference) may be used. Furthermore, the form using each difference of RGB may be sufficient.

(C)本実施形態では、画像処理部861cが商品の寸法データとして、最大高さ、最大幅及び最大奥行きを求める場合について説明したが、商品の外形データ(輪郭データ)を求める形態でもよい。   (C) In the present embodiment, the case where the image processing unit 861c obtains the maximum height, the maximum width, and the maximum depth as the product dimension data has been described. However, the product external data (contour data) may be obtained.

(D)本実施形態においては、ターンテーブル6を用いて商品を回転し支持アーム7を用いてディジタルカメラ2の位置を変更することによって商品を正面、側面、上面及び斜め上方から見た場合の画像データを生成する場合について説明したが、商品とディジタルカメラ2とが相対的に移動する形態でもよい。例えば、商品及びディジタルカメラ2の一方が固定され、他方が移動する形態でもよい。   (D) In the present embodiment, when the product is viewed from the front, side, upper surface, and diagonally upward by rotating the product using the turntable 6 and changing the position of the digital camera 2 using the support arm 7. Although the case where image data is generated has been described, the product and the digital camera 2 may be moved relatively. For example, one of the product and the digital camera 2 may be fixed and the other may move.

本発明の商品データ生成装置の平面図の一例である。It is an example of the top view of the goods data generation apparatus of this invention. 支持アームの構成図の一例である。It is an example of the block diagram of a support arm. 制御装置のハード構成図の一例である。It is an example of the hardware block diagram of a control apparatus. 制御装置の機能構成図の一例である。It is an example of a functional block diagram of a control apparatus. HDDの商品データ記憶部の構成を示す図表の一例である。It is an example of the figure which shows the structure of the goods data storage part of HDD. 本発明の商品データ生成装置の動作の概要を表すフローチャートの一例である。It is an example of the flowchart showing the outline | summary of operation | movement of the goods data generation apparatus of this invention. 図6に示すフローチャートのステップS107で行われる初期設定処理の詳細フローチャートの一例である。7 is an example of a detailed flowchart of an initial setting process performed in step S107 of the flowchart shown in FIG. 6. ターンテーブルの昇降量及びディジタルカメラのズーム倍率の説明図の一例である。It is an example of explanatory drawing of the raising / lowering amount of a turntable, and the zoom magnification of a digital camera. 図6に示すフローチャートのステップS109、ステップS113、ステップS117及びステップS121で行われる本撮影処理の詳細フローチャートの一例である。FIG. 7 is an example of a detailed flowchart of a main photographing process performed in step S109, step S113, step S117, and step S121 of the flowchart shown in FIG. 6; 図7に示すフローチャートのステップS213、ステップS225及び図9に示すフローチャートのステップS411で行われる商品外形計算処理の概要を説明するための説明図の一例である。FIG. 10 is an example of an explanatory diagram for explaining an outline of a product outer shape calculation process performed in step S213 and step S225 of the flowchart shown in FIG. 図7に示すフローチャートのステップS213、ステップS225及び図9に示すフローチャートのステップS411で行われる商品外形計算処理の詳細フローチャートの一例である。FIG. 10 is an example of a detailed flowchart of a product outer shape calculation process performed in step S213 and step S225 of the flowchart shown in FIG. 7 and step S411 of the flowchart shown in FIG. ディジタルカメラによって生成される第1画像の一例である。It is an example of the 1st image produced | generated by a digital camera. ディジタルカメラによって生成される第2画像の一例である。It is an example of the 2nd picture generated with a digital camera. ディジタルカメラによって生成される第3画像の一例である。It is an example of the 3rd image produced | generated by a digital camera.

符号の説明Explanation of symbols

1 暗室
2 ディジタルカメラ(撮影手段)
3 ブラックライト
4 天井灯(第1商品照明手段)
5 照明灯(第2商品照明手段)
6 ターンテーブル
7 支持アーム(移動手段)
8 制御装置
83 HDD
83a 商品データ記憶部(商品データ記憶手段)
861 CPU
861a 判定部(判断手段)
861b 制御部(制御手段)
861c 画像処理部(画像処理手段)
862 RAM
862a 画像データ記憶部
9 バーコードリーダ
1 Darkroom 2 Digital camera (photographing means)
3 Black light 4 Ceiling light (1st product lighting means)
5 Illumination lights (second product illumination means)
6 Turntable 7 Support arm (moving means)
8 Control device 83 HDD
83a Product data storage unit (product data storage means)
861 CPU
861a determination unit (determination means)
861b Control unit (control means)
861c Image processing unit (image processing means)
862 RAM
862a Image data storage unit 9 Bar code reader

Claims (9)

商品の寸法データを生成する商品データ生成装置であって、
前記商品が内部に配置される暗室と、
前記暗室内に配設され、前記商品及び背景の画像データを生成する撮影手段と、
前記暗室内に配設され、紫外線を前記背景に照射するブラックライトと、
前記撮像手段により生成された画像データを用いて商品の寸法データを求める画像処理手段と
前記商品に可視光を照射する第1商品照明手段とを備え、
前記暗室は、前記ブラックライトが照射されると蛍光発光する材料が、少なくとも前記背景となる面に設けられており、
前記撮像手段は、前記ブラックライトを照射した際の画像データを生成するものであり、前記第1商品照明手段を照射した状態で、前記ブラックライトを照射した場合の画像データである第1画像データと、前記ブラックライトを照射しない場合の画像データである第2画像データとを生成し、
前記画像処理手段は、前記第1画像データと第2画像データとの画素毎の色に関する特性値の差が所定の値より小さい画素を前記商品に対応する画素として抽出することを特徴とする商品データ生成装置。
A product data generation device for generating product dimension data,
A darkroom in which the product is disposed;
A photographing unit disposed in the dark room and generating image data of the product and background;
A black light disposed in the dark room and irradiating the background with ultraviolet rays;
Image processing means for obtaining product dimension data using the image data generated by the imaging means ;
First product illumination means for irradiating the product with visible light,
In the dark room, a material that emits fluorescence when irradiated with the black light is provided on at least the background surface,
The imaging means generates image data when the black light is irradiated, and the first image data is image data when the black light is irradiated in a state where the first product illumination means is irradiated. And second image data that is image data when not irradiating the black light,
The product is characterized in that the image processing means extracts, as a pixel corresponding to the product, a pixel having a characteristic value difference between the first image data and the second image data that is smaller than a predetermined value regarding a color for each pixel. Data generator.
前記画像処理手段は、前記第1画像データと第2画像データとの画素毎の色差が所定の値より小さい画素を前記商品に対応する画素として抽出することを特徴とする請求項に記載の商品データ生成装置。 Wherein the image processing means, according to claim 1, characterized in that the color difference for each pixel of the first image data and the second image data to extract the smaller pixels than a predetermined value as a pixel corresponding to the product Product data generation device. 前記商品を前記第1商品照明手段によって照射された場合より高い照度とするべく前記商品に白色光を照射する第2商品照明手段を備え、
前記撮影手段は、前記第2商品照明手段を照射した状態で、前記第1商品照明手段及びブラックライトを照射しない場合の画像データである第3画像データを生成し、
前記画像処理手段は、前記第3画像データの内、前記第1画像データ及び第2画像データを用いて抽出された前記商品に対応する画素のデータを、前記商品の画像データとして求めることを特徴とする請求項またはに記載の商品データ生成装置。
Second product illumination means for irradiating the product with white light so as to have a higher illuminance than when the product is illuminated by the first product illumination means;
The photographing unit generates third image data that is image data when the first product illumination unit and the black light are not irradiated in a state where the second product illumination unit is irradiated.
The image processing means obtains, as image data of the product, pixel data corresponding to the product extracted using the first image data and the second image data in the third image data. The product data generation apparatus according to claim 1 or 2 .
前記暗室内に配設され、前記商品を回転可能に載置すると共に、前記ブラックライトが照射されると蛍光発光する材料を上面に有するターンテーブルと、
前記ターンテーブルの回転角を制御する制御手段とを備えることを特徴とする請求項記載の商品データ生成装置。
A turntable that is disposed in the darkroom and rotatably mounts the product, and has a top surface with a material that emits fluorescence when irradiated with the black light;
The product data generation apparatus according to claim 3, further comprising a control unit that controls a rotation angle of the turntable.
前記暗室内に配設され、前記撮影手段の位置を変更する移動手段を備え、
前記制御手段は、前記移動手段による前記撮影手段の位置を制御することを特徴とする請求項に記載の商品データ生成装置。
A moving means disposed in the darkroom and changing the position of the photographing means;
The product data generation apparatus according to claim 4 , wherein the control unit controls the position of the photographing unit by the moving unit.
前記制御手段は、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記撮影手段による撮影の制御とを行うことを特徴とする請求項に記載の商品データ生成装置。 6. The product data generation according to claim 5 , wherein the control unit performs on / off control of the black light, the first product illumination unit, and the second product illumination unit, and imaging control by the imaging unit. apparatus. 前記制御手段は、前記撮影手段によって前記商品を正面、側面及び上面から見た場合の前記第1画像データ、第2画像データ及び第3画像データをそれぞれ生成するべく、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記撮影手段による撮影の制御と、前記ターンテーブルの回転角の制御と、前記移動手段による前記撮影手段の位置の制御とを行い、
前記画像処理手段は、前記商品を正面、側面及び上面から見た場合の前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品を正面、側面及び上面から見た場合の寸法データ及び画像データをそれぞれ生成することを特徴とする請求項に記載の商品データ生成装置。
The control means generates the first image data, the second image data, and the third image data when the product is viewed from the front, the side, and the top by the photographing unit, respectively. Performing on / off control of the illumination means and the second product illumination means, control of photographing by the photographing means, control of the rotation angle of the turntable, and control of the position of the photographing means by the moving means,
The image processing means uses the first image data, the second image data, and the third image data when the product is viewed from the front, side, and top, and when the product is viewed from the front, side, and top. The product data generation apparatus according to claim 6 , wherein the size data and the image data are respectively generated.
前記制御手段は、前記撮影手段によって前記商品を斜め上方から見た場合の前記第1画像データ、第2画像データ及び第3画像データを生成するべく、前記ブラックライト、第1商品照明手段及び第2商品照明手段のオンオフの制御と、前記ターンテーブルの回転角の制御と、前記移動手段による前記撮影手段の位置の制御とを行い、
前記画像処理手段は、前記商品を斜め上方から見た場合の前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品を斜め上方から見た場合の画像データを生成することを特徴とする請求項またはに記載の商品データ生成装置。
The control unit is configured to generate the first image data, the second image data, and the third image data when the product is viewed obliquely from above by the photographing unit. (2) On / off control of the product illumination means, control of the rotation angle of the turntable, and control of the position of the photographing means by the moving means,
The image processing means generates image data when the product is viewed obliquely from above using the first image data, the second image data, and the third image data when the product is viewed obliquely from above. The product data generation apparatus according to claim 6 or 7 , wherein
前記商品に付与されたバーコードを読み取るバーコードリーダと、
前記画像処理手段によって生成された前記商品の寸法データ及び画像データを前記商品に付与されたバーコードデータと対応付けて格納する商品データ記憶手段と、
前記バーコードリーダによって読み取られたバーコードに対応するバーコードデータが前記商品データ記憶手段に格納されているか否かを判定する判定手段とを備え、
前記判定手段によってバーコードデータが前記商品データ記憶手段に格納されていないと判定された場合に、
前記制御手段は、前記第1画像データ、第2画像データ及び第3画像データを生成するべく制御を行い、
前記画像処理手段は、前記第1画像データ、第2画像データ及び第3画像データを用いて、前記商品の寸法データ及び画像データを生成して前記商品データ記憶手段に前記バーコードデータと対応付けて格納することを特徴とする請求項またはに記載の商品データ生成装置。
A barcode reader for reading the barcode attached to the product;
Product data storage means for storing the product dimension data and image data generated by the image processing means in association with the barcode data attached to the product;
Determining means for determining whether or not barcode data corresponding to the barcode read by the barcode reader is stored in the product data storage means;
When it is determined by the determination means that barcode data is not stored in the product data storage means,
The control means performs control to generate the first image data, the second image data, and the third image data,
The image processing means generates the product dimension data and image data using the first image data, the second image data, and the third image data, and associates the barcode data with the product data storage means. The product data generation device according to claim 7 or 8 , wherein the product data generation device according to claim 7 or 8 is stored.
JP2004065254A 2004-03-09 2004-03-09 Product data generator Expired - Fee Related JP4477383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004065254A JP4477383B2 (en) 2004-03-09 2004-03-09 Product data generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004065254A JP4477383B2 (en) 2004-03-09 2004-03-09 Product data generator

Publications (2)

Publication Number Publication Date
JP2005258521A JP2005258521A (en) 2005-09-22
JP4477383B2 true JP4477383B2 (en) 2010-06-09

Family

ID=35084208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004065254A Expired - Fee Related JP4477383B2 (en) 2004-03-09 2004-03-09 Product data generator

Country Status (1)

Country Link
JP (1) JP4477383B2 (en)

Also Published As

Publication number Publication date
JP2005258521A (en) 2005-09-22

Similar Documents

Publication Publication Date Title
JP3885458B2 (en) Projected image calibration method and apparatus, and machine-readable medium
US7822257B2 (en) Observation apparatus and observation method
CN105759546B (en) Image projecting equipment
US7616886B2 (en) Photographing apparatus, device and method for obtaining images to be used for creating a three-dimensional model
CN1707245A (en) Fluorescence microscope, display method using fluorescence microscope system, and computer-readable medium
CN105103033A (en) Controlling brightness of displayed image
CN103471993A (en) Biological image presentation device, biological image presentation method, and biological image presentation system
CN110068906A (en) Multi-axial cord universal joint extends pixel resolution actuator
US20070064101A1 (en) Observation apparatus
CN101661154A (en) digital presenter
CN103970369A (en) Position detection apparatus, adjustment method, and adjustment program
CN104160692A (en) Lighting system and method for image and object enhancement
US9846311B2 (en) Method and apparatus for forming a visible image in space
JP2008158247A (en) Flash device for imaging apparatus and imaging apparatus
JP2013044874A (en) Exhibition device
US10984515B2 (en) Image inspection device and illumination device
JP4110188B2 (en) 3D display device
JP6255008B2 (en) Method and microscope performed during operation of the microscope
CN1623622A (en) Method and apparatus for dice eye number determination and electronic device using the determinater
JP4477383B2 (en) Product data generator
JP2005236421A (en) Image display system
JP6102079B2 (en) Projection apparatus, projection method, and program
CN108475147A (en) Pattern recognition device, image-recognizing method and image identification unit
JP2006189318A (en) Object image display device
JPH1026740A (en) Stereoscopic image reproducing method and device therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100212

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: 20100309

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100311

R150 Certificate of patent or registration of utility model

Ref document number: 4477383

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160319

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees