JP2021128424A - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP2021128424A
JP2021128424A JP2020021594A JP2020021594A JP2021128424A JP 2021128424 A JP2021128424 A JP 2021128424A JP 2020021594 A JP2020021594 A JP 2020021594A JP 2020021594 A JP2020021594 A JP 2020021594A JP 2021128424 A JP2021128424 A JP 2021128424A
Authority
JP
Japan
Prior art keywords
image
scale
dimension
control unit
output
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.)
Pending
Application number
JP2020021594A
Other languages
Japanese (ja)
Inventor
ジョアード・サクィーロン
Saquiron Jared
キャスティン・タン メリー
Catherine Tang Mary
キャスティン・タン メリー
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2020021594A priority Critical patent/JP2021128424A/en
Publication of JP2021128424A publication Critical patent/JP2021128424A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an image processing device capable of detecting the scale of a drawing/picture whose scale is unknown.SOLUTION: An image processing device includes: an image reading unit that reads a drawing/picture; a storage unit that stores an object image representing an object in association with an actual size of the object; and a control unit that recognizes the object image existing in read data of the read drawing/picture read by the image reading unit as a reference image, and performs scale detection processing for detecting the scale of the read drawing/picture based on a ratio of the actual size associated with the reference image to a size on the read drawing/picture of the reference image.SELECTED DRAWING: Figure 7

Description

本発明は、画像処理装置に関する。 The present invention relates to an image processing apparatus.

特許文献1の画像処理装置は、図面管理を行うことが可能に構成される。図面は、組み立て図および部品図などの設計図である。 The image processing apparatus of Patent Document 1 is configured to be capable of performing drawing management. The drawings are design drawings such as assembly drawings and parts drawings.

特許文献1の画像処理装置は、図面を読み取り、図面の読み取りによって得られたデータから、図面に記載の属性情報を取得する。属性情報は、図面番号および部品番号などを含む。特許文献1の画像処理装置は、図面の属性情報に基づき、図面管理を行う。 The image processing apparatus of Patent Document 1 reads a drawing and acquires the attribute information described in the drawing from the data obtained by reading the drawing. Attribute information includes drawing numbers, part numbers, and the like. The image processing apparatus of Patent Document 1 manages drawings based on the attribute information of drawings.

特開2010−226341号公報Japanese Unexamined Patent Publication No. 2010-226341

建築図面のような設計図には、通常、図面の所定欄に図面のスケールが記載される。図面の所定欄に記載された内容から、図面のスケールを認識できる。 For blueprints such as architectural drawings, the scale of the drawing is usually described in a predetermined column of the drawing. The scale of the drawing can be recognized from the contents described in the predetermined column of the drawing.

ここで、ユーザー所有の図面の所定欄に記載が無い場合、すなわち、スケールが不明な図面をユーザーが所有している場合において、当該図面のスケールを知るには、ユーザーが自身で調べなければならない。したがって、ユーザーにとっては煩わしい。 Here, when there is no description in the predetermined column of the user-owned drawing, that is, when the user owns a drawing whose scale is unknown, the user must investigate by himself / herself in order to know the scale of the drawing. .. Therefore, it is annoying for the user.

本発明は、上記課題を解決するためになされたものであり、スケールが不明な設計図などの図画のスケールを検知することが可能な画像処理装置を提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide an image processing apparatus capable of detecting the scale of a drawing such as a design drawing whose scale is unknown.

上記目的を達成するため、本発明の一局面による画像処理装置は、図画を読み取る画像読取部と、オブジェクトを表すオブジェクト画像をオブジェクトの実寸法と対応付けて記憶する記憶部と、画像読取部が読み取った読取図画の読取データに存在するオブジェクト画像を基準画像として認識し、基準画像の読取図画上での寸法に対する基準画像に対応付けられた実寸法の比率に基づき、読取図画のスケールを検知するスケール検知処理を行う制御部と、を備える。 In order to achieve the above object, the image processing apparatus according to one aspect of the present invention includes an image reading unit that reads a picture, a storage unit that stores an object image representing an object in association with the actual size of the object, and an image reading unit. The object image existing in the scanned data of the scanned image is recognized as a reference image, and the scale of the scanned image is detected based on the ratio of the actual size associated with the reference image to the dimension on the scanned image of the reference image. It includes a control unit that performs scale detection processing.

本発明の構成では、スケールが不明な図画のスケールを検知することが可能な画像処理装置を提供することができる。 In the configuration of the present invention, it is possible to provide an image processing apparatus capable of detecting the scale of a drawing whose scale is unknown.

本発明の一実施形態による複合機のブロック図Block diagram of a multifunction device according to an embodiment of the present invention 本発明の一実施形態による複合機の概略図Schematic diagram of a multifunction device according to an embodiment of the present invention 本発明の一実施形態による複合機に記憶されるオブジェクト画像を示す図The figure which shows the object image stored in the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機に記憶されるオブジェクト画像を示す図The figure which shows the object image stored in the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機に記憶されるオブジェクト画像を示す図The figure which shows the object image stored in the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機に記憶されるオブジェクト画像を示す図The figure which shows the object image stored in the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機が行う処理の流れを示すフローチャートA flowchart showing the flow of processing performed by the multifunction device according to the embodiment of the present invention. 本発明の一実施形態による複合機により読み取られる原稿(設計図)を示す図The figure which shows the document (design drawing) read by the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機から出力される図面を示す図The figure which shows the drawing output from the multifunction device by one Embodiment of this invention. 本発明の一実施形態による複合機から出力される図面を示す図The figure which shows the drawing output from the multifunction device by one Embodiment of this invention.

以下、本発明の一実施形態について、スキャン機能およびプリント機能などを有する画像形成装置(複合機)を例にとって説明する。 Hereinafter, an embodiment of the present invention will be described by taking an image forming apparatus (multifunction device) having a scanning function, a printing function, and the like as an example.

<複合機の構成>
図1に示すように、本実施形態の複合機1(「画像処理装置」に相当)は、制御部11および記憶部12を備える。制御部11は、CPUを含む。制御部11は、複合機1を制御する。記憶部12は、ROM、RAMおよびHDDなどの記憶デバイスを含む。記憶部12は、制御部11に接続される。制御部11は、記憶部12への情報の書き込みおよび記憶部12からの情報の読み出しを行う。
<Configuration of multifunction device>
As shown in FIG. 1, the multifunction device 1 (corresponding to the “image processing device”) of the present embodiment includes a control unit 11 and a storage unit 12. The control unit 11 includes a CPU. The control unit 11 controls the multifunction device 1. The storage unit 12 includes a storage device such as a ROM, a RAM, and an HDD. The storage unit 12 is connected to the control unit 11. The control unit 11 writes information to the storage unit 12 and reads information from the storage unit 12.

複合機1は、画像読取部13および印刷部14を備える。制御部11は、画像読取部13の読取動作を制御する。制御部11は、印刷部14の印刷動作を制御する。画像読取部13および印刷部14の概略図を図2に示す。 The multifunction device 1 includes an image reading unit 13 and a printing unit 14. The control unit 11 controls the reading operation of the image reading unit 13. The control unit 11 controls the printing operation of the printing unit 14. A schematic view of the image reading unit 13 and the printing unit 14 is shown in FIG.

図2に示すように、画像読取部13は、プラテンガラスPGを備える。画像読取部13は、プラテンガラスPG上の原稿Dを読み取る。設計図および写真などの図画が読取対象の原稿Dになり得る。制御部11は、画像読取部13による原稿D(図画)の読み取りで得られた読取データに基づき、印刷用の出力画像データを生成する。 As shown in FIG. 2, the image reading unit 13 includes a platen glass PG. The image reading unit 13 reads the original D on the platen glass PG. Drawings such as design drawings and photographs can be the original D to be read. The control unit 11 generates output image data for printing based on the scanning data obtained by scanning the document D (drawing) by the image scanning unit 13.

画像読取部13は、光源131およびイメージセンサー132を備える。光源131およびイメージセンサー132は、プラテンガラスPGの裏面側に設けられる。光源131は、プラテンガラスPGに向けて光を照射する。イメージセンサー132は、原稿Dで反射された反射光を受光して光電変換する。 The image reading unit 13 includes a light source 131 and an image sensor 132. The light source 131 and the image sensor 132 are provided on the back surface side of the platen glass PG. The light source 131 irradiates light toward the platen glass PG. The image sensor 132 receives the reflected light reflected by the document D and performs photoelectric conversion.

印刷部14は、用紙搬送路(図2では、破線矢印で示す)に沿って用紙Pを搬送する。また、印刷部14は、印刷すべき画像を形成する。そして、印刷部14は、搬送中の用紙Pに画像を印刷する。制御部11は、出力画像データに基づく画像の用紙Pへの印刷を印刷部14に行わせる。 The printing unit 14 transports the paper P along the paper transport path (indicated by the broken line arrow in FIG. 2). In addition, the printing unit 14 forms an image to be printed. Then, the printing unit 14 prints an image on the paper P being conveyed. The control unit 11 causes the printing unit 14 to print an image based on the output image data on the paper P.

印刷部14は、給紙ローラー141を備える。給紙ローラー141は、用紙カセットCAに収容された用紙Pに当接し、その状態で回転することにより、用紙カセットCAから用紙搬送路に用紙Pを給紙する。 The printing unit 14 includes a paper feed roller 141. The paper feed roller 141 comes into contact with the paper P housed in the paper cassette CA and rotates in that state to feed the paper P from the paper cassette CA to the paper transport path.

印刷部14は、転写ローラー対142を備える。転写ローラー対142は、感光体ドラムおよび転写ローラーを含む。感光体ドラムは、その周面上にトナー像を担持する。転写ローラーは、感光体ドラムに圧接し、感光体ドラムとの間で転写ニップを形成する。転写ローラー対142は、回転することにより、転写ニップに進入した用紙Pを搬送しつつ、用紙Pにトナー像を転写する。 The printing unit 14 includes a transfer roller pair 142. The transfer roller pair 142 includes a photoconductor drum and a transfer roller. The photoconductor drum carries a toner image on its peripheral surface. The transfer roller is pressed against the photoconductor drum to form a transfer nip with the photoconductor drum. The transfer roller pair 142 rotates to transfer the toner image to the paper P while conveying the paper P that has entered the transfer nip.

図示しないが、印刷部14は、帯電装置、露光装置および現像装置をさらに備える。帯電装置は、感光体ドラムの周面を帯電させる。露光装置は、感光体ドラムの周面上に静電潜像を形成する。現像装置は、感光体ドラムの周面上の静電潜像をトナー像に現像する。 Although not shown, the printing unit 14 further includes a charging device, an exposure device, and a developing device. The charging device charges the peripheral surface of the photoconductor drum. The exposure apparatus forms an electrostatic latent image on the peripheral surface of the photoconductor drum. The developing device develops an electrostatic latent image on the peripheral surface of the photoconductor drum into a toner image.

印刷部14は、定着ローラー対143を備える。定着ローラー対143は、加熱ローラーおよび加圧ローラーを含む。加熱ローラーは、ヒーター(図示せず)を内蔵する。加圧ローラーは、加熱ローラーに圧接し、加熱ローラーとの間で定着ニップを形成する。定着ローラー対143は、回転することにより、定着ニップに進入した用紙Pを搬送しつつ、用紙Pに転写されたトナー像を用紙Pに定着させる。定着ニップを抜けた用紙Pは排出トレイETに排出される。 The printing unit 14 includes a fixing roller pair 143. The fixing roller pair 143 includes a heating roller and a pressure roller. The heating roller has a built-in heater (not shown). The pressure roller is in pressure contact with the heating roller to form a fixing nip with the heating roller. The fixing roller pair 143 rotates to convey the paper P that has entered the fixing nip, and fixes the toner image transferred to the paper P to the paper P. The paper P that has passed through the fixing nip is discharged to the discharge tray ET.

図1に戻り、複合機1は、操作パネル15を備える。操作パネル15は、タッチスクリーンを含む。タッチスクリーンは、種々の情報を表示するとともに、ユーザーからタッチ操作を受け付ける。また、操作パネル15には、スタートボタンなど複数のハードウェアボタンが設けられる。画像読取部13による読み取り、および、印刷部14による印刷など、種々の処理に関する設定および指示を操作パネル15で行うことができる。 Returning to FIG. 1, the multifunction device 1 includes an operation panel 15. The operation panel 15 includes a touch screen. The touch screen displays various information and accepts touch operations from the user. Further, the operation panel 15 is provided with a plurality of hardware buttons such as a start button. Settings and instructions related to various processes such as reading by the image reading unit 13 and printing by the printing unit 14 can be performed on the operation panel 15.

操作パネル15は、制御部11に接続される。制御部11は、操作パネル15の表示動作を制御する。また、制御部11は、操作パネル15に対して行われた操作を検知する。制御部11は、プラテンガラスPG上に原稿Dがセットされた状態で、操作パネル15のスタートボタンに対する操作を検知すると、原稿Dの読み取りを伴うジョブの実行指示を受け付けたと判断する。そして、制御部11は、画像読取部13に原稿Dの読み取りを行わせる。 The operation panel 15 is connected to the control unit 11. The control unit 11 controls the display operation of the operation panel 15. Further, the control unit 11 detects the operation performed on the operation panel 15. When the control unit 11 detects an operation on the start button of the operation panel 15 with the document D set on the platen glass PG, it determines that the control unit 11 has received the job execution instruction accompanied by reading the document D. Then, the control unit 11 causes the image reading unit 13 to read the document D.

複合機1は、通信部16を備える。通信部16は、通信回路を含む。制御部11は、通信部16を用いて、外部機器と通信する。 The multifunction device 1 includes a communication unit 16. The communication unit 16 includes a communication circuit. The control unit 11 communicates with an external device by using the communication unit 16.

<スケール検知機能>
複合機1には、図画(設計図および写真など)のスケールを自動で検知するスケール検知機能が搭載される。スケール検知機能を利用するには、複合機1で図画をスキャンすればよい。図画のスケールを自動で検知する処理(以下、スケール検知処理と称する)は制御部11が行う。制御部11は、画像読取部13による図画の読み取りで得られた読取データに基づき、画像読取部13が読み取った図画のスケールを検知する。
<Scale detection function>
The multifunction device 1 is equipped with a scale detection function that automatically detects the scale of drawings (design drawings, photographs, etc.). To use the scale detection function, the drawing may be scanned by the multifunction device 1. The control unit 11 performs a process of automatically detecting the scale of the drawing (hereinafter referred to as a scale detection process). The control unit 11 detects the scale of the drawing read by the image reading unit 13 based on the reading data obtained by reading the drawing by the image reading unit 13.

たとえば、ユーザー所有の設計図にスケールの記載が無くても、スケール検知機能を利用することにより、当該設計図のスケールを知ることができる。 For example, even if the scale is not described in the user-owned design drawing, the scale of the design drawing can be known by using the scale detection function.

また、標準的なスケール(ここでは、1/10スケールとする)で作図された設計図を拡大コピーまたは縮小コピーすることで得られる複写設計図をユーザーが所有しているとする。実物の或る部分の寸法が1mであれば、コピー元の設計図上では当該部分の寸法は0.1mであるが、複写設計図上では当該部分の寸法が0.1mより大きかったり小さかったりする。すなわち、スケールが合わない。このような場合、ケール検知機能を利用することにより、複写設計図のスケールを知ることができる。 Further, it is assumed that the user owns a copy design drawing obtained by enlarging or reducing the design drawing drawn on a standard scale (here, 1/10 scale). If the dimension of a certain part of the real thing is 1 m, the dimension of the part is 0.1 m on the copy source design drawing, but the dimension of the part is larger or smaller than 0.1 m on the copy design drawing. do. That is, the scale does not fit. In such a case, the scale of the copy design drawing can be known by using the kale detection function.

スケール検知処理を行うとき、制御部11は、データベースDBを参照する。データベースDBは記憶部12に記憶される(図1参照)。データベースDBには、複数のオブジェクト画像G(図3〜図6参照)が格納される。オブジェクト画像Gは、現実空間に存在するオブジェクトを表す画像である。複数のオブジェクト画像Gは、それぞれ、対応するオブジェクトの実寸法と対応付けられる。すなわち、記憶部12は、或るオブジェクトを表すオブジェクト画像Gと当該オブジェクトの実寸法とを対応付けて記憶する。データベースDBに新たなオブジェクト画像Gを追加することもできるし、データベースDBから既存のオブジェクト画像Gを削除することもできる。 When performing the scale detection process, the control unit 11 refers to the database DB. The database DB is stored in the storage unit 12 (see FIG. 1). A plurality of object images G (see FIGS. 3 to 6) are stored in the database DB. The object image G is an image representing an object existing in the real space. Each of the plurality of object images G is associated with the actual size of the corresponding object. That is, the storage unit 12 stores the object image G representing an object and the actual size of the object in association with each other. A new object image G can be added to the database DB, or an existing object image G can be deleted from the database DB.

ここで、スケール検知機能の対象が設計図であるとする。具体的には、対象の設計図が間取り図のような建築図面であるとする。この場合、建具(扉および窓など)、流し台、浴槽およびトイレなどがオブジェクトになり得る。建築図面を対象としたオブジェクト画像Gの一例を図3〜図6に示す。図示しないが、建築図面を対象としたオブジェクト画像Gは他にも種々あり、図3〜図6に示すオブジェクト画像Gの他にも多数のオブジェクト画像GがデータベースDBに格納される。対象が建築図面である場合には、オブジェクト画像Gとして、対応するオブジェクトを表す記号画像が用いられる。 Here, it is assumed that the target of the scale detection function is a design drawing. Specifically, it is assumed that the target design drawing is an architectural drawing such as a floor plan. In this case, fittings (doors and windows, etc.), sinks, bathtubs, toilets, etc. can be objects. An example of the object image G for the architectural drawing is shown in FIGS. 3 to 6. Although not shown, there are various other object images G for architectural drawings, and a large number of object images G are stored in the database DB in addition to the object images G shown in FIGS. 3 to 6. When the object is an architectural drawing, a symbol image representing the corresponding object is used as the object image G.

たとえば、オブジェクトが片開き扉である場合には、図3に示すような画像G1が片開き扉を表すオブジェクト画像GとしてデータベースDBに格納される。オブジェクトが両開き扉である場合には、図4に示すような画像G2が両開き扉を表すオブジェクト画像GとしてデータベースDBに格納される。オブジェクトが引き違い窓である場合には、図5に示すような画像G3が引き違い窓を表すオブジェクト画像GとしてデータベースDBに格納される。オブジェクトが上げ下げ窓である場合には、図6に示すような画像G4が上げ下げ窓を表すオブジェクト画像GとしてデータベースDBに格納される。 For example, when the object is a single door, the image G1 as shown in FIG. 3 is stored in the database DB as the object image G representing the single door. When the object is a double door, the image G2 as shown in FIG. 4 is stored in the database DB as the object image G representing the double door. When the object is a sliding window, the image G3 as shown in FIG. 5 is stored in the database DB as the object image G representing the sliding window. When the object is a sash window, the image G4 as shown in FIG. 6 is stored in the database DB as the object image G representing the sash window.

また、複数のオブジェクト画像Gには、それぞれ、寸法登録部分が予め定められる。そして、複数のオブジェクト画像Gには、それぞれ、対応するオブジェクトのうち、寸法登録部分に相当する部分の実寸法が対応付けられる。図3に示す例では、オブジェクトとしての片開き扉の幅方向の実寸法がオブジェクト画像Gに対応付けられる。 Further, a dimension registration portion is predetermined for each of the plurality of object images G. Then, the actual dimensions of the portion corresponding to the dimension registration portion of the corresponding objects are associated with the plurality of object images G, respectively. In the example shown in FIG. 3, the actual size of the single door as an object in the width direction is associated with the object image G.

以下に、図7に示すフローチャートを参照し、制御部11が行うスケール検知処理の流れを説明する。 The flow of the scale detection process performed by the control unit 11 will be described below with reference to the flowchart shown in FIG.

図7に示すフローのスタート時点では、スケール検知機能が有効に設定されているとする。スケール検知機能の有効無効の設定は操作パネル15がユーザーから受け付ける。図7に示すフローは、スケール検知機能が有効に設定された状態で、原稿D(図画)の読み取りを伴うジョブの実行指示を操作パネル15が受け付けたときにスタートする。 At the start of the flow shown in FIG. 7, it is assumed that the scale detection function is enabled. The operation panel 15 accepts the setting of enabling / disabling the scale detection function from the user. The flow shown in FIG. 7 starts when the operation panel 15 receives an execution instruction of a job accompanied by reading the document D (drawing) with the scale detection function enabled.

なお、ここでは、スケール検知機能の対象が設計図(建築図面)であるとする。したがって、図3〜図6に示すようなオブジェクト画像G(記号画像)を格納するデータベースDBが用いられる。 Here, it is assumed that the target of the scale detection function is a design drawing (architectural drawing). Therefore, a database DB for storing the object image G (symbol image) as shown in FIGS. 3 to 6 is used.

ステップS1において、制御部11は、画像読取部13に読み取りを行わせる。画像読取部13は、設計図を読み取る。制御部11は、画像読取部13による設計図の読み取りで得られた読取データを取得する。 In step S1, the control unit 11 causes the image reading unit 13 to read. The image reading unit 13 reads the design drawing. The control unit 11 acquires the read data obtained by reading the design drawing by the image reading unit 13.

ステップS2において、制御部11は、読取データにオブジェクト画像Gが存在するか否かを判断する。制御部11は、複数のオブジェクト画像Gのそれぞれごとに、オブジェクト画像Gとの一致率が予め定められた閾値以上の画像(以下、類似画像と称する)が読取データに存在するか否かを判断する。 In step S2, the control unit 11 determines whether or not the object image G exists in the read data. The control unit 11 determines, for each of the plurality of object images G, whether or not an image (hereinafter, referred to as a similar image) having a matching rate with the object image G equal to or higher than a predetermined threshold value exists in the read data. do.

読取データに類似画像が存在する場合、制御部11は、読取データにオブジェクト画像Gが存在すると判断する。言い換えると、制御部11は、読取データに存在する類似画像をオブジェクト画像Gと認識する。一方で、読取データに類似画像が存在しない場合、制御部11は、読取データにオブジェクト画像Gが存在しないと判断する。 When a similar image exists in the read data, the control unit 11 determines that the object image G exists in the read data. In other words, the control unit 11 recognizes a similar image existing in the read data as the object image G. On the other hand, when there is no similar image in the read data, the control unit 11 determines that the object image G does not exist in the read data.

ステップS2において、読取データにオブジェクト画像Gが存在しないと制御部11が判断した場合には、本フローは終了する。この場合、操作パネル15は、設計図のスケールを検知できなかった旨のメッセージを表示する。 If the control unit 11 determines in step S2 that the object image G does not exist in the read data, this flow ends. In this case, the operation panel 15 displays a message to the effect that the scale of the design drawing could not be detected.

ステップS2において、読取データにオブジェクト画像Gが存在すると制御部11が判断した場合には、ステップS3に移行する。ステップS3に移行すると、制御部11は、読取データに存在するオブジェクト画像Gを基準画像として認識する。 If the control unit 11 determines in step S2 that the object image G exists in the read data, the process proceeds to step S3. When the process proceeds to step S3, the control unit 11 recognizes the object image G existing in the read data as a reference image.

ここで、制御部11は、読取データに存在するオブジェクト画像Gの1つを基準画像として認識する。制御部11は、読取データに複数のオブジェクト画像Gが存在する場合であっても、そのうち1つだけを基準画像として認識する。 Here, the control unit 11 recognizes one of the object images G existing in the read data as a reference image. Even if a plurality of object images G are present in the read data, the control unit 11 recognizes only one of them as a reference image.

たとえば、読取データに複数のオブジェクト画像Gが存在する場合、制御部11は、読取データ内の複数のオブジェクト画像Gの1つを選択する操作(画像選択操作)の受け付けを操作パネル15に行わせる。このとき、制御部11は、読取データに対応するプレビュー画像(図示せず)を生成し、プレビュー画像の表示を操作パネル15に行わせる。すなわち、制御部11は、画像読取部13が読み取った設計図を操作パネル15に表示させる。 For example, when a plurality of object images G exist in the read data, the control unit 11 causes the operation panel 15 to accept an operation (image selection operation) for selecting one of the plurality of object images G in the read data. .. At this time, the control unit 11 generates a preview image (not shown) corresponding to the read data, and causes the operation panel 15 to display the preview image. That is, the control unit 11 causes the operation panel 15 to display the design drawing read by the image reading unit 13.

操作パネル15は、プレビュー画像(設計図)のうちオブジェクト画像Gに対応する領域をタッチする操作を画像選択操作として受け付ける。制御部11は、画像選択操作でタッチされた領域に位置するオブジェクト画像Gが選択されたと判断する。そして、制御部11は、画像選択操作で選択されたオブジェクト画像Gを基準画像として認識する。 The operation panel 15 accepts an operation of touching an area corresponding to the object image G in the preview image (design drawing) as an image selection operation. The control unit 11 determines that the object image G located in the area touched by the image selection operation has been selected. Then, the control unit 11 recognizes the object image G selected by the image selection operation as a reference image.

ステップS4において、制御部11は、基準画像(オブジェクト画像G)の寸法登録部分の設計図(画像読取部13が読み取った設計図)上での寸法を認識する。たとえば、操作パネル15は、基準画像の寸法登録部分の設計図上での寸法の入力をユーザーから受け付ける。そして、制御部11は、操作パネル15に入力された寸法を基準画像の寸法登録部分の設計図上での寸法と認識する。あるいは、制御部11は、画像読取部13が取った読取範囲のサイズに基づき、基準画像の寸法登録部分の設計図上での寸法を認識する。 In step S4, the control unit 11 recognizes the dimensions on the design drawing (design drawing read by the image reading unit 13) of the dimension registration portion of the reference image (object image G). For example, the operation panel 15 accepts the input of the dimension on the design drawing of the dimension registration portion of the reference image from the user. Then, the control unit 11 recognizes the dimension input to the operation panel 15 as the dimension on the design drawing of the dimension registration portion of the reference image. Alternatively, the control unit 11 recognizes the dimensions of the dimension registration portion of the reference image on the design drawing based on the size of the reading range taken by the image reading unit 13.

ステップS5において、制御部11は、基準画像に対応付けられた実寸法(基準画像に対応するオブジェクトのうち基準画像の寸法登録部分に相当する部分の実寸法)を認識する。また、ステップS6において、制御部11は、基準画像の寸法登録部分の設計図上での寸法に対する基準画像に対応付けられた実寸法の比率を求める。そして、ステップS7において、制御部11は、基準画像の寸法登録部分の設計図上での寸法に対する基準画像に対応付けられた実寸法の比率に基づき、画像読取部13が読み取った設計図のスケールを検知する。 In step S5, the control unit 11 recognizes the actual dimensions associated with the reference image (the actual dimensions of the portion of the object corresponding to the reference image corresponding to the dimension registration portion of the reference image). Further, in step S6, the control unit 11 obtains the ratio of the actual dimension associated with the reference image to the dimension on the design drawing of the dimension registration portion of the reference image. Then, in step S7, the control unit 11 scales the design drawing read by the image reading unit 13 based on the ratio of the actual dimensions associated with the reference image to the dimensions on the design drawing of the dimension registration portion of the reference image. Is detected.

たとえば、図3に示したオブジェクト画像G(G1)を含む設計図の読み取りが行われたとする。当該設計図(原稿D)を図8に示す。また、オブジェクト画像G1に対応付けられた実寸法(片開き扉の幅方向の実寸法)が0.8mであったとする。オブジェクト画像G1の寸法登録部分の設計図上での寸法は0.04318m(43.18mm)であったとする。 For example, it is assumed that the design drawing including the object image G (G1) shown in FIG. 3 is read. The design drawing (manuscript D) is shown in FIG. Further, it is assumed that the actual size (actual size in the width direction of the single door) associated with the object image G1 is 0.8 m. It is assumed that the dimension of the dimension registration portion of the object image G1 on the design drawing is 0.04318 m (43.18 mm).

図8に示す設計図の読み取りが行われた場合には、読取データにオブジェクト画像G(G1)が存在すると判断される。読取データにはオブジェクト画像G1が存在する一方、他のオブジェクト画像Gは存在しない。その結果、オブジェクト画像G1が基準画像として認識される。 When the design drawing shown in FIG. 8 is read, it is determined that the object image G (G1) exists in the read data. The object image G1 exists in the read data, while the other object image G does not exist. As a result, the object image G1 is recognized as a reference image.

また、図8に示す設計図の読み取りが行われた場合には、オブジェクト画像G1の寸法登録部分の寸法に対するオブジェクト画像G1に対応づけられた実寸法の比率が求められる。当該比率は「18.527(=0.8/0.04318)」となる。当該比率は小数点第4位を四捨五入している。 Further, when the design drawing shown in FIG. 8 is read, the ratio of the actual dimension associated with the object image G1 to the dimension of the dimension registration portion of the object image G1 is obtained. The ratio is "18.527 (= 0.8 / 0.04318)". The ratio is rounded to the fourth decimal place.

その結果、制御部11は、画像読取部13が読み取った設計図のスケールが1/18.527スケールであると認識する。なお、1/18.527スケールは設計図のスケールとして標準的ではない。このため、画像読取部13が読み取った設計図は複写設計図(拡大コピーまたは縮小コピーされた設計図)であるといえる。 As a result, the control unit 11 recognizes that the scale of the design drawing read by the image reading unit 13 is 1 / 18.527 scale. The 1 / 18.527 scale is not standard as a scale for design drawings. Therefore, it can be said that the design drawing read by the image reading unit 13 is a copy design drawing (enlarged copy or reduced copy design drawing).

本実施形態の構成では、上記のように、複数の異なるオブジェクトにそれぞれ対応する複数のオブジェクト画像Gが記憶部12に記憶される(データベースDBが記憶部12に記憶される)。複数のオブジェクト画像Gには、それぞれ、対応するオブジェクトの実寸法が対応付けられる。制御部11は、画像読取部13による読み取りで得られた読取データに存在するオブジェクト画像Gを基準画像として認識し、基準画像の図画(設計図)上での寸法に対する基準画像に対応付けられた実寸法の比率に基づき、画像読取部13が読み取った図画のスケールを検知するスケール検知処理を行う。 In the configuration of the present embodiment, as described above, a plurality of object images G corresponding to the plurality of different objects are stored in the storage unit 12 (the database DB is stored in the storage unit 12). The actual dimensions of the corresponding objects are associated with each of the plurality of object images G. The control unit 11 recognizes the object image G existing in the read data obtained by reading by the image reading unit 13 as a reference image, and associates the object image G with respect to the dimensions of the reference image on the drawing (design drawing). Based on the ratio of the actual dimensions, the scale detection process for detecting the scale of the drawing read by the image reading unit 13 is performed.

この構成では、スケールが不明な図画のスケールを知りたい場合、当該図画のスケールを複合機1に検知させることができるので、ユーザーは自身で図画のスケールを調べなくてもよい。これにより、ユーザーの利便性が向上する。 In this configuration, when it is desired to know the scale of a drawing whose scale is unknown, the scale of the drawing can be detected by the multifunction device 1, so that the user does not have to check the scale of the drawing by himself / herself. This improves user convenience.

<通知処理>
制御部11は、スケール検知処理後、スケール検知処理で検知したスケールをユーザーに通知する通知処理を行う。たとえば、制御部11は、スケール検知処理で検知したスケールを示すスケール情報を操作パネル15に表示させる。あるいは、制御部11は、スケール情報の用紙Pへの印刷を印刷部14に行わせる。スケール情報の表示および印刷の両方が行われてもよいし、スケール情報の表示および印刷のうちユーザー指定の処理だけが行われてもよい。
<Notification processing>
After the scale detection process, the control unit 11 performs a notification process for notifying the user of the scale detected by the scale detection process. For example, the control unit 11 causes the operation panel 15 to display scale information indicating the scale detected by the scale detection process. Alternatively, the control unit 11 causes the printing unit 14 to print the scale information on the paper P. Both the display and printing of the scale information may be performed, or only the user-specified processing of the display and printing of the scale information may be performed.

この構成では、スケールが不明な図画のスケールを容易に知ることができる。これにより、ユーザーの利便性が向上する。 In this configuration, the scale of a drawing whose scale is unknown can be easily known. This improves user convenience.

ここで、変形例として、記憶部12は、公共物など写真に写り得るオブジェクトに対応するオブジェクト画像を当該オブジェクトの実寸法と対応付けて記憶する。写真に写り得るオブジェクトとしては、信号機、標識、電柱、ポスト、自動車および鉄道車両などがある。 Here, as a modification, the storage unit 12 stores an object image corresponding to an object that can be photographed, such as a public object, in association with the actual size of the object. Objects that can be photographed include traffic lights, signs, utility poles, mailboxes, automobiles and railcars.

変形例では、記憶部12に記憶されたオブジェクト画像に対応するオブジェクトが写真に写っていれば、当該写真を複合機1でスキャンすることにより、制御部11によってスケール検知処理および通知処理が行われる。これにより、当該写真のスケールを容易に知ることができるので、ユーザーの利便性が向上する。 In the modified example, if an object corresponding to the object image stored in the storage unit 12 is shown in the photograph, the control unit 11 performs the scale detection process and the notification process by scanning the photograph with the multifunction device 1. .. As a result, the scale of the photograph can be easily known, which improves the convenience of the user.

<出力処理>
操作パネル15は、スケール検知機能に関する設定をユーザーから受け付ける。スケール検知機能に関する設定項目には出力設定がある。出力設定をオンにしておけば、図画の読取データに基づき出力画像データが生成される。そして、出力画像データに基づく印刷が行われる。
<Output processing>
The operation panel 15 receives settings related to the scale detection function from the user. There is an output setting in the setting items related to the scale detection function. If the output setting is turned on, the output image data is generated based on the reading data of the drawing. Then, printing is performed based on the output image data.

出力画像データの出力処理は制御部11が行う。制御部11は、出力設定がオンであれば、スケール検知処理後、出力画像データを生成し、出力画像データに基づく印刷を印刷部14に行わせる。出力設定がオフの場合、制御部11は、通知処理だけを行う。たとえば、写真のスケールだけを知りたい場合には、出力設定をオフにしておけばよい。なお、出力設定がオンの場合には、通知処理が行われなくてもよい。 The control unit 11 performs the output processing of the output image data. If the output setting is on, the control unit 11 generates output image data after the scale detection process, and causes the printing unit 14 to print based on the output image data. When the output setting is off, the control unit 11 only performs notification processing. For example, if you only want to know the scale of your photo, you can turn off the output setting. When the output setting is on, the notification process may not be performed.

制御部11は、出力画像データを生成するとき、ユーザーの指示に基づき編集処理を行う。編集処理には、画像追加処理、スケール変更処理および寸法付与処理がある。編集処理は、スケール検知処理で図画のスケールが検知できた場合に行われる。以下に、編集処理について説明する。以下の説明では、スケール検知機能の対象が設計図であるとする。具体的には、対象の設計図が間取り図のような建築図面であるとする。また、以下の説明では、画像読取部13が読み取った設計図を読取設計図と称する。 When the control unit 11 generates the output image data, the control unit 11 performs an editing process based on a user's instruction. The editing process includes an image addition process, a scale change process, and a dimension addition process. The editing process is performed when the scale of the drawing can be detected by the scale detection process. The editing process will be described below. In the following description, it is assumed that the target of the scale detection function is a design drawing. Specifically, it is assumed that the target design drawing is an architectural drawing such as a floor plan. Further, in the following description, the design drawing read by the image reading unit 13 is referred to as a reading design drawing.

1.画像追加処理
制御部11は、オブジェクト画像Gを追加するか否かの受け付けを操作パネル15に行わせる。そして、オブジェクト画像Gを追加する旨を操作パネル15がユーザーから受け付けた場合、制御部11は、画像追加処理に関する設定の受け付けを操作パネル15に行わせる。
1. 1. Image addition processing The control unit 11 causes the operation panel 15 to accept whether or not to add the object image G. Then, when the operation panel 15 receives from the user that the object image G is to be added, the control unit 11 causes the operation panel 15 to accept the setting related to the image addition process.

具体的には、操作パネル15は、読取設計図に追加するオブジェクト画像G(以下、追加画像Gと称する)をユーザーから受け付ける。たとえば、操作パネル15は、データベースDB内の複数のオブジェクト画像Gを選択肢として表示し、表示中のいずれかのオブジェクト画像Gを指定する操作をユーザーから受け付ける。制御部11は、ユーザー指定のオブジェクト画像Gを追加画像Gと認識する。 Specifically, the operation panel 15 receives an object image G (hereinafter, referred to as an additional image G) to be added to the reading design drawing from the user. For example, the operation panel 15 displays a plurality of object images G in the database DB as options, and accepts an operation of designating any of the displayed object images G from the user. The control unit 11 recognizes the user-specified object image G as the additional image G.

また、操作パネル15は、追加画像Gを追加する追加位置をユーザーから受け付ける。たとえば、操作パネル15は、読取設計図の読取データから生成されるプレビュー画像を表示する。すなわち、操作パネル15は、読取設計図を表示する。そして、操作パネル15は、読取設計図上のいずれかの位置を指定する操作をユーザーから受け付ける。制御部11は、ユーザー指定の読取設計図上の位置を追加位置と認識する。 Further, the operation panel 15 receives from the user an additional position for adding the additional image G. For example, the operation panel 15 displays a preview image generated from the reading data of the reading design drawing. That is, the operation panel 15 displays the reading design drawing. Then, the operation panel 15 receives an operation for designating any position on the reading design drawing from the user. The control unit 11 recognizes a position on the reading design drawing specified by the user as an additional position.

追加画像Gおよび追加位置の受付後、制御部11は、読取設計図の追加位置にスケール検知処理で検知したスケールの追加画像Gが追加されたオブジェクト追加設計図(「オブジェクト追加図画」に相当)の出力画像データを生成する。そして、制御部11は、出力画像データに基づく印刷を印刷部14に行わせる。すなわち、制御部11は、出力画像データの出力処理を行う。複合機1からは、読取設計図に追加画像Gが追加された新たな設計図が出力される。 After receiving the additional image G and the additional position, the control unit 11 adds the additional image G of the scale detected by the scale detection process to the additional position of the reading design drawing (corresponding to the "object additional drawing"). Generate the output image data of. Then, the control unit 11 causes the printing unit 14 to perform printing based on the output image data. That is, the control unit 11 performs output processing of the output image data. From the multifunction device 1, a new design drawing in which an additional image G is added to the reading design drawing is output.

この構成では、読取設計図のスケールが分からなくても、新たな設計図上での追加画像Gのサイズを新たな設計図のスケールに適したサイズにすることができる。これにより、ユーザーの利便性が向上する。 In this configuration, the size of the additional image G on the new design drawing can be set to a size suitable for the scale of the new design drawing even if the scale of the reading design drawing is not known. This improves user convenience.

2.スケール変更処理
制御部11は、スケールを変更するか否かの受け付けを操作パネル15に行わせる。そして、スケールを変更する旨を操作パネル15がユーザーから受け付けた場合、制御部11は、出力スケールを設定する。
2. Scale change processing The control unit 11 causes the operation panel 15 to accept whether or not to change the scale. Then, when the operation panel 15 receives from the user that the scale is changed, the control unit 11 sets the output scale.

ここで、印刷の実行前、操作パネル15は、印刷に用いる用紙サイズの指定をユーザーから受け付ける。そして、制御部11は、ユーザー指定の用紙サイズに基づき、出力スケールを設定する。 Here, before the execution of printing, the operation panel 15 receives from the user the specification of the paper size used for printing. Then, the control unit 11 sets the output scale based on the paper size specified by the user.

具体的には、出力スケールを設定するとき、制御部11は、標準的なスケールとして予め登録された複数の登録スケールのうち、出力画像データに基づき印刷される設計図(標準スケール設計図)をユーザー指定の用紙サイズに収めることが可能な登録スケールを認識する。そして、制御部11は、当該認識した登録スケールを出力スケールに設定する。 Specifically, when setting the output scale, the control unit 11 prints a design drawing (standard scale design drawing) printed based on the output image data among a plurality of registered scales registered in advance as a standard scale. Recognize a registration scale that can fit in a user-specified paper size. Then, the control unit 11 sets the recognized registration scale as the output scale.

なお、出力画像データに基づき印刷される設計図をユーザー指定の用紙サイズに収めることが可能な登録スケールが複数存在する場合には、当該複数存在する登録スケールのうちユーザー指定の登録スケールを出力スケールに設定してもよい。また、登録されているか否かにかかわらず、ユーザーが任意に指定したスケールを出力スケールに設定してもよい。 If there are multiple registration scales that can fit the design drawing printed based on the output image data in the paper size specified by the user, the registration scale specified by the user is output from the multiple registration scales. May be set to. Further, a scale arbitrarily specified by the user may be set as the output scale regardless of whether or not it is registered.

出力スケールの設定後、制御部11は、読取設計図の読取データを拡大または縮小することにより、読取設計図のスケールが出力スケールに変更された標準スケール設計図(「標準スケール図画」に相当)の出力画像データを生成する。そして、制御部11は、出力画像データに基づく印刷を印刷部14に行わせる。すなわち、制御部11は、出力画像データの出力処理を行う。複合機1からは、標準スケール設計図が出力される。 After setting the output scale, the control unit 11 enlarges or reduces the reading data of the reading design drawing, so that the scale of the reading design drawing is changed to the output scale (corresponding to "standard scale drawing"). Generate the output image data of. Then, the control unit 11 causes the printing unit 14 to perform printing based on the output image data. That is, the control unit 11 performs output processing of the output image data. A standard scale design drawing is output from the multifunction device 1.

この構成では、読取設計図が拡大コピーまたは縮小コピーされた設計図(スケールが合っていない設計図)であっても、標準スケール設計図を容易に得ることができる。これにより、ユーザーの利便性が向上する。 In this configuration, even if the read design drawing is an enlarged copy or a reduced copy of the design drawing (design drawing that does not match the scale), the standard scale design drawing can be easily obtained. This improves user convenience.

たとえば、図9上図に示すように、図8に示した設計図(原稿D)の読み取りが行われたとする。また、出力スケールが標準的なスケール(ここでは、1/10スケールとする)に設定されたとする。ここで、図9上図に示した設計図は拡大コピーまたは縮小コピーすることで得られた複写設計図であるため、中途半端なスケール(=1/18.527スケール)となっている。 For example, as shown in the upper figure of FIG. 9, it is assumed that the design drawing (manuscript D) shown in FIG. 8 is read. Further, it is assumed that the output scale is set to a standard scale (here, 1/10 scale). Here, since the design drawing shown in the upper figure of FIG. 9 is a copy design drawing obtained by enlarging or reducing copying, the scale is halfway (= 1 / 18.527 scale).

この例では、読取設計図のスケールが1/10スケールとなるよう読取データが拡大されることにより、標準スケール設計図の出力画像データが生成される。出力される標準スケール設計図(用紙P)を図9下図に示す。 In this example, the output image data of the standard scale design drawing is generated by enlarging the reading data so that the scale of the reading design drawing becomes 1/10 scale. The output standard scale design drawing (paper P) is shown in the lower figure of FIG.

ここで、標準スケール設計図に出力スケールが印刷されてもよい。標準スケール設計図に出力スケールが印刷されなくてもよい。出力スケールを印刷するか否かをユーザーが設定できてもよい。出力スケールを印刷するか否かの設定は操作パネル15がユーザーから受け付ける。図9下図には、出力スケールが印刷された標準スケール設計図を示す。たとえば、1/10スケールであれば「Scale=1:10」と印刷される。 Here, the output scale may be printed on the standard scale design drawing. The output scale does not have to be printed on the standard scale blueprint. The user may be able to set whether to print the output scale. The operation panel 15 receives from the user the setting of whether or not to print the output scale. FIG. 9 The lower figure shows a standard scale design drawing on which the output scale is printed. For example, if it is 1/10 scale, "Scale = 1:10" is printed.

なお、画像追加処理およびスケール変更処理の両方を行って出力画像データを生成してもよい。この場合、たとえば、制御部11は、オブジェクト追加設計図の出力画像データを生成し、その後、当該出力画像データを拡大または縮小して標準スケール設計図の出力画像データを生成する。 The output image data may be generated by performing both the image addition process and the scale change process. In this case, for example, the control unit 11 generates the output image data of the object additional design drawing, and then enlarges or reduces the output image data to generate the output image data of the standard scale design drawing.

3.寸法付与処理
制御部11は、読取設計図の読取データの中に寸法が付されていないオブジェクト画像G(以下、寸法未記入画像Gと称する)が存在するか否かを判断する。また、制御部11は、読取設計図の読取データの中に寸法が付されていない寸法線(以下、寸法未記入線と称する)が存在するか否かを判断する。寸法未記入画像Gおよび寸法未記入線の少なくとも一方が読取設計図の読取データに存在する場合、制御部11は、寸法を付与するか否かの受け付けを操作パネル15に行わせる。
3. 3. The dimensioning processing control unit 11 determines whether or not there is an object image G (hereinafter, referred to as a dimension-unfilled image G) without dimensions in the read data of the reading design drawing. In addition, the control unit 11 determines whether or not there is a dimension line without dimensions (hereinafter, referred to as a dimension blank line) in the read data of the reading design drawing. When at least one of the non-dimensional image G and the non-dimensional line is present in the read data of the read design drawing, the control unit 11 causes the operation panel 15 to accept whether or not to give the dimension.

寸法を付与する旨を操作パネル15がユーザーから受け付けた場合、制御部11は、出力画像データを生成するときに寸法付与処理を行う。制御部11は、寸法付与処理を行うことにより、寸法追加設計図(「寸法追加図画」に相当)の出力画像データを生成する。そして、制御部11は、出力画像データに基づく印刷を印刷部14に行わせる。すなわち、制御部11は、出力画像データの出力処理を行う。複合機1からは、読取設計図に寸法が追加された新たな設計図が出力される。 When the operation panel 15 receives from the user that the dimension is to be given, the control unit 11 performs the dimensioning process when generating the output image data. The control unit 11 generates output image data of the dimension addition design drawing (corresponding to the "dimension addition drawing") by performing the dimension addition processing. Then, the control unit 11 causes the printing unit 14 to perform printing based on the output image data. That is, the control unit 11 performs output processing of the output image data. From the multifunction device 1, a new design drawing in which dimensions are added to the reading design drawing is output.

まず、読取設計図の読取データに寸法未記入画像Gが存在する場合に行われる寸法付与処理について説明する。 First, the dimension addition process performed when the dimension-unfilled image G is present in the scan data of the scan design drawing will be described.

読取設計図の読取データに寸法未記入画像Gが存在する場合、制御部11は、寸法未記入画像Gに対応付けられた実寸法を第1対象寸法と認識する。そして、制御部11は、読取設計図の寸法未記入画像Gに第1対象寸法が付された設計図の画像データを寸法追加設計図の出力画像デーとして生成する。 When the dimension-unfilled image G is present in the scan data of the scan design drawing, the control unit 11 recognizes the actual dimension associated with the dimension-unfilled image G as the first target dimension. Then, the control unit 11 generates the image data of the design drawing in which the first target dimension is attached to the dimension-unfilled image G of the reading design drawing as the output image day of the dimension addition design drawing.

次に、読取設計図の読取データに寸法未記入線が存在する場合に行われる寸法付与処理について説明する。 Next, the dimensioning process performed when there is a dimension unfilled line in the scanned data of the scanned design drawing will be described.

読取設計図の読取データに寸法未記入線が存在する場合、制御部11は、スケール認識処理で求めた比率(図7のステップS6の処理で求めた比率)に基づき、寸法未記入線で規定された2点間の実寸法である第2対象寸法を求める。このとき、制御部11は、寸法未記入線で規定された2点間の読取設計図上での寸法を求め、当該求めた寸法にスケール検知処理で求めた比率を乗じることによって第2対象寸法を求める。そして、制御部11は、読取設計図の寸法未記入線に第2対象寸法が付された設計図の画像データを寸法追加設計図の出力画像データとして生成する。 When the read data of the read design drawing has a dimension blank line, the control unit 11 defines the dimension blank line based on the ratio obtained by the scale recognition process (the ratio obtained by the process of step S6 of FIG. 7). The second target dimension, which is the actual dimension between the two points, is obtained. At this time, the control unit 11 obtains the dimension on the reading design drawing between the two points defined by the dimension blank line, and multiplies the obtained dimension by the ratio obtained by the scale detection process to obtain the second target dimension. Ask for. Then, the control unit 11 generates the image data of the design drawing in which the second target dimension is added to the dimension unfilled line of the reading design drawing as the output image data of the dimension addition design drawing.

この構成では、読取設計図に実寸法が記されていなくても、実寸法が記された寸法追加設計図を容易に得ることができる。これにより、実寸法を知りたいユーザーの利便性が向上する。 In this configuration, even if the actual dimensions are not described in the reading design drawing, the dimension addition design drawing in which the actual dimensions are described can be easily obtained. This improves the convenience of users who want to know the actual dimensions.

たとえば、図10上図に示すように、図8に示した設計図から寸法を省略した設計図の読み取りが行われたとする。図10上図に示す設計図の読み取りが行われた場合、スケール検知処理において求められる比率(ここでは、単に比率と称する)は18.527となる。 For example, as shown in the upper figure of FIG. 10, it is assumed that the design drawing with the dimensions omitted from the design drawing shown in FIG. 8 is read. When the design drawing shown in the upper figure of FIG. 10 is read, the ratio (here, simply referred to as a ratio) required in the scale detection process is 18.527.

図10上図に示す設計図では、オブジェクト画像G1に寸法が付されていない。したがって、オブジェクト画像G1が寸法未記入画像と判断される。また、オブジェクト画像G1に対応付けられた実寸法「0.8m」が第1対象寸法と認識される。その結果、オブジェクト画像G1には寸法「0.8m」が付される。 FIG. 10 In the design drawing shown in the upper figure, the object image G1 is not dimensioned. Therefore, the object image G1 is determined to be an unfilled image. Further, the actual dimension "0.8 m" associated with the object image G1 is recognized as the first target dimension. As a result, the object image G1 is attached with the dimension "0.8 m".

また、図10上図に示す設計図では、符号L1およびL2を付した各寸法線が寸法未記入線と判断される。なお、オブジェクト画像G1に対応する寸法線にも寸法が付されていないが、当該寸法線にはオブジェクト画像G1に対応付けられた実寸法が付される。したがって、オブジェクト画像G1に対応する寸法線は寸法未記入線と判断されない。 Further, in the design drawing shown in the upper figure of FIG. 10, each dimension line having the reference numerals L1 and L2 is determined to be a dimension unfilled line. Although the dimension line corresponding to the object image G1 is not dimensioned, the actual dimension associated with the object image G1 is attached to the dimension line. Therefore, the dimension line corresponding to the object image G1 is not determined to be a dimension blank line.

ここで、寸法線L1で規定された2点間の設計図上の寸法が0.1349m(134.9mm)であったとする。また、寸法線L2で規定された2点間の設計図上での寸法が0.2159m(215.9mm)であったとする。この場合、寸法線L1には、0.1349に比率を乗じることで得られる値(小数第2位を四捨五入)に基づき、寸法「2.5m」が付される。寸法線L2には0.2159に比率を乗じることで得られる値(小数第2位を四捨五入)に基づき、寸法「4.0m」が付される。図10上図に示す設計図の読み取りが行われた場合に出力される設計図を図10下図に示す。 Here, it is assumed that the dimension on the design drawing between the two points defined by the dimension line L1 is 0.1349 m (134.9 mm). Further, it is assumed that the dimension on the design drawing between the two points defined by the dimension line L2 is 0.2159 m (215.9 mm). In this case, the dimension line L1 is given the dimension "2.5 m" based on the value obtained by multiplying 0.1349 by the ratio (rounded to the first decimal place). The dimension line L2 is given the dimension "4.0 m" based on the value obtained by multiplying 0.2159 by the ratio (rounded to the first decimal place). The design drawing output when the design drawing shown in the upper figure of FIG. 10 is read is shown in the lower figure of FIG.

なお、画像追加処理および寸法付与処理の2つが行われてもよい。また、スケール変更処理および寸法付与処理の2つが行われてもよい。さらに、画像追加処理、スケール変更処理および寸法付与処理の全てが行われてもよい。 It should be noted that two processes, an image addition process and a dimension addition process, may be performed. Further, two processes, a scale change process and a dimensioning process, may be performed. Further, the image addition process, the scale change process, and the dimension addition process may all be performed.

今回開示された実施形態は、すべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記実施形態の説明ではなく特許請求の範囲によって示され、さらに、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれる。 The embodiments disclosed this time should be considered as exemplary in all respects and not restrictive. The scope of the present invention is shown by the scope of claims rather than the description of the above embodiment, and further includes all modifications within the meaning and scope equivalent to the scope of claims.

1 複合機(画像処理装置)
11 制御部
12 記憶部
13 画像読取部
14 印刷部
15 操作パネル
G オブジェクト画像
1 Multifunction device (image processing device)
11 Control unit 12 Storage unit 13 Image reading unit 14 Printing unit 15 Operation panel G Object image

Claims (8)

図画を読み取る画像読取部と、
オブジェクトを表すオブジェクト画像を前記オブジェクトの実寸法と対応付けて記憶する記憶部と、
前記画像読取部が読み取った読取図画の読取データに存在する前記オブジェクト画像を基準画像として認識し、前記基準画像の前記読取図画上での寸法に対する前記基準画像に対応付けられた実寸法の比率に基づき、前記読取図画のスケールを検知するスケール検知処理を行う制御部と、を備えることを特徴とする画像処理装置。
An image reader that reads pictures and
A storage unit that stores an object image representing an object in association with the actual size of the object,
The object image existing in the scanned data of the scanned image read by the image reading unit is recognized as a reference image, and the ratio of the actual size associated with the reference image to the dimension of the reference image on the scanned image is calculated. Based on this, an image processing device including a control unit that performs scale detection processing for detecting the scale of the scanned drawing.
前記制御部は、前記スケール検知処理で検知したスケールをユーザーに通知する処理を行うことを特徴とする請求項1に記載の画像処理装置。 The image processing device according to claim 1, wherein the control unit performs a process of notifying the user of the scale detected by the scale detection process. 操作パネルを備え、
前記操作パネルは、前記読取図画に追加する前記オブジェクト画像である追加画像および前記追加画像を追加する追加位置を受け付け、
前記制御部は、
前記読取図画の前記追加位置に前記スケール検知処理で検知したスケールの前記追加画像が追加されたオブジェクト追加図画の出力画像データを生成し、
前記出力画像データの出力処理を行うことを特徴とする請求項1または2に記載の画像処理装置。
Equipped with an operation panel
The operation panel accepts an additional image, which is the object image to be added to the scanned drawing, and an additional position to add the additional image.
The control unit
The output image data of the object additional drawing in which the additional image of the scale detected by the scale detection process is added to the additional position of the reading drawing is generated.
The image processing apparatus according to claim 1 or 2, wherein the output processing of the output image data is performed.
前記制御部は、
標準的なスケールとして予め登録された登録スケールを出力スケールに設定し、
前記読取データを拡大または縮小することにより、前記読取図画のスケールが前記出力スケールに変更された標準スケール図画の出力画像データを生成し、
前記出力画像データの出力処理を行うことを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。
The control unit
Set the pre-registered registration scale as the standard scale to the output scale and set it to the output scale.
By enlarging or reducing the read data, the output image data of the standard scale drawing in which the scale of the read drawing is changed to the output scale is generated.
The image processing apparatus according to any one of claims 1 to 3, wherein the output processing of the output image data is performed.
前記読取図画は設計図であり、
前記制御部は、
前記読取データの中に寸法が付されていない前記オブジェクト画像である寸法未記入画像が存在するか否かを判断し、
前記読取データに前記寸法未記入画像が存在する場合、前記寸法未記入画像に対応付けられた実寸法を第1対象寸法と認識し、
前記読取図画の前記寸法未記入画像に前記第1対象寸法が付された寸法追加図画の出力画像データを生成し、
前記出力画像データの出力処理を行うことを特徴とする請求項1〜4のいずれか1項に記載の画像処理装置。
The reading drawing is a design drawing and
The control unit
It is determined whether or not there is a non-dimensional image which is the object image without dimensions in the read data.
When the dimension-unfilled image is present in the read data, the actual dimension associated with the dimension-unfilled image is recognized as the first target dimension.
The output image data of the dimension addition drawing in which the first target dimension is added to the dimension-unfilled image of the reading drawing is generated.
The image processing apparatus according to any one of claims 1 to 4, wherein the output processing of the output image data is performed.
前記制御部は、
前記読取データの中に寸法が付されていない寸法線である寸法未記入線が存在するか否かを判断し、
前記読取データに前記寸法未記入線が存在する場合、前記比率に基づき、前記寸法未記入線で規定された2点間の実寸法である第2対象寸法を求め、
前記読取図画の前記寸法未記入線に前記第2対象寸法が付された図画の画像データを前記寸法追加図画の出力画像データとして生成することを特徴とする請求項5に記載の画像処理装置。
The control unit
It is determined whether or not there is a dimension unfilled line which is a dimension line without dimension in the read data.
When the dimension blank line is present in the read data, the second target dimension, which is the actual dimension between the two points defined by the dimension blank line, is obtained based on the ratio.
The image processing apparatus according to claim 5, wherein the image data of the drawing in which the second target dimension is added to the dimension blank line of the reading drawing is generated as the output image data of the dimension addition drawing.
印刷を行う印刷部を備え、
前記制御部は、前記出力画像データに基づく印刷を前記印刷部に行わせることを特徴とする請求項3〜6のいずれか1項に記載の画像処理装置。
Equipped with a printing unit for printing
The image processing apparatus according to any one of claims 3 to 6, wherein the control unit causes the printing unit to perform printing based on the output image data.
前記読取データに複数の前記オブジェクト画像が存在する場合、前記制御部は、前記読取データに存在する複数の前記オブジェクト画像のうち、ユーザーにより選択された前記オブジェクト画像を前記基準画像として認識することを特徴とする請求項1〜7のいずれか1項に記載の画像処理装置。 When a plurality of the object images are present in the read data, the control unit recognizes the object image selected by the user among the plurality of object images existing in the read data as the reference image. The image processing apparatus according to any one of claims 1 to 7.
JP2020021594A 2020-02-12 2020-02-12 Image processing device Pending JP2021128424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020021594A JP2021128424A (en) 2020-02-12 2020-02-12 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020021594A JP2021128424A (en) 2020-02-12 2020-02-12 Image processing device

Publications (1)

Publication Number Publication Date
JP2021128424A true JP2021128424A (en) 2021-09-02

Family

ID=77488565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020021594A Pending JP2021128424A (en) 2020-02-12 2020-02-12 Image processing device

Country Status (1)

Country Link
JP (1) JP2021128424A (en)

Similar Documents

Publication Publication Date Title
US7412184B2 (en) User interface for image forming apparatus
JP5198089B2 (en) Functionally configurable electronic devices
JP5925749B2 (en) Image forming apparatus
JPH09261382A (en) Image forming device
JP2002304092A (en) Image forming apparatus
JPH11321040A (en) Image formation apparatus, method for controlling use environment, and memory medium
JP2021128424A (en) Image processing device
JP6269298B2 (en) Image forming apparatus
US10915800B2 (en) Image forming apparatus that acquires fixed data and plurality of pieces of variable data according to user&#39;s instruction, and executes variable printing
JP2010278789A (en) Image processing apparatus
US20200019351A1 (en) Image forming apparatus and method for controlling the same
JPH11146115A (en) Image forming device
JP2006119542A (en) Image processor, image processing method, computer program, and computer readable storage medium
US10509550B2 (en) Display device changing displayed image in accordance with depressed state on touch panel and image processing device using same
JP2021141394A (en) Image processing apparatus
US11531503B2 (en) Image processing apparatus and image processing system
JP7402414B2 (en) Image forming device
US20210373828A1 (en) Printing system, information processing device, storage medium storing control program, and control method
US7355738B2 (en) Image forming apparatus and method of controlling the apparatus
JP2021070157A (en) Image forming device, control program and control method
JP2022102188A (en) Image processing apparatus
JP2022024783A (en) Image forming apparatus
JP6572852B2 (en) Image forming apparatus and image forming method
JP2021099711A (en) Information processing apparatus
JP5957414B2 (en) Image processing apparatus and image forming apparatus