JP2010097305A - Typesetting device, typesetting method, and typesetting processing program - Google Patents

Typesetting device, typesetting method, and typesetting processing program Download PDF

Info

Publication number
JP2010097305A
JP2010097305A JP2008266047A JP2008266047A JP2010097305A JP 2010097305 A JP2010097305 A JP 2010097305A JP 2008266047 A JP2008266047 A JP 2008266047A JP 2008266047 A JP2008266047 A JP 2008266047A JP 2010097305 A JP2010097305 A JP 2010097305A
Authority
JP
Japan
Prior art keywords
image
size
area
old
layout area
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
JP2008266047A
Other languages
Japanese (ja)
Inventor
Yoshitaka Yamamoto
良隆 山本
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2008266047A priority Critical patent/JP2010097305A/en
Publication of JP2010097305A publication Critical patent/JP2010097305A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a typesetting device, typesetting method, and typesetting processing program that automatically arrange a desired image on a desired frame and save force of image layout operation in a DTP without separately managing arrangement information. <P>SOLUTION: The typesetting device performs typesetting processing by arranging the image in a layout region. The typesetting device includes an arrangement information extracting means for extracting the arrangement information attached to image data that shows an image to be arranged and includes the size and arrangement position of the old layout region as the layout region where the image has been arranged in the past and the arrangement information showing the size of the image when the image is arranged in the old layout region. Based on the size of a new layout region as the layout region where the image is newly arranged and the size of the old layout region included in the extracted arrangement information, the typesetting device obtains information showing the size and arrangement position of the image when the image is arranged in the new layout region, and arranges the image in the new layout region according to the information showing the size and arrangement position of the obtained image. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、データベース上のデータに基づき、DTP(Desk Top Publishing)データの作成及び編集を行うシステム等の技術分野に関する。   The present invention relates to a technical field such as a system for creating and editing DTP (Desk Top Publishing) data based on data on a database.

自動組版においてDTPデータ上に画像を自動でレイアウトする際、画像サイズを調整したり、レイアウト領域(フレーム)内のどの位置に画像をレイアウトするか調整することが多い。   When an image is automatically laid out on DTP data in automatic composition, the image size is often adjusted, and the position in the layout area (frame) where the image is laid out is often adjusted.

このような画像サイズや配置位置の調整は、以前使用した画像を新たにレイアウト領域(フレーム)に配置して再利用する場合であっても、自動組版等でフレームに画像を配置した後に、オペレータが画像サイズの拡大・縮小を指定したり、その変倍率や傾斜等を指定して調整しなければならず、作業効率の低下や作業ミスを発生させる原因となっていた。   Such adjustment of the image size and position can be performed by the operator after arranging the image in the frame by automatic typesetting or the like even when the previously used image is newly arranged in the layout area (frame) and reused. However, it has been necessary to specify the enlargement / reduction of the image size, or to specify and adjust the scaling factor, the inclination, etc., which causes a reduction in work efficiency and a work error.

特許文献1には、自動組版機能を用いて、フレームに配置した画像の割付情報を割付結果として割付情報記憶手段に記憶させておき、画像を再利用する場合には、過去の割付結果をコピーしてフィードバックし、同一の割付作業をする際に利用する技術が開示されている。   Patent Document 1 uses an automatic typesetting function to store allocation information of an image arranged in a frame as an allocation result in an allocation information storage unit, and when reusing an image, a past allocation result is copied. Thus, there is disclosed a technique to be used for feedback and performing the same assignment work.

しかしながら、このような手法は、画像が配置されるフレームの大きさを考慮していないため、過去のフレームサイズと今回配置しようとするフレームのフレームサイズが異なる場合には、過去の割付結果をフィードバックすることにより画像を配置したとしても最終的には今回配置しようとするフレームに合致するようオペレータが手作業で画像サイズ等を調整をしなければならないという問題がある。   However, since such a method does not consider the size of the frame in which the image is arranged, if the past frame size and the frame size of the frame to be arranged this time are different, the past allocation result is fed back. As a result, there is a problem that even if the image is arranged, the operator has to manually adjust the image size or the like so as to finally match the frame to be arranged this time.

さらにこの手法では、複数の情報(テキストデータや画像情報や割付結果)がそれぞれ紐付けられて登録・管理されていることから、画像データ単独で利用する場合には、このような紐付けがされていないため、複数の情報から割付結果等をその都度探さなければならないという問題がある。   Furthermore, in this method, a plurality of pieces of information (text data, image information, and assignment results) are associated with each other and registered and managed. Therefore, when image data alone is used, such association is performed. Therefore, there is a problem that an assignment result or the like must be searched for each time from a plurality of pieces of information.

一方で、本願出願人による特許出願によって、ページレイアウトシステムにおいて、画像データそのものにアタリ情報を保存しておき、再び画像を画像ボックスに配置する際には、かかるアタリ情報に基づいて自動トリミングする手法も提案されている(特許文献2参照)。
特願平10−269374号公報 特願2000−29875号公報
On the other hand, according to a patent application filed by the applicant of the present application, in the page layout system, when the atari information is stored in the image data itself and the image is placed again in the image box, the automatic trimming based on the atari information is performed. Has also been proposed (see Patent Document 2).
Japanese Patent Application No. 10-269374 Japanese Patent Application No. 2000-29875

しかしながら、アタリ情報は画像の画像ボックス内の位置を示す情報(位置、変倍、配置角度等)であるため、同一の大きさの画像ボックスに画像を再利用する際には有効な手法であるが、画像ボックスのサイズが異なる場合には、アタリ情報に基づいて画像ボックスに画像を配置した後に、トリミングするなどして画像ボックスのサイズを変更させる必要が生じることもあり、所望の画像を所望の大きさの画像ボックスに配置させたい場合には、やはりオペレータが手作業で画像サイズ等を調整をしなければならないという問題がある。   However, since the atari information is information indicating the position of the image in the image box (position, scaling, arrangement angle, etc.), it is an effective technique when reusing an image in an image box of the same size. However, if the size of the image box is different, it may be necessary to change the size of the image box by trimming after arranging the image in the image box based on the atari information. However, there is a problem that the operator has to manually adjust the image size and the like when he / she wants to place the image box in the size of.

そこで、本発明は、上記問題等に鑑みて為されたもので、画像が過去に配置されていた際の配置情報を別個管理することなく、所望の画像を所望のフレームに自動で配置させてDTPにおける画像レイアウト作業の省力化を実現する組版装置、組版方法、及び組版処理プログラムを提供することを課題とする。   Therefore, the present invention has been made in view of the above problems and the like, and automatically arranges a desired image in a desired frame without separately managing arrangement information when the image has been arranged in the past. It is an object of the present invention to provide a typesetting apparatus, a typesetting method, and a typesetting processing program for realizing labor saving of image layout work in DTP.

また、マスク処理を含むDTPにおいても、所望のマスクを用いて自動で切り取り処理を行なうことを実現する組版装置等を提供することを課題とする。   It is another object of the present invention to provide a typesetting apparatus that realizes automatic cutting processing using a desired mask even in DTP including mask processing.

上記課題を解決するために、請求項1に記載の発明は、画像をレイアウト領域に配置して組版処理を行なう組版装置であって、配置の対象となる画像を示す画像データであって、当該画像が過去に配置されていたレイアウト領域である旧レイアウト領域の大きさを示す旧レイアウトサイズ指標値(フレームの縦横サイズ、又は補助フレームの縦横サイズ)及び配置位置(オフセット、傾斜角度等)と、当該画像が前記旧レイアウト領域に配置されていた際の当該画像の大きさを示す配置情報が付加された前記画像データを取得する画像データ取得手段と、取得された画像データに付加された前記配置情報を抽出する配置情報抽出手段と、当該画像を新たに配置するレイアウト領域である新レイアウト領域の大きさを示す新レイアウトサイズ指標値と、前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報を取得する情報取得手段と、取得された画像の大きさと配置位置を示す情報に従って前記画像を前記新レイアウト領域へ配置する配置手段と、を有することを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 1 is a typesetting apparatus that performs typesetting processing by arranging an image in a layout area, and is image data indicating an image to be arranged, An old layout size index value (the vertical and horizontal size of the frame or the vertical and horizontal size of the auxiliary frame) indicating the size of the old layout area, which is the layout area where the image has been arranged in the past, and the arrangement position (offset, inclination angle, etc.); Image data acquisition means for acquiring the image data to which the arrangement information indicating the size of the image when the image is arranged in the old layout area is added, and the arrangement added to the acquired image data A layout information extracting means for extracting information, and a new layout size indication indicating the size of a new layout area which is a layout area for newly arranging the image. Based on the value and the old layout size index value included in the arrangement information extracted by the arrangement information extracting means, information indicating the size and arrangement position of the image when the image is arranged in the new layout area. A typesetting apparatus comprising: information acquisition means for acquiring; and arrangement means for arranging the image in the new layout area in accordance with information indicating the size and arrangement position of the acquired image.

これによれば、画像データに当該画像が過去に配置されていた旧レイアウト領域(フレーム)の大きさを示す旧レイアウトサイズ指標値と配置位置、及び配置されていた際の当該画像の大きさを配置情報として付加し、画像を新たなレイアウト領域に配置させる際には当該画像データから配置情報を抽出し、抽出された配置情報に含まれる旧レイアウトサイズ指標値と新たに配置される新レイアウト領域の大きさを示す新レイアウトサイズ指標値に基づいて、配置位置等を示す情報を取得するよう構成したので、所望の画像を所望のレイアウト領域に自動で配置させることができる。さらには、画像データそのものに配置情報を埋め込んだ(付加した)ので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版装置を実現することができる。   According to this, the old layout size index value indicating the size of the old layout area (frame) in which the image has been arranged in the past in the image data, the arrangement position, and the size of the image when arranged. When adding an arrangement information and placing an image in a new layout area, the arrangement information is extracted from the image data, and the old layout size index value included in the extracted arrangement information and a new layout area newly arranged Since the information indicating the arrangement position or the like is acquired based on the new layout size index value indicating the size of the image, a desired image can be automatically arranged in a desired layout area. Furthermore, since the arrangement information is embedded (added) in the image data itself, the image data alone can be used for various DTP operations, and a more convenient typesetting apparatus can be realized.

上記課題を解決するために、請求項2に記載の発明は、請求項1に記載の組版装置であって、前記情報取得手段は、前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値が、前記新レイアウトサイズ指標値と同一である場合には、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置を、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報として取得することを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 2 is the typesetting apparatus according to claim 1, wherein the information acquisition means is included in the arrangement information extracted by the arrangement information extraction means. When the old layout size index value is the same as the new layout size index value, the size and position of the image when it is arranged in the old layout area are arranged in the new layout area. The typesetting device is obtained as information indicating a size and an arrangement position of the image at the time of performing.

これによれば、画像データから抽出された配置情報に含まれる旧レイアウトサイズ指標値が新レイアウトサイズ指標値同一であれば、抽出された配置情報をそのまま新レイアウト領域への配置位置等を示す情報として利用して、画像を新レイアウト領域に適切に配置させることができる。   According to this, if the old layout size index value included in the arrangement information extracted from the image data is the same as the new layout size index value, the extracted arrangement information is used to indicate the arrangement position in the new layout area as it is. Can be used to appropriately arrange the image in the new layout area.

上記課題を解決するために、請求項3に記載の発明は、請求項1又は請求項2に記載の組版装置であって、前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値が、前記新レイアウトサイズ指標値と異なる場合には、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が同一であるか否かを、前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて判定する判定手段と、判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が同一である場合には、前記旧レイアウト領域の大きさに対する前記新レイアウト領域の大きさの比である倍率を、前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて取得する第1倍率取得手段を有し、前記情報取得手段は、前記第1倍率取得手段により取得された倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を算出して取得することを特徴とする組版装置である。   In order to solve the above problem, the invention according to claim 3 is the typesetting apparatus according to claim 1 or 2, wherein the old layout included in the arrangement information extracted by the arrangement information extraction means. When the size index value is different from the new layout size index value, the aspect ratio that is the ratio of the old layout area to the vertical direction and the horizontal direction, and the vertical and horizontal ratio that is the ratio of the new layout area to the vertical direction and the horizontal direction. The determination means for determining whether or not the ratio is the same based on the old layout size index value and the new layout size index value, and, as a result of the determination, is a ratio between the vertical direction and the horizontal direction of the old layout area. When the aspect ratio and the aspect ratio that is the ratio between the vertical direction and the horizontal direction of the new layout area are the same, the ratio that is the ratio of the size of the new layout area to the size of the old layout area On the basis of the old layout size index value and the new layout size index value, the information acquisition means includes the magnification acquired by the first magnification acquisition means, Based on the size and placement position of the image when placed in a layout area, the size and placement position of the image when placing the image in the new layout area are calculated and acquired. It is a typesetting device.

これによれば、画像データから抽出された配置情報に基づいて、旧レイアウト領域の縦横比と、新レイアウト領域の縦横比が同一であるか否か判定し、各縦横比が同一であれば、各レイアウト領域の倍率と上記配置情報基づいて画像を新レイアウト領域に適切に配置させることができる。   According to this, based on the arrangement information extracted from the image data, it is determined whether the aspect ratio of the old layout area and the aspect ratio of the new layout area are the same, and if each aspect ratio is the same, An image can be appropriately arranged in the new layout area based on the magnification of each layout area and the arrangement information.

上記課題を解決するために、請求項4に記載の発明は、請求項3に記載の組版装置であって、前記判定手段による判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が異なる場合には、前記旧レイアウト領域の縦方向の大きさに対する前記新レイアウト領域の縦方向の大きさの比である縦方向倍率と、前記旧レイアウト領域の横方向の大きさに対する前記新レイアウト領域の横方向の大きさの比である横方向倍率と、を前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて夫々取得する第2倍率取得手段を有し、前記情報取得手段は、前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の縦方向の大きさと、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の横方向の大きさと、前記新レイアウト領域に対する横方向の配置位置を算出して取得することを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 4 is the typesetting apparatus according to claim 3, wherein as a result of the determination by the determining means, the ratio of the vertical direction and the horizontal direction of the old layout area is determined. When a certain aspect ratio is different from an aspect ratio which is a ratio between the vertical direction and the horizontal direction of the new layout area, the ratio of the vertical size of the new layout area to the vertical size of the old layout area And a horizontal magnification which is a ratio of a horizontal size of the new layout area to a horizontal size of the old layout area, and the old layout size index value and the new layout size index. A second magnification acquisition unit configured to acquire each of the values based on the value; and the information acquisition unit includes a vertical magnification acquired by the second magnification acquisition unit and a previous layout area Based on the size and arrangement position of the image, the vertical size of the image when the image is arranged in the new layout area and the vertical arrangement position with respect to the new layout area are calculated and obtained, The image when the image is arranged in the new layout area based on the horizontal magnification obtained by the second magnification acquisition means and the size and arrangement position of the image when arranged in the old layout area The typesetting device is characterized in that it calculates and obtains the horizontal size of the image and the horizontal arrangement position with respect to the new layout area.

これによれば、旧レイアウト領域の縦横比と新レイアウト領域の縦横比が異なる場合であっても、各レイアウト領域の縦方向倍率と横方向倍率、及び上記配置情報基づいて画像を新レイアウト領域に適切に配置させることができる。   According to this, even when the aspect ratio of the old layout area and the aspect ratio of the new layout area are different, the image is converted into the new layout area based on the vertical magnification and horizontal magnification of each layout area and the arrangement information. It can be placed properly.

上記課題を解決するために、請求項5に記載の発明は、請求項3に記載の組版装置であって、前記判定手段による判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が異なる場合には、前記旧レイアウト領域の縦方向の大きさに対する前記新レイアウト領域の縦方向の大きさの比である縦方向倍率と、前記旧レイアウト領域の横方向の大きさに対する前記新レイアウト領域の横方向の大きさの比である横方向倍率と、を前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて夫々取得する第2倍率取得手段を有し、前記情報取得手段は、前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する横方向の配置位置を算出して取得し、前記縦方向倍率と前記横方向倍率のうち、小さいほうの倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさに基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさを算出して取得することを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 5 is the typesetting apparatus according to claim 3, wherein as a result of the determination by the determination means, the ratio of the vertical direction and the horizontal direction of the old layout area is determined. When a certain aspect ratio is different from an aspect ratio which is a ratio between the vertical direction and the horizontal direction of the new layout area, the ratio of the vertical size of the new layout area to the vertical size of the old layout area And a horizontal magnification which is a ratio of a horizontal size of the new layout area to a horizontal size of the old layout area, and the old layout size index value and the new layout size index. A second magnification acquisition unit configured to acquire each of the values based on the value; and the information acquisition unit includes a vertical magnification acquired by the second magnification acquisition unit and a previous layout area Based on the layout position of the recorded image, the vertical layout position with respect to the new layout area is calculated and acquired, and the horizontal magnification acquired by the second magnification acquisition means and the old layout area are arranged. The horizontal layout position with respect to the new layout area is calculated and acquired based on the layout position of the image at the time, and the smaller one of the vertical magnification and the horizontal magnification, and the old layout area A typesetting device that calculates and acquires the size of the image when the image is arranged in the new layout area based on the size of the image when the image is arranged.

これによれば、旧レイアウト領域の縦横比と新レイアウト領域の縦横比が異なる場合であっても、画像の縦横比を維持しつつ、各レイアウト領域の縦方向倍率と横方向倍率、及び上記配置情報基づいて、画像を新レイアウト領域に適切に配置させることができる。   According to this, even when the aspect ratio of the old layout area and the aspect ratio of the new layout area are different, the vertical magnification and horizontal magnification of each layout area, and the above arrangement are maintained while maintaining the aspect ratio of the image. Based on the information, the image can be appropriately arranged in the new layout area.

上記課題を解決するために、請求項6に記載の発明は、請求項4又は請求項5に記載の組版装置であって、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置するか否かについて、オペレータからの指示を受け付ける指示受付手段と、受け付けた指示が、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示であるか否かを判定する指示判定手段を有し、判定の結果、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示である場合には、前記情報取得手段は、前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する横方向の配置位置を算出して取得し、前記縦方向倍率と前記横方向倍率のうち、小さいほうの倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさに基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさを算出して取得することを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 6 is the typesetting apparatus according to claim 4 or 5, wherein the aspect ratio of the image when arranged in the old layout area is maintained. The instruction receiving means for receiving an instruction from an operator as to whether or not the image is to be arranged in the new layout area, and the aspect ratio of the image when the received instruction is arranged in the old layout area is maintained. And an instruction determination unit that determines whether or not the image is an instruction to arrange the image in the new layout area, and as a result of the determination, maintains the aspect ratio of the image when the image is arranged in the old layout area. If the instruction is to place the image in the new layout area, the information acquisition means is arranged in the vertical magnification acquired by the second magnification acquisition means and the old layout area. Based on the arrangement position of the image at the time, the vertical arrangement position with respect to the new layout area is calculated and obtained, and the horizontal magnification obtained by the second magnification obtaining means and the old layout area are arranged. The horizontal layout position for the new layout area is calculated and acquired based on the layout position of the image at the time, the smaller magnification of the vertical magnification and the horizontal magnification, and the old A typesetting device that calculates and obtains the size of an image when the image is arranged in the new layout region based on the size of the image when arranged in a layout region. .

これによれば、旧レイアウト領域の縦横比と新レイアウト領域の縦横比が異なる場合に、画像の縦横比を維持して配置させることをオペレータが指示することができる。   According to this, when the aspect ratio of the old layout area and the aspect ratio of the new layout area are different, the operator can instruct to maintain the image with the aspect ratio maintained.

上記課題を解決するために、請求項7に記載の発明は、請求項6に記載の組版装置であって、前記指示判定手段による判定の結果、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示で無い場合には、前記情報取得手段は、前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の縦方向の大きさと、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の横方向の大きさと、前記新レイアウト領域に対する横方向の配置位置を算出して取得することを特徴とする組版装置である。   In order to solve the above problem, the invention according to claim 7 is the typesetting apparatus according to claim 6, wherein the image when arranged in the old layout area as a result of the determination by the instruction determination unit is provided. If the instruction is not an instruction to place the image in the new layout area while maintaining the aspect ratio of the image, the information acquisition means includes the vertical magnification acquired by the second magnification acquisition means and the old layout area. Based on the size and position of the image when it was placed, the vertical size of the image when placing the image in the new layout region and the placement position in the vertical direction relative to the new layout region are calculated. And acquiring the image based on the horizontal magnification obtained by the second magnification obtaining means and the size and position of the image when placed in the old layout area. And lateral size of the image when arranging the layouts region, a typesetting apparatus characterized by obtaining by calculating the position in the lateral direction with respect to the new layout area.

これによれば、旧レイアウト領域の縦横比と新レイアウト領域の縦横比が異なる場合に、旧レイアウト領域と新レイアウト領域の縦方向倍率と横方向倍率、及び上記配置情報基づいて画像の大きさを適宜変更して新レイアウト領域に適切に配置させることをオペレータが指示することができる。   According to this, when the aspect ratio of the old layout area and the aspect ratio of the new layout area are different, the size of the image is determined based on the vertical magnification and horizontal magnification of the old layout area and the new layout area, and the arrangement information. The operator can instruct to appropriately change and appropriately arrange in the new layout area.

上記課題を解決するために、請求項8に記載の発明は、請求項1乃至請求項7のいずれか一項に記載の組版装置であって、前記画像データ取得手段は、複数の前記画像データが記憶された画像データベースから前記画像データを取得し、かつ、前記画像データに付加された前記配置情報を、前記新レイアウト領域の大きさと、前記情報取得手段により取得された前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報に基づいて更新する更新手段と、更新後の前記画像データを前記画像データベースに記憶させる記憶手段を有することを特徴とする組版装置である。   In order to solve the above problem, an invention according to claim 8 is the typesetting apparatus according to any one of claims 1 to 7, wherein the image data acquisition means includes a plurality of the image data. The image data is acquired from the image database in which the image data is stored, and the layout information added to the image data is the size of the new layout area and the image acquired by the information acquisition means is the new layout. An image forming apparatus comprising: an updating unit that updates an image based on information indicating a size and an arrangement position of the image when arranged in an area; and a storage unit that stores the updated image data in the image database. is there.

これによれば、画像データベースに配置情報を付加した画像データを記憶させることができる。   According to this, the image data with the arrangement information added can be stored in the image database.

上記課題を解決するために、請求項9に記載の発明は、請求項1乃至請求項5のいずれか一項に記載の組版装置であって、 前記旧レイアウトサイズ指標値は、前記旧レイアウト領域の大きさ、又は、前記旧レイアウト領域を囲む領域である旧補助レイアウト領域の大きさであって、前記新レイアウトサイズ指標値は、前記新レイアウト領域の大きさ、又は、前記新レイアウト領域を囲む領域である新補助レイアウト領域の大きさであることを特徴とする組版装置である。   In order to solve the above problem, an invention according to claim 9 is the typesetting apparatus according to any one of claims 1 to 5, wherein the old layout size index value is the old layout area. Or the size of the old auxiliary layout area that is an area surrounding the old layout area, and the new layout size index value surrounds the size of the new layout area or the new layout area The typesetting apparatus is characterized in that the size is a size of a new auxiliary layout area.

これによれば、レイアウト領域がどのような形状であっても、レイアウト領域の大きさを示す指標となる補助レイアウト領域を囲む補助レイアウト領域を定義することにより、レイアウト領域の大きさを特定することができる。   According to this, regardless of the shape of the layout area, the size of the layout area can be specified by defining the auxiliary layout area surrounding the auxiliary layout area as an index indicating the size of the layout area. Can do.

上記課題を解決するために、請求項10に記載の発明は、画像の一部を表示対象としてマスクにより切り取る組版処理を行なう組版装置であって、組版処理の対象となる画像を示す画像データであって、当該画像のうち、過去の組版処理におけるマスク領域である旧マスク領域の大きさを示す指標となる旧マスク領域サイズ指標値(マスク領域の縦横サイズ又は補助領域の縦横サイズ)及びマスク位置(オフセット、傾斜角度等)と、当該画像が当該過去の組版処理において使用された際の当該画像の大きさを示すマスク情報が付加された前記画像データを取得する画像データ取得手段と、取得された画像データに付加された前記マスク情報を抽出するマスク情報抽出手段と、当該画像の一部を表示対象として新たに切り取り指定するためのマスク領域である新マスク領域の大きさを示す指標となる新マスク領域サイズ指標値と、前記マスク情報抽出手段により抽出されたマスク情報に含まれる旧マスク領域サイズ指標値に基づいて、前記画像を前記新マスク領域により切り取る際の当該画像の大きさとマスク位置を示す情報を取得する情報取得手段と、取得された画像の大きさとマスク位置を示す情報に従って前記画像を前記新マスク領域に基づいて切り取る切り取り手段と、を有することを特徴とする組版装置である。   In order to solve the above-described problem, the invention according to claim 10 is a typesetting apparatus that performs a typesetting process in which a part of an image is cut out with a mask as a display target, and includes image data indicating an image to be typeset. In the image, the old mask area size index value (the vertical and horizontal size of the mask area or the vertical and horizontal size of the auxiliary area) and the mask position, which serve as an index indicating the size of the old mask area that is a mask area in the past typesetting process. (Offset, inclination angle, etc.) and image data acquisition means for acquiring the image data to which the mask information indicating the size of the image when the image has been used in the past typesetting process is acquired; A mask information extracting means for extracting the mask information added to the image data, and a part for cutting and specifying a part of the image as a display target. Based on the new mask area size index value serving as an index indicating the size of the new mask area, which is a mask area, and the old mask area size index value included in the mask information extracted by the mask information extracting means Information acquisition means for acquiring information indicating the size and mask position of the image at the time of cutting by the new mask region, and cutting the image based on the new mask region according to the information indicating the acquired image size and mask position A typesetting apparatus comprising: cutting means;

これによれば、画像データにマスク情報を付加しておき、新たなマスクにて画像を切り取り処理する場合に、画像データから抽出したマスク情報に含まれる旧マスク領域サイズ指標値と、新マスク領域サイズ指標値に基づいて、画像の大きさやマスク位置を示す情報を取得するよう構成したので、所望の画像の表示したい部分を、所望のマスクを用いて自動で切り取り処理することができる。さらには、画像データにマスク情報を埋め込んだ(付加した)ので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版方法を実現することができる。   According to this, when mask information is added to image data and the image is cut out with a new mask, the old mask area size index value included in the mask information extracted from the image data and the new mask area Since the information indicating the size of the image and the mask position is acquired based on the size index value, it is possible to automatically cut out a portion of the desired image to be displayed using the desired mask. Furthermore, since the mask information is embedded (added) to the image data, the image data alone can be used for various DTP operations, and a more convenient typesetting method can be realized.

上記課題を解決するために、請求項11に記載の発明は、請求項10に記載の組版装置であって、前記旧マスク領域サイズ指標値は、前記旧マスク領域の大きさ、又は、前記旧マスク領域を囲む領域である旧補助領域の大きさであって、前記新マスク領域サイズ指標値は、前記新マスク領域の大きさ、又は、前記新マスク領域を囲む領域である新補助領域の大きさであることを特徴とする組版装置である。   In order to solve the above-mentioned problem, the invention according to claim 11 is the typesetting apparatus according to claim 10, wherein the old mask area size index value is the size of the old mask area or the old mask area. The size of the old auxiliary area which is an area surrounding the mask area, and the new mask area size index value is the size of the new mask area or the size of the new auxiliary area which is an area surrounding the new mask area. This is a typesetting device.

上記課題を解決するために、請求項12に記載の発明は、画像をレイアウト領域に配置する組版方法において、配置の対象となる画像を示す画像データであって、当該画像が過去に配置されていたレイアウト領域である旧レイアウト領域の大きさを示す旧レイアウトサイズ指標値及び配置位置と、当該画像が前記旧レイアウト領域に配置されていた際の当該画像の大きさを示す配置情報が付加された前記画像データを取得する工程と、取得された画像データに付加された前記配置情報を抽出する工程と、当該画像を新たに配置するレイアウト領域である新レイアウト領域の大きさを示す新レイアウトサイズ指標値と、抽出された配置情報に含まれる前記旧レイアウトサイズ指標値に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報を取得する工程と、取得された画像の大きさと配置位置を示す情報に従って前記画像を前記新レイアウト領域へ配置する工程と、を有することを特徴とする組版方法である。   In order to solve the above-described problem, the invention according to claim 12 is a composition method for arranging an image in a layout area, wherein the image data indicates an image to be arranged, and the image is arranged in the past. An old layout size index value indicating the size of the old layout area, which is the layout area, and an arrangement position, and arrangement information indicating the size of the image when the image is arranged in the old layout area are added. A step of acquiring the image data; a step of extracting the arrangement information added to the acquired image data; and a new layout size index indicating a size of a new layout area which is a layout area for newly arranging the image Based on the value and the old layout size index value included in the extracted arrangement information, when the image is arranged in the new layout area And a step of acquiring information indicating the size and arrangement position of the image, and a step of arranging the image in the new layout area in accordance with the information indicating the size and arrangement position of the acquired image. Is the method.

上記課題を解決するために、請求項13に記載の発明は、画像の一部を表示対象としてマスクにより切り取る組版方法において、組版処理の対象となる画像を示す画像データであって、当該画像のうち、過去の組版処理におけるマスク領域である旧マスク領域の大きさを示す指標となる旧マスク領域サイズ指標値及びマスク位置と、当該画像が当該過去の組版処理において使用された際の当該画像の大きさを示すマスク情報が付加された前記画像データを取得する工程と、取得された画像データに付加された前記マスク情報を抽出する工程と、当該画像の一部を表示対象として新たに切り取り指定するためのマスク領域である新マスク領域の大きさを示す指標となる新マスク領域サイズ指標値と、抽出されたマスク情報に含まれる旧マスク領域サイズ指標値に基づいて、前記画像を前記新マスク領域により切り取る際の当該画像の大きさとマスク位置を示す情報を取得する工程と、取得された画像の大きさとマスク位置を示す情報に従って前記画像を前記新マスク領域に基づいて切り取る工程と、を有することを特徴とする組版方法である。   In order to solve the above-described problem, the invention described in claim 13 is an image data indicating an image to be subjected to a composition process in a composition method for cutting out a part of an image with a mask as a display object, Among them, the old mask area size index value and the mask position, which are indices indicating the size of the old mask area that is the mask area in the past typesetting process, and the image of the image when the image is used in the past typesetting process A step of acquiring the image data to which the mask information indicating the size is added, a step of extracting the mask information added to the acquired image data, and newly specifying a part of the image as a display target A new mask area size index value that is an index indicating the size of the new mask area, which is a mask area, and the old mask area included in the extracted mask information Based on the size index value, obtaining the information indicating the size and mask position of the image when the image is cut out by the new mask region, and the image according to the information indicating the acquired image size and mask position. And a step of cutting out based on the new mask area.

上記課題を解決するために、請求項14に記載の発明は、コンピュータを、請求項1乃至請求項11のいずれか一項に記載の組版装置として機能させることを特徴とする組版処理プログラムである。   In order to solve the above-described problem, the invention described in claim 14 is a typesetting processing program that causes a computer to function as the typesetting apparatus described in any one of claims 1 to 11. .

本発明によれば、画像データに当該画像が過去に配置されていた旧レイアウト領域の大きさと配置位置、及び配置されていた際の当該画像の大きさ等を配置情報として付加し、組版を行なう際には当該画像データから配置情報を抽出し、抽出された配置情報に含まれる旧レイアウト領域の大きさと新たに配置される新レイアウト領域の大きさに基づいて、配置位置等を示す情報を取得するよう構成したので、所望の画像を所望のレイアウト領域に自動で配置させることができる。さらには、画像データそのものに配置情報を付加したので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版装置を実現することができる。   According to the present invention, the size and arrangement position of the old layout area in which the image has been arranged in the past, the size of the image when the image has been arranged, and the like are added as arrangement information to the image data, and the composition is performed. In this case, arrangement information is extracted from the image data, and information indicating the arrangement position and the like is acquired based on the size of the old layout area and the size of the new layout area to be newly arranged included in the extracted arrangement information. Thus, a desired image can be automatically arranged in a desired layout area. Furthermore, since the arrangement information is added to the image data itself, the image data alone can be used for various DTP operations, and a more convenient typesetting apparatus can be realized.

また、画像データに旧マスク領域サイズ指標値、マスク位置及び画像の大きさ等をマスク情報を付加しておけば、新たなマスクにて画像を切り取り処理する場合に、画像データから抽出したマスク情報に含まれる旧マスク領域サイズ指標値と、新マスク領域サイズ指標値に基づいて、画像の大きさやマスク位置を示す情報を取得するよう構成したので、所望の画像の表示したい部分を、所望のマスクを用いて自動で切り取り処理することができる。さらには、画像データにマスク情報を埋め込んだ(付加した)ので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版方法を実現することができる。   In addition, if mask information such as the old mask area size index value, mask position, and image size is added to the image data, the mask information extracted from the image data when the image is cut out with a new mask. Since the information indicating the size of the image and the mask position is acquired based on the old mask area size index value and the new mask area size index value included in the Can be cut automatically using. Furthermore, since the mask information is embedded (added) to the image data, the image data alone can be used for various DTP operations, and a more convenient typesetting method can be realized.

以下、本発明を実施するための最良の実施形態について、図面に基づいて説明する。なお、以下に説明する実施の形態は、DTP編集システムに対して本発明を適用した場合の実施形態である。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, the best mode for carrying out the invention will be described with reference to the drawings. The embodiment described below is an embodiment when the present invention is applied to a DTP editing system.

先ず、本実施形態に係るDTP編集システムの構成及び機能について、図1及び図2を参照して説明する。   First, the configuration and function of the DTP editing system according to the present embodiment will be described with reference to FIGS. 1 and 2.

図1は、本実施形態に係るDTP編集システムの概要構成の一例を示す図であり、図2は、組版端末の概要構成の一例を示す図である。   FIG. 1 is a diagram illustrating an example of a schematic configuration of a DTP editing system according to the present embodiment, and FIG. 2 is a diagram illustrating an example of a schematic configuration of a typesetting terminal.

図1に示すように、DTP編集システムSは、データベースサーバ1と、組版装置の一例としての組版端末2とを備えて構成されており、データベースサーバ1と組版端末2とはLAN(Local Area Network)等のネットワーク3を介して接続されている。   As shown in FIG. 1, the DTP editing system S includes a database server 1 and a typesetting terminal 2 as an example of a typesetting device. The database server 1 and the typesetting terminal 2 are connected to a LAN (Local Area Network). ) Or the like.

データベースサーバ1は、例えばサーバコンピュータからなり、記憶部(例えばハードディスクドライブ等からなる)には、カタログ、チラシ、又は雑誌等のDTPデータの基になる商品(カタログ等の紙面上に掲載される商品)に関する情報を登録するためのデータベースが構築されている。当該データベースとしては、テキストデータベース11、画像データベース12、及び組み込み体裁データベース13がある。   The database server 1 is composed of, for example, a server computer, and a storage unit (for example, composed of a hard disk drive) has a product (a product published on a paper such as a catalog) as a basis of DTP data such as a catalog, a flyer, or a magazine. ) A database for registering information on) has been established. The database includes a text database 11, an image database 12, and a built-in appearance database 13.

テキストデータベース11には、商品毎に固有に付与された商品番号に対応付けられて、各商品の商品名、商品の価格、及び画像ファイル名等の情報が登録されている。   In the text database 11, information such as the product name of each product, the price of the product, and the image file name is registered in association with the product number uniquely assigned to each product.

画像データベース12には、商品番号に対応付けられて各商品の画像データ(組版処理をするのに必要な画像のデータ)が登録されている。当該画像データの所定のデータ領域には、配置情報が埋め込まれ(付加されて)いる。かかる配置情報には、前回の組版処理において当該画像データが配置された際のレイアウト領域の大きさ(フレームサイズ)、配置位置及び当該画像の大きさ(画像サイズ)が含まれている。なお、画像に関するその他の情報(例えば、角度、傾斜等)を含んで構成してもよい。   In the image database 12, image data of each product (image data necessary for the composition process) is registered in association with the product number. Arrangement information is embedded (added) in a predetermined data area of the image data. The arrangement information includes the size of the layout area (frame size), the arrangement position, and the size of the image (image size) when the image data is arranged in the previous typesetting process. In addition, you may comprise including the other information (for example, angle, inclination, etc.) regarding an image.

組み込み体裁データベース13には、例えばカタログ等の紙面に掲載すべき各商品のテキスト及び画像の組み込み体裁(言い換えれば、レイアウト)を示すデータ(画像を配置するためのレイアウト領域の大きさ(フレームサイズ)及び各フレーム位置を規定するレイアウトデータが含まれる)(例えばXML(eXtensible Markup Language)及びXSLT(eXtensible Stylesheet Language Transformation)形式で記述)が登録されている。   In the built-in appearance database 13, for example, data (text size of the layout area for arranging images) (frame size) indicating the text and image built-in appearance (in other words, layout) of each product to be published on the paper such as a catalog. And layout data defining each frame position are included (for example, described in XML (eXtensible Markup Language) and XSLT (eXtensible Stylesheet Language Transformation) formats).

そして、データベースサーバ1は、組版端末2からの要求に応じてテキストデータベース11、画像データベース12、及び組み込み体裁データベース13に登録されたデータを取得し、ネットワーク3を介して組版端末2に送信するようになっている。   The database server 1 acquires data registered in the text database 11, the image database 12, and the built-in appearance database 13 in response to a request from the typesetting terminal 2, and transmits the data to the typesetting terminal 2 via the network 3. It has become.

組版端末2は、図2に示すように、CPU,RAM,データ及びプログラムを記憶するROM等を備える処理部21、ハードディスクドライブ等を備える記憶部22、液晶ディスプレイ等を備える表示部23、マウス及びキーボードを備える操作部24、及びネットワーク3を介してデータベースサーバ1と通信を行うための通信部25を備えて構成されている。   As shown in FIG. 2, the typesetting terminal 2 includes a processing unit 21 including a CPU, RAM, ROM for storing data and programs, a storage unit 22 including a hard disk drive, a display unit 23 including a liquid crystal display, a mouse, An operation unit 24 including a keyboard and a communication unit 25 for communicating with the database server 1 via the network 3 are configured.

そして、処理部21は、CPUが例えば記憶部22に記憶されているDTP編集アプリケーションプログラム(本発明の組版処理プログラムを含む)を読み出し実行することにより、本発明の画像データ取得手段、配置情報抽出手段、情報取得手段、配置手段、判定手段、第1倍率取得手段、第2倍率取得手段、指示受付手段、指示判定手段、更新手段及び記憶手段等として機能し、後述する処理を行うようになっている。   Then, the processing unit 21 reads and executes the DTP editing application program (including the typesetting processing program of the present invention) stored in the storage unit 22, for example, so that the image data acquisition unit and the arrangement information extraction of the present invention are performed. Functions as means, information acquisition means, arrangement means, determination means, first magnification acquisition means, second magnification acquisition means, instruction reception means, instruction determination means, update means, storage means, etc., and performs processing described later. ing.

具体的には、処理部21は、オペレータからの指示(操作部24の操作による)に従って、DTPデータの基になる商品に関する情報をデータベースサーバ1及びネットワーク3を介して、テキストデータベース11、画像データベース12、及び組み込み体裁データベース13から取得し、取得した商品に関する情報(テキストデータ、画像データ、及び組み込み体裁(レイアウト)を示すデータ)をRAMにおいて予め設定されたDTPデータの表示領域に格納する。   Specifically, in accordance with an instruction from the operator (by the operation of the operation unit 24), the processing unit 21 sends information related to the product that is the basis of the DTP data via the database server 1 and the network 3 to the text database 11 and the image database. 12 and the information (text data, image data, and data indicating the embedded appearance (layout)) acquired from the embedded appearance database 13 and stored in the display area of the DTP data set in advance in the RAM.

そして、処理部21は、上記取得したテキストデータと、画像データと、組み込み体裁を示すデータとに基づいて、組版処理を行い、組版処理により得られたDTPデータを表示部23におけるディスプレイ(表示画面)上に表示させる。   Then, the processing unit 21 performs a typesetting process based on the acquired text data, image data, and data indicating an embedding style, and displays the DTP data obtained by the typesetting process on a display (display screen) in the display unit 23. ) Display on top.

具体的には、処理部21は、組み込み体裁データベース13から組版処理に使用するレイアウト領域(以下、「フレーム」と言う)のデータを取得し、画像データベース12から組版処理に使用する画像データを取得する。このとき、取得した画像データに埋め込まれた配置情報を抽出し、かかる配置情報に含まれる当該画像データが前回配置されていたフレームの大きさであるフレームサイズ(旧レイアウトサイズ指標値の一例)と、組み込み体裁データベース13から取得したフレームのフレームサイズとを比較することにより、画像をフレームに配置する際の画像サイズと配置位置を決定する。   Specifically, the processing unit 21 acquires data of a layout area (hereinafter referred to as “frame”) used for the composition process from the embedded appearance database 13 and acquires image data used for the composition process from the image database 12. To do. At this time, the arrangement information embedded in the acquired image data is extracted, and the frame size (an example of the old layout size index value) that is the size of the frame in which the image data included in the arrangement information was previously arranged Then, by comparing the frame size of the frame acquired from the built-in appearance database 13, the image size and the arrangement position when the image is arranged in the frame are determined.

図3乃至図6に画像レイアウトの説明図を示す。   3 to 6 are explanatory diagrams of the image layout.

図3は、画像データベース12から取得した画像データにかかる画像が前回配置されていた際のフレーム(以下、「前回フレーム」と言う)と、今回配置されるフレーム(組み込み体裁データベース13から取得したフレームであり、以下、「今回フレーム」と言う)のフレームサイズが同一である場合の画像レイアウトの一例である。   FIG. 3 shows a frame when the image related to the image data acquired from the image database 12 was previously arranged (hereinafter referred to as “previous frame”) and a frame arranged this time (a frame acquired from the built-in appearance database 13). This is an example of an image layout in the case where the frame sizes of “current frame” are the same.

図3(A)は前回フレームにおける画像レイアウトの説明図であり、配置情報として、基準点に対するフレームサイズ(横方向をS[mm]、縦方向をT[mm])、画像の配置位置としてフレームに対する画像のオフセット値(横方向オフセット値をx、縦方向オフセット値をy)、画像サイズ(対角線の長さをz[mm])が画像データに付加されている(表1参照)。   FIG. 3A is an explanatory diagram of an image layout in the previous frame. As arrangement information, a frame size with respect to a reference point (horizontal direction is S [mm], vertical direction is T [mm]), and an image arrangement position is a frame. The image offset value (the horizontal offset value is x and the vertical offset value is y) and the image size (diagonal length is z [mm]) are added to the image data (see Table 1).

Figure 2010097305
Figure 2010097305

そして、図3(B)は今回フレームにおける画像レイアウトの説明図である。   FIG. 3B is an explanatory diagram of the image layout in the current frame.

今回フレームのフレームサイズ(横方向をS´[mm]、縦方向をT´[mm])(新レイアウトサイズ指標値の一例)は、前回フレームと同一である。従って、画像オフセット値(横方向オフセット値をx´、縦方向オフセット値をy´)及び画像サイズ(対角線の長さをz´[mm])を前回と同様とし、画像データから抽出した配置情報を以下の表2に示す如くそのまま利用することができる。   The frame size of this time frame (S ′ [mm] in the horizontal direction and T ′ [mm] in the vertical direction) (an example of a new layout size index value) is the same as the previous frame. Accordingly, the image offset value (the horizontal offset value is x ′, the vertical offset value is y ′) and the image size (diagonal length is z ′ [mm]) are the same as in the previous case, and the arrangement information extracted from the image data. Can be used as they are as shown in Table 2 below.

Figure 2010097305
Figure 2010097305

<調整方法1>
図4は、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの一例である。
<Adjustment method 1>
FIG. 4 is an example of an image layout when the frame size of the previous frame and that of the current frame are different.

図4(A)は前回フレームにおける画像レイアウトの説明図であり、配置情報として、基準点に対するフレームサイズ、画像の配置位置としてフレームに対する画像のオフセット値、画像サイズが画像データに付加されている(表1参照)。   FIG. 4A is an explanatory diagram of the image layout in the previous frame. As the arrangement information, the frame size with respect to the reference point, the image arrangement position with respect to the frame as the image arrangement position, and the image size are added to the image data. (See Table 1).

そして、図4(B)は今回フレームにおける画像レイアウトの説明図である。   FIG. 4B is an explanatory diagram of the image layout in the current frame.

同図に示す例では、今回フレームのフレームサイズ(横方向をS´[mm]、縦方向をT´[mm])は、前回フレームのフレームサイズと異なり、今回フレームのフレームサイズの縦横比は、前回フレームのフレームサイズの縦横比と同一である(S´:T´=S:T)。   In the example shown in the figure, the frame size (S ′ [mm] in the horizontal direction and T ′ [mm] in the vertical direction) of the current frame is different from the frame size of the previous frame, and the aspect ratio of the frame size of the current frame is The aspect ratio of the frame size of the previous frame is the same (S ′: T ′ = S: T).

このような場合には、前回フレームのフレームサイズに対する今回フレームのフレームサイズの比(倍率)を取得し(第1倍率取得手段)、かかる倍率と、画像データから抽出した配置情報に含まれる画像オフセット値(x、y)及び画像サイズ(z)に基づいて、今回フレームへ画像を配置する際の画像オフセット値及び画像サイズを決定する。   In such a case, the ratio (magnification) of the frame size of the current frame to the frame size of the previous frame is acquired (first magnification acquisition unit), and the image offset included in the arrangement information extracted from the magnification and the image data. Based on the value (x, y) and the image size (z), the image offset value and the image size when the image is arranged in the current frame are determined.

同図に示す例の場合、前回フレームのフレームサイズに対する今回フレームのフレームサイズの比(倍率)「a倍」が取得され、画像データから抽出した配置情報に含まれる画像オフセット値(横方向オフセット値をx、縦方向オフセット値をy)及び画像サイズ(対角線の長さをz[mm])をa倍した値を、今回フレームに配置する際の画像オフセット値(横方向オフセット値をx´、縦方向オフセット値をy´)及び画像サイズ(対角線の長さをz´[mm])として算出(取得)することができる(表3参照)。   In the case of the example shown in the figure, the ratio (magnification) “a times” of the frame size of the current frame to the frame size of the previous frame is acquired, and the image offset value (lateral offset value) included in the arrangement information extracted from the image data X, the vertical offset value y) and the image size (diagonal length z [mm]) multiplied by a image offset value (horizontal offset value x ′, The vertical offset value can be calculated (acquired) as y ′) and the image size (diagonal length is z ′ [mm]) (see Table 3).

Figure 2010097305
Figure 2010097305

<調整方法2>
続いて、図5は、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である。図4は、縦横比が等しく変倍(S´:T´=S:T)された場合の例であったが、図5は縦横比が異なって変倍(S´:T´≠S:T)された場合の例である。
<Adjustment method 2>
Next, FIG. 5 is another example of the image layout in the case where the frame sizes of the previous frame and the current frame are different. FIG. 4 shows an example in which the aspect ratio is changed equally (S ′: T ′ = S: T), but FIG. 5 shows an example in which the aspect ratio is different and the magnification is changed (S ′: T ′ ≠ S: T) is an example of the case.

図5(A)は前回フレームにおける画像レイアウトの説明図であり、配置情報として、基準点に対するフレームサイズ、画像の配置位置としてフレームに対する画像のオフセット値、画像サイズが画像データに付加されている(表1参照)。   FIG. 5A is an explanatory diagram of the image layout in the previous frame. As the arrangement information, the frame size with respect to the reference point, the image arrangement position with respect to the frame, the image offset value, and the image size are added to the image data ( (See Table 1).

図5(B)は今回フレームにおける画像レイアウトの説明図である。   FIG. 5B is an explanatory diagram of an image layout in the current frame.

同図に示す例では、今回フレームのフレームサイズ(横方向をS´[mm]、縦方向をT´[mm])は、前回フレームのフレームサイズと異なり、今回フレームのフレームサイズの縦横比も、前回フレームのフレームサイズの縦横比と異なる(S´:T´≠S:T)。   In the example shown in the figure, the frame size of the current frame (S ′ [mm] in the horizontal direction and T ′ [mm] in the vertical direction) is different from the frame size of the previous frame, and the aspect ratio of the frame size of the current frame is also This is different from the aspect ratio of the frame size of the previous frame (S ′: T ′ ≠ S: T).

このような場合には、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率と、を夫々取得し(第2倍率取得手段)、かかる縦方向倍率と横方向倍率に従って、今回フレームへ画像を配置する際の画像オフセット値及び画像サイズを決定する。   In such a case, the vertical magnification, which is the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, and the horizontal size of the frame size of the previous frame. The horizontal magnification that is the ratio of the frame size of the current frame to the horizontal size is acquired (second magnification acquisition means), and the image is arranged in the current frame according to the vertical magnification and the horizontal magnification. The image offset value and the image size are determined.

このとき、図5に示す例では、画像サイズは縦方向倍率と横方向倍率のうち、小さいほうの倍率を用いて決定することとする。これによれば、画像の縦横比を維持して(画像を歪ませることなく)配置させることができる。また、画像をフレームの外にはみ出すことを防ぐことができる。   At this time, in the example illustrated in FIG. 5, the image size is determined using a smaller one of the vertical magnification and the horizontal magnification. According to this, the image can be arranged while maintaining the aspect ratio of the image (without distorting the image). Further, the image can be prevented from protruding outside the frame.

図5に示す例の場合、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率「b倍」と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率「a倍」が取得されている。なお、本実施例では、a<bとする。   In the case of the example shown in FIG. 5, the vertical magnification “b times”, which is the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, and the frame size of the previous frame The horizontal magnification “a times”, which is the ratio of the horizontal size of the frame size of the current frame to the horizontal size, is acquired. In this embodiment, a <b.

画像データから抽出した配置情報にかかる画像オフセット値のうち、横方向オフセット値xをb倍した値を今回フレームに配置する際の画像オフセット値の横方向オフセット値x´とし、縦方向オフセット値yをa倍した値を今回フレームに配置する際の画像オフセット値の縦方向オフセット値y´とし、画像データから抽出した配置情報にかかる画像サイズ(対角線の長さをz[mm])を縦方向倍率(b倍)と横方向倍率(a倍)のうち小さいほうの倍率を用いてa倍した値を、今回フレームに配置する際の画像サイズ(対角線の長さをz´[mm])として算出(取得)することができる(表4参照)。   Of the image offset values related to the arrangement information extracted from the image data, a value obtained by multiplying the horizontal direction offset value x by b is set as the horizontal direction offset value x ′ of the image offset value at the time of arranging in the current frame, and the vertical direction offset value y A value obtained by multiplying a by a is the vertical offset value y ′ of the image offset value when arranging in the current frame, and the image size (diagonal length z [mm]) according to the arrangement information extracted from the image data is the vertical direction. A value obtained by multiplying a by using the smaller one of the magnification (b times) and the lateral magnification (a times) is set as the image size (the length of the diagonal line is z ′ [mm]) when arranged in the current frame. It can be calculated (obtained) (see Table 4).

Figure 2010097305
Figure 2010097305

<調整方法3>
続いて、図6は、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である。図5は縦横比が異なって変倍された場合に、縦倍率及び横倍率のうち小さい倍率に合わせて画像の大きさを調整したが、図6は、縦倍率及び横倍率に従って画像の縦横の大きさを夫々調整する場合の例である。
<Adjustment method 3>
Next, FIG. 6 is another example of the image layout in the case where the frame sizes of the previous frame and the current frame are different. FIG. 5 adjusts the image size in accordance with the smaller one of the vertical magnification and the horizontal magnification when the aspect ratio is changed at a different aspect ratio. It is an example in the case of adjusting each size.

図6(A)は前回フレームにおける画像レイアウトの説明図であり、配置情報として、基準点に対するフレームサイズ、画像の配置位置としてフレームに対する画像のオフセット値、画像サイズが画像データに付加されている(表1参照)。   FIG. 6A is an explanatory diagram of the image layout in the previous frame. As the arrangement information, the frame size with respect to the reference point and the image arrangement position with respect to the frame as the image arrangement position are added to the image data ( (See Table 1).

そして、図6(B)は今回フレームにおける画像レイアウトの説明図である。   FIG. 6B is an explanatory diagram of the image layout in the current frame.

同図に示す例では、今回フレームのフレームサイズ(横方向をS´[mm]、縦方向をT´[mm])は、前回フレームのフレームサイズと異なり、今回フレームのフレームサイズの縦横比も、前回フレームのフレームサイズの縦横比と異なる(S´:T´≠S:T)。   In the example shown in the figure, the frame size of the current frame (S ′ [mm] in the horizontal direction and T ′ [mm] in the vertical direction) is different from the frame size of the previous frame, and the aspect ratio of the frame size of the current frame is also This is different from the aspect ratio of the frame size of the previous frame (S ′: T ′ ≠ S: T).

このような場合には、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率と、を夫々取得し(第2倍率取得手段)、当該縦方向倍率と横方向倍率に従って、今回フレームへ画像を配置する際の画像オフセット値及び画像サイズを決定する。   In such a case, the vertical magnification, which is the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, and the horizontal size of the frame size of the previous frame. The horizontal magnification, which is the ratio of the frame size of the current frame to the horizontal size, is acquired (second magnification acquisition means), and the image is arranged in the current frame according to the vertical magnification and the horizontal magnification. The image offset value and the image size are determined.

同図に示す例の場合、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率「a倍」と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率「b倍」が取得されている。   In the case of the example shown in the figure, the vertical magnification “a times”, which is the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, and the frame size of the previous frame The horizontal magnification “b times”, which is the ratio of the horizontal size of the current frame size to the horizontal size, is acquired.

そして、画像データから抽出した配置情報にかかる画像オフセット値のうち、横方向オフセット値xをa倍した値を今回フレームに配置する際の画像オフセット値の横方向オフセット値x´とし、縦方向オフセット値yをb倍した値を今回フレームに配置する際の画像オフセット値の縦方向オフセット値y´とし、画像データから抽出した配置情報にかかる画像サイズの横方向の大きさN[mm]をa倍した値を、今回フレームに配置する際の画像サイズの横方向の大きさM´とし、縦方向の大きさN[mm]をb倍した値を、今回フレームに配置する際の画像サイズの縦方向の大きさN´として算出(取得)することができる(表5参照)。   Then, among the image offset values related to the arrangement information extracted from the image data, a value obtained by multiplying the horizontal offset value x by a is set as the horizontal offset value x ′ of the image offset value when arranging in the current frame, and the vertical offset A value obtained by multiplying the value y by b is set as the vertical offset value y ′ of the image offset value when the image is arranged in the current frame, and the horizontal size N [mm] of the arrangement size extracted from the image data is represented by a The multiplied value is set as the horizontal size M ′ of the image size when arranged in the current frame, and the value obtained by multiplying the vertical size N [mm] by b is the image size when arranged in the current frame. It can be calculated (obtained) as the vertical size N ′ (see Table 5).

Figure 2010097305
Figure 2010097305

<画像レイアウト処理>
次に、本実施形態に係る組版端末2の処理部21の画像レイアウト処理について、図7を用いて説明する。
<Image layout processing>
Next, image layout processing of the processing unit 21 of the typesetting terminal 2 according to the present embodiment will be described with reference to FIG.

図7は、組版端末2の処理部21の画像レイアウト処理を示すフローチャートである。なお、かかる画像レイアウト処理の前提として、処理部21が画像データ取得手段として機能し、DTPデータの基になる商品に関する情報(画像データ、フレームデータを含む)がネットワーク3を介してデータベースサーバ1から取得されているものとする。また、当該画像レイアウト処理は、組版処理の実行中に開始されるものであり、データベースサーバ1から取得したフレームに、画像レイアウト処理の対象となる画像がオペレータによって選択指定(操作部2の操作による)されることにより実行される。   FIG. 7 is a flowchart showing image layout processing of the processing unit 21 of the typesetting terminal 2. As a premise of such image layout processing, the processing unit 21 functions as an image data acquisition unit, and information (including image data and frame data) relating to products that are the basis of DTP data is received from the database server 1 via the network 3. It is assumed that it has been acquired. The image layout process is started during the execution of the typesetting process, and an image to be subjected to the image layout process is selected and designated by the operator in the frame acquired from the database server 1 (by operation of the operation unit 2). ) Is executed.

先ず、画像レイアウト処理の対象として選択された画像にかかる画像データに埋め込まれた配置情報を抽出する(ステップS20:配置情報抽出手段)。   First, arrangement information embedded in image data relating to an image selected as an image layout processing target is extracted (step S20: arrangement information extraction means).

次いで、抽出された配置情報に含まれる前回フレームのフレームサイズと、データベースサーバ1から取得したフレーム(今回フレーム)のフレームサイズとが同一であるか否かを判定する(ステップS21)。   Next, it is determined whether or not the frame size of the previous frame included in the extracted arrangement information is the same as the frame size of the frame (current frame) acquired from the database server 1 (step S21).

判定の結果、前回フレームと今回フレームのフレームサイズが同一である場合には(ステップS21:Yes)、図3を用いて説明したように、抽出した配置情報に基づいて画像を配置し(ステップS22:情報取得手段、配置手段)、処理を終了する。   As a result of the determination, if the frame sizes of the previous frame and the current frame are the same (step S21: Yes), an image is arranged based on the extracted arrangement information as described with reference to FIG. 3 (step S22). : Information acquisition means, arrangement means), and the process ends.

判定の結果、前回フレームと今回フレームのフレームサイズが同一でない場合には(ステップS21:No)、前回フレームの縦横比と今回フレームの縦横比が同一であるか否かを判定する(ステップS23:判定手段)。   As a result of the determination, if the frame sizes of the previous frame and the current frame are not the same (step S21: No), it is determined whether the aspect ratio of the previous frame and the current frame are the same (step S23: Determination means).

判定の結果、縦横比が同一である場合には(ステップS23:Yes)、図4を用いて説明したように、前回フレームの大きさに対する今回フレームの大きさの比である倍率を取得し(ステップS24:第1倍率取得手段)、ステップS20にて抽出した配置情報に含まれる画像オフセット値(x、y)及び画像サイズ(z)と、ステップS24にて取得した倍率に基づいて、今回フレームに対する画像オフセット値(x´、y´)及び画像サイズ(z´)を算出する(ステップS25:情報取得手段)。そして、算出した画像オフセット値(x´、y´)及び画像サイズ(z´)に基づいて画像を配置し(ステップS26:配置手段)、処理を終了する。   As a result of the determination, if the aspect ratio is the same (step S23: Yes), as described with reference to FIG. 4, a magnification that is the ratio of the size of the current frame to the size of the previous frame is acquired ( Step S24: first magnification acquisition means), the current frame based on the image offset value (x, y) and image size (z) included in the arrangement information extracted in Step S20, and the magnification acquired in Step S24. An image offset value (x ′, y ′) and an image size (z ′) with respect to are calculated (step S25: information acquisition unit). Then, an image is arranged based on the calculated image offset value (x ′, y ′) and the image size (z ′) (step S26: arrangement means), and the process ends.

一方、ステップS23の判定の結果、前回フレームの縦横比と今回フレームの縦横比が同一でない場合には(ステップS23:No)、処理部21は、指示受付手段として機能し、今回フレームへ配置する際の画像の縦横比を、前回フレームに配置されていた際の画像の縦横比と同一とするか否かについてオペレータからの指示を受け付ける。例えば、表示部23のディスプレイに、画像の縦横比を維持して配置させるか否かを問い合わせるメッセージを、「画像の縦横比を維持して配置」「フレームに合わせて画像の縦横比も変更して配置」などの選択ボタンと共に表示して、操作部24の操作によって上記選択ボタンにより画像の縦横比を維持するか否かの選択を受け付けるよう構成すればよい。このような構成により、オペレータは、前回フレームに配置された際の画像の縦横比を変更させることなく(縦横比を維持して)画像を配置させるか、今回フレームにあわせて画像の縦横比も変更させるかを選択(指示)することができる。   On the other hand, as a result of the determination in step S23, when the aspect ratio of the previous frame and the aspect ratio of the current frame are not the same (step S23: No), the processing unit 21 functions as an instruction receiving unit and arranges it in the current frame. An instruction from the operator is accepted as to whether or not the aspect ratio of the image at that time is the same as the aspect ratio of the image at the previous frame. For example, a message for inquiring whether or not to arrange the image with the aspect ratio of the image displayed on the display unit 23 is “dispose with the image aspect ratio maintained” or “change the image aspect ratio to fit the frame”. It may be configured to be displayed together with a selection button such as “Arrange” and to accept selection of whether or not to maintain the aspect ratio of the image by the selection button by the operation of the operation unit 24. With such a configuration, the operator can arrange the image without changing the aspect ratio of the image when it was arranged in the previous frame (maintaining the aspect ratio), or the aspect ratio of the image can be adjusted in accordance with the current frame. It is possible to select (instruct) whether to change.

その後、処理部21は、画像の縦横比を維持して今回フレームへ配置する選択(指示)がされたか否か、言い換えれば、画像を配置する際の当該画像の縦横比を、前回配置されていた際の画像の縦横比と同一とする指示がされたか否かを判定する(ステップS27:指示判定手段)。   Thereafter, the processing unit 21 determines whether or not the selection (instruction) to arrange in the current frame while maintaining the aspect ratio of the image has been made, in other words, the aspect ratio of the image at the time of arranging the image has been arranged previously. It is determined whether or not an instruction to make the same as the aspect ratio of the image is given (step S27: instruction determination means).

判定の結果、画像の縦横比を維持して配置させる選択(指示)がされた場合(ステップS27:Yes)には、図5を用いて説明したように、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率と、を夫々取得し(第2倍率取得手段)、当該縦方向倍率と横方向倍率に従って、画像オフセット値(x´、y´)を算出する。また、縦方向倍率と横方向倍率のうち小さいほうの倍率に従って、画像サイズ(z´)を算出する(ステップS28:情報取得手段)。そして、算出した画像オフセット値(x´、y´)及び画像サイズ(z´)に基づいて画像を配置し(ステップS29:配置手段)、処理を終了する。   As a result of the determination, when selection (instruction) for maintaining the aspect ratio of the image is made (step S27: Yes), as described with reference to FIG. 5, the vertical size of the frame size of the previous frame is determined. This is the ratio of the vertical magnification, which is the ratio of the vertical size of the frame size of the current frame to the size, and the horizontal size of the frame size of the current frame to the horizontal size of the frame size of the previous frame. The horizontal magnification is acquired (second magnification acquisition means), and the image offset value (x ′, y ′) is calculated according to the vertical magnification and horizontal magnification. Further, the image size (z ′) is calculated according to the smaller one of the vertical magnification and the horizontal magnification (step S28: information acquisition means). Then, an image is arranged based on the calculated image offset value (x ′, y ′) and the image size (z ′) (step S29: arrangement means), and the process ends.

他方、ステップS27の判定の結果、画像の縦横比を維持して配置させる指示がされなかった場合(ステップS27:No)、つまり、今回フレームに合わせて画像の縦横比も変更して配置させることが選択された場合には、図6を用いて説明したように、前回フレームのフレームサイズの縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比である縦方向倍率と、前回フレームのフレームサイズの横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比である横方向倍率と、を夫々取得し(第2倍率取得手段)、当該縦方向倍率と横方向倍率に従って、画像オフセット値(x´、y´)及び画像サイズ(M´、N´)を算出する。(ステップS30)。そして、算出した画像オフセット値(x´、y´)及び画像サイズ(M´、N´)に基づいて画像を配置し(ステップS31)、処理を終了する。   On the other hand, if the result of determination in step S27 is that there is no instruction to maintain and maintain the aspect ratio of the image (step S27: No), that is, the image aspect ratio is also changed and arranged in accordance with the current frame. Is selected, as described with reference to FIG. 6, the vertical magnification which is the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame; The horizontal magnification, which is the ratio of the horizontal size of the frame size of the current frame to the horizontal size of the frame size of the previous frame, is acquired (second magnification acquisition means), and the vertical magnification and horizontal size are obtained. According to the direction magnification, an image offset value (x ′, y ′) and an image size (M ′, N ′) are calculated. (Step S30). Then, an image is arranged based on the calculated image offset value (x ′, y ′) and the image size (M ′, N ′) (step S31), and the process ends.

続いて、画像レイアウト処理に利用した画像データを画像データベース12に格納する際の処理部21の処理について図8を用いて説明する。   Next, the processing of the processing unit 21 when the image data used for the image layout processing is stored in the image database 12 will be described with reference to FIG.

図8は、組版端末2の処理部21の画像データ格納処理を示すフローチャートである。なお、かかる画像データ格納処理は、上記図7を用いて説明した画像レイアウト処理にて使用した画像を、データベースサーバ1の画像データベース12に再び格納する際に、画像データに埋め込まれ(付加され)た配置情報を新たな配置情報に更新する処理であり、上記画像レイアウト処理にて組み込み体裁データベース13より取得した新たなフレーム(今回フレーム)に配置されている画像(表示部23のディスプレイに表示)のうち、画像データ格納処理の対象となる画像がオペレータによって選択指定(操作部2の操作による)されることにより実行される。   FIG. 8 is a flowchart showing image data storage processing of the processing unit 21 of the typesetting terminal 2. The image data storage process is embedded (added) to the image data when the image used in the image layout process described with reference to FIG. 7 is stored in the image database 12 of the database server 1 again. The arrangement information is updated to new arrangement information, and the image arranged in the new frame (current frame) obtained from the built-in appearance database 13 in the image layout process (displayed on the display of the display unit 23) Of these, an image to be subjected to image data storage processing is selected and designated by an operator (by operation of the operation unit 2).

先ず、選択された画像が配置されているフレームサイズと、当該画像の配置位置(フレームに対するオフセット値)及び当該画像のサイズを、当該画像の新たな配置情報として取得する(ステップS40)。   First, the frame size in which the selected image is arranged, the arrangement position of the image (offset value with respect to the frame), and the size of the image are acquired as new arrangement information of the image (step S40).

次いで、取得した新たな配置情報を用いて、画像データに付加された配置情報を更新し(ステップS41:更新手段)、更新後の画像データをデータベースサーバ1の画像データベース12に格納(記憶)して(ステップS42:記憶手段)、処理を終了する。   Next, using the acquired new arrangement information, the arrangement information added to the image data is updated (step S41: update means), and the updated image data is stored (stored) in the image database 12 of the database server 1. (Step S42: storage means), and the process ends.

以上説明したように、上記実施形態によれば、画像データに前回フレームに配置されていた際の配置情報を埋め込むよう構成したので、画像を新たにフレームに(今回フレームに)配置させる際には、当該画像データから配置情報を抽出し、今回フレームのフレームサイズと、抽出された配置情報に含まれる前回フレームのフレームサイズに基づいて、今回フレームへの当該画像の大きさや配置位置を示す情報を取得するよう構成したので、所望の画像を所望のフレームに自動で配置させることができる。さらには、画像データそのものに配置情報を埋め込んだ(付加した)ので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版方法を実現することができる。   As described above, according to the above-described embodiment, since the arrangement information is embedded in the image data when it was arranged in the previous frame, when the image is newly arranged in the frame (in this time frame) , Extracting the arrangement information from the image data, and based on the frame size of the current frame and the frame size of the previous frame included in the extracted arrangement information, information indicating the size and arrangement position of the image in the current frame Since it is configured to acquire, a desired image can be automatically arranged in a desired frame. Furthermore, since the arrangement information is embedded (added) in the image data itself, the image data alone can be used for various DTP operations, and a more convenient typesetting method can be realized.

また、ステップS22にて説明したように、画像データから抽出された配置情報に含まれる前回フレームのフレームサイズが今回フレームのフレームサイズと同一であれば、抽出された配置情報をそのまま今回フレームへの配置位置等を示す情報として利用して、画像を今回フレームに適切に配置させることができる。   Further, as described in step S22, if the frame size of the previous frame included in the arrangement information extracted from the image data is the same as the frame size of the current frame, the extracted arrangement information is directly applied to the current frame. The image can be appropriately arranged in the current frame by using the information indicating the arrangement position and the like.

さらに、ステップS24〜ステップS26にて説明したように、前回フレームの縦横比と、今回フレームの縦横比が同一であれば、各レイアウト領域の倍率と画像データから抽出した配置情報に基づいて画像を今回フレームに適切に配置させることができる。   Further, as described in steps S24 to S26, if the aspect ratio of the previous frame and the aspect ratio of the current frame are the same, an image is obtained based on the magnification of each layout area and the arrangement information extracted from the image data. This time it can be properly placed on the frame.

また、ステップS28〜ステップS31にて説明したように、前回フレームの縦横比と、今回フレームの縦横比が異なる場合であっても、各フレームの縦方向倍率と横方向倍率、及び画像データから抽出した配置情報に基づいて画像を今回フレームに適切に配置させることができ、特に、この配置の際、画像の縦横比を維持しつつ配置する(ステップS28〜ステップS29)ことも、フレームの縦横方向の倍率に従って画像サイズを決定する(ステップS30〜ステップS31)こともできる。   Further, as described in step S28 to step S31, even if the aspect ratio of the previous frame is different from the aspect ratio of the current frame, extraction is performed from the vertical magnification and horizontal magnification of each frame and the image data. The image can be appropriately arranged in the current frame on the basis of the arranged arrangement information. In particular, in this arrangement, the arrangement is performed while maintaining the aspect ratio of the image (steps S28 to S29). The image size can also be determined according to the magnification (step S30 to step S31).

更にまた、ステップS27にて説明したように、前回フレームの縦横比と今回フレームの縦横比が異なる場合に、画像の縦横比を維持して配置させるか、今回フレームにあわせて(各フレームの縦方向倍率と横方向倍率に従って)画像サイズを決定するか、をオペレータが指示することができる。   Furthermore, as described in step S27, when the aspect ratio of the previous frame is different from the aspect ratio of the current frame, the image is maintained while maintaining the aspect ratio of the image, or according to the current frame (the aspect ratio of each frame). The operator can instruct whether to determine the image size (according to the directional and lateral magnifications).

また、図8を用いて説明したように、画像データに配置情報を付加(更新)して、画像データベース12に記憶させておくことができる。   Further, as described with reference to FIG. 8, arrangement information can be added (updated) to the image data and stored in the image database 12.

なお、上述した実施形態では、画像が過去に配置されていたフレームを前回フレームとしたが、前回フレームは、最も最近配置されたフレームに限定されるものではない。例えば、最も最近配置されていたフレームにおける配置情報が更新されずに画像データベース12に記憶された場合には、当該画像データには、更に以前の(前々回などの)フレームにおける配置情報が付加されていることとなる。   In the above-described embodiment, the frame in which the image has been arranged in the past is the previous frame, but the previous frame is not limited to the most recently arranged frame. For example, when the arrangement information on the most recently arranged frame is stored in the image database 12 without being updated, the arrangement information on the previous frame (such as the previous time) is further added to the image data. Will be.

また、配置情報に含まれる配置位置は、画像オフセット値に限定されるものではなく、前回フレームに対する画像の角度等を含んで構成してもよい。この場合には、例えば、画像を当該角度に基づいて今回フレームに配置させるよう構成することができる。   In addition, the arrangement position included in the arrangement information is not limited to the image offset value, and may include the angle of the image with respect to the previous frame. In this case, for example, the image can be arranged in the current frame based on the angle.

更に、上述した実施形態では、オペレータが画像サイズの縦横比を維持するか否かのみを選択指示し、その他の判定(ステップS21、ステップS23)は処理部21の処理に基づいて実行しているが、どのような調整方法を選択するかをオペレータが指示するよう構成してもよい。この場合、例えば、前回フレーム、今回フレーム及び画像を表示部23のディスプレイに表示して、オペレータは当該表示された各フレームや画像サイズを確認した上で、調整方法1〜3を選択指示する。そして、処理部21は、オペレータからの指示(操作部24の操作による)に従って、上記ステップS24〜S26、上記ステップS28〜S29、或いは上記ステップS30〜S31の何れかの処理を行なうよう構成すればよい。   Furthermore, in the above-described embodiment, the operator only selects whether or not to maintain the aspect ratio of the image size, and other determinations (step S21 and step S23) are performed based on the processing of the processing unit 21. However, the operator may instruct what adjustment method to select. In this case, for example, the previous frame, current frame, and image are displayed on the display of the display unit 23, and the operator confirms each displayed frame and image size, and then selects and instructs adjustment methods 1 to 3. Then, the processing unit 21 is configured to perform any one of the steps S24 to S26, the steps S28 to S29, or the steps S30 to S31 according to an instruction from the operator (by the operation of the operation unit 24). Good.

<他の実施例>
上記実施形態では、フレームの形状が長方形(矩形)の場合について述べたが、ここでは、長方形以外のフレームに、画像を配置する場合について説明する。なお、上記実施形態と同様構成とする場合には、その説明を省略する。
<Other embodiments>
In the above embodiment, the case where the shape of the frame is rectangular (rectangular) has been described. Here, a case where an image is arranged in a frame other than the rectangle will be described. In addition, when it is set as the structure similar to the said embodiment, the description is abbreviate | omitted.

図9(A)はフレームが円形の場合、(B)はフレームが星型の場合を示す。   FIG. 9A shows a case where the frame is circular, and FIG. 9B shows a case where the frame is a star.

先ず、フレームが内接する長方形(矩形)の補助フレームを定義する。つまり、図9(A)及び(B)に点線で図示するように、フレームの周囲を囲むような長方形の補助フレームを定義する。そして、この補助フレームの一点を基準点として定義する。図9では、(A)及び(B)何れも補助フレームの1つの角を基準点としている。フレーム内に配置される画像の配置位置は、補助フレームの基準点からのオフセット値を用いる。   First, a rectangular (rectangular) auxiliary frame in which the frame is inscribed is defined. That is, a rectangular auxiliary frame that surrounds the periphery of the frame is defined as shown by dotted lines in FIGS. 9A and 9B. Then, one point of this auxiliary frame is defined as a reference point. In FIG. 9, both (A) and (B) use one corner of the auxiliary frame as a reference point. An offset value from the reference point of the auxiliary frame is used as the arrangement position of the image arranged in the frame.

このように、実際のフレームを囲むよう定義される補助フレームの大きさ(横方向をS[mm]、縦方向をT[mm])は、そのままフレームの大きさに対応するものである。すなわち、フレームが拡大すれば、補助フレームも拡大し、フレームが縮小すれば、補助フレームも縮小する。従って、補助フレームの大きさ(補助フレームサイズ)は、フレームの大きさ(フレームサイズ)の大きさを示す指標となるマスク領域サイズ指標値の一例である。   As described above, the size of the auxiliary frame (S [mm] in the horizontal direction and T [mm] in the vertical direction) defined so as to surround the actual frame directly corresponds to the size of the frame. That is, if the frame is enlarged, the auxiliary frame is enlarged, and if the frame is reduced, the auxiliary frame is also reduced. Therefore, the size of the auxiliary frame (auxiliary frame size) is an example of a mask area size index value that serves as an index indicating the size of the frame (frame size).

<調整方法1>
図10は、フレームが円形の場合に、前回のフレームと今回のフレームのフレームサイズが異なる場合の画像レイアウトの一例である。
<Adjustment method 1>
FIG. 10 is an example of an image layout in the case where the frame size is different between the previous frame and the current frame when the frame is circular.

図10(A)は前回フレームにおける画像レイアウトの説明図であり、画像データに付加される配置情報は、前回フレームの大きさを示す指標となる旧レイアウトサイズ指標値の一例であって、円形の前回フレームを囲むよう定義した前回補助フレームのフレームサイズ(S×T)、前回補助フレームに対する画像のオフセット値(x、y)、画像サイズ(z)等である(表6参照)。   FIG. 10A is an explanatory diagram of the image layout in the previous frame. The arrangement information added to the image data is an example of an old layout size index value serving as an index indicating the size of the previous frame. The frame size (S × T) of the previous auxiliary frame defined so as to surround the previous frame, the offset value (x, y) of the image with respect to the previous auxiliary frame, the image size (z), and the like (see Table 6).

Figure 2010097305
Figure 2010097305

図10(B)は、今回フレームにおける画像レイアウトの説明図であり、今回フレームの大きさを示す指標となる今回補助フレーム(新レイアウトサイズ指標値の一例)を、円形の今回フレームを囲んで定義する。   FIG. 10B is an explanatory diagram of the image layout in the current frame, in which a current auxiliary frame (an example of a new layout size index value) serving as an index indicating the size of the current frame is defined surrounding the circular current frame. To do.

そして、前回フレームのフレームサイズに対する今回フレームのフレームサイズの比として、前回補助フレームのフレームサイズに対する今回補助フレームのフレームサイズの比(倍率)を取得し(第1倍率取得手段)、取得した比(倍率)と、画像データから抽出した配置情報に含まれる画像オフセット値(x、y)及び画像サイズ(z)に基づいて、今回フレームへ画像を配置する際の画像オフセット値(x´、y´)及び画像サイズ(z´)を決定する。なお、画像オフセット値(x´、y´)は、今回補助フレームの基準点に基づく。   Then, as the ratio of the frame size of the current frame to the frame size of the previous frame, the ratio (magnification) of the frame size of the current auxiliary frame to the frame size of the previous auxiliary frame is acquired (first magnification acquisition unit), and the acquired ratio ( The image offset value (x ′, y ′) when the image is arranged in the current frame based on the magnification), the image offset value (x, y) and the image size (z) included in the arrangement information extracted from the image data. ) And the image size (z ′). The image offset value (x ′, y ′) is based on the reference point of the current auxiliary frame.

図10は、今回補助フレームのフレームサイズの縦横比は、前回補助フレームのフレームサイズの縦横比と同一である(S´:T´=S:T)場合の例である。従って、前回補助フレームのフレームサイズに対する今回補助フレームのフレームサイズの比(倍率)が「a倍」と取得された場合には、画像データから抽出した配置情報に含まれる画像オフセット値(x、y)及び画像サイズ(z)をa倍した値を、今回フレームに配置する際の画像オフセット値(x´、y´)及び画像サイズ(z´)として算出(取得)する。なお、上記表3の「フレームサイズ」欄を「補助フレームサイズ」とした場合と同様であるので、ここでの表記載は省略する。   FIG. 10 shows an example in which the aspect ratio of the frame size of the current auxiliary frame is the same as the aspect ratio of the frame size of the previous auxiliary frame (S ′: T ′ = S: T). Accordingly, when the ratio (magnification) of the frame size of the current auxiliary frame to the frame size of the previous auxiliary frame is acquired as “a times”, the image offset value (x, y included in the arrangement information extracted from the image data) ) And the image size (z) multiplied by a are calculated (acquired) as the image offset value (x ′, y ′) and the image size (z ′) when arranged in the current frame. Since the “frame size” column in Table 3 is the same as when “auxiliary frame size” is set, the table description is omitted here.

<調整方法2>
続いて、図11は、フレームが円形の場合に、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である。図10は、補助フレームの縦横比が等しく変倍(S´:T´=S:T)された場合の例であったが、図11は補助フレームの縦横比が異なって変倍(S´:T´≠S:T)された場合の例である。
<Adjustment method 2>
Next, FIG. 11 shows another example of the image layout when the frame size of the previous frame is different from that of the current frame when the frame is circular. FIG. 10 shows an example in which the aspect ratio of the auxiliary frame is equally scaled (S ′: T ′ = S: T), but FIG. 11 shows that the aspect ratio of the auxiliary frame is different and the magnification is changed (S ′: T ′). : T ′ ≠ S: T).

図11(A)は、前回フレームにおける画像レイアウトの説明図であり、図10(A)と同様、画像データに付加される配置情報は、前回フレームを囲むよう定義した前回補助フレームのフレームサイズ(S×T)、前回補助フレームに対する画像のオフセット値(x、y)、画像サイズ(z)等である(表6参照)。   FIG. 11A is an explanatory diagram of the image layout in the previous frame. Like FIG. 10A, the arrangement information added to the image data is the frame size of the previous auxiliary frame defined to surround the previous frame ( S × T), the offset value (x, y) of the image with respect to the previous auxiliary frame, the image size (z), and the like (see Table 6).

図11(B)は今回フレームにおける画像レイアウトの説明図であり、今回フレームを囲むよう今回補助フレームを定義する。今回フレームは、前回フレームのフレームサイズと異なり、かつ、フレームサイズの縦横比も異なる。言い換えれば、フレームの大きさの変化に対応するように、補助フレームの大きさも異なり、かつ、補助フレームの縦横比も異なることとなる(S´:T´≠S:T)。   FIG. 11B is an explanatory diagram of the image layout in the current frame, and the current auxiliary frame is defined so as to surround the current frame. The current frame is different from the frame size of the previous frame, and the aspect ratio of the frame size is also different. In other words, the size of the auxiliary frame is different and the aspect ratio of the auxiliary frame is also different (S ′: T ′ ≠ S: T) so as to correspond to the change in the size of the frame.

そして、前回フレームのフレームサイズ縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比として、前回補助フレームのフレームサイズの縦方向の大きさに対する今回補助フレームのフレームサイズの縦方向の大きさの比である「縦方向倍率」を取得し、前回フレームのフレームサイズ横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比として、前回補助フレームのフレームサイズの横方向の大きさに対する今回補助フレームのフレームサイズの横方向の大きさの比である「横方向倍率」を取得する(第2倍率取得手段)。   Then, as the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, the vertical direction of the frame size of the current auxiliary frame to the vertical size of the frame size of the previous auxiliary frame Is obtained as a ratio of the horizontal size of the frame size of the current frame to the horizontal size of the frame size of the previous frame. The “horizontal magnification” that is the ratio of the horizontal size of the frame size of the current auxiliary frame to the size of the direction is acquired (second magnification acquisition means).

取得した縦方向倍率と横方向倍率に従って、今回フレームへ画像を配置する際の画像オフセット値及び画像サイズを決定する。   In accordance with the acquired vertical magnification and horizontal magnification, an image offset value and an image size when an image is arranged in the current frame are determined.

図11(B)に示すように、縦方向倍率「b倍」、横方向倍率「a倍」であって、かつ、a<bである場合には、画像データから抽出した配置情報にかかる画像オフセット値のうち、横方向オフセット値xをb倍した値を今回フレームに配置する際の画像オフセット値の横方向オフセット値x´とし、縦方向オフセット値yをa倍した値を今回フレームに配置する際の画像オフセット値の縦方向オフセット値y´とし、画像データから抽出した配置情報にかかる画像サイズ(z)をa倍した値を、今回フレームに配置する際の画像サイズ(z´)として算出(取得)する。なお、上記表4の「フレームサイズ」欄を「補助フレームサイズ」とした場合と同様であるので、ここでの表記載は省略する。   As shown in FIG. 11B, when the vertical magnification is “b times”, the horizontal magnification is “a times”, and a <b, the image relating to the arrangement information extracted from the image data Among the offset values, the value obtained by multiplying the horizontal offset value x by b is set as the horizontal offset value x ′ of the image offset value when arranging in the current frame, and the value obtained by multiplying the vertical offset value y by a is arranged in the current frame. A vertical offset value y ′ of the image offset value at the time of image processing, and a value obtained by multiplying the image size (z) of the arrangement information extracted from the image data by a is set as the image size (z ′) at the time of arrangement in the current frame. Calculate (acquire). Since the “frame size” column in Table 4 is the same as when “auxiliary frame size” is set, the table description is omitted here.

<調整方法3>
続いて、図12は、フレームが円形の場合に、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例<調整方法3>である。図11は縦横比が異なって変倍された場合に、縦倍率及び横倍率のうち小さい倍率に合わせて画像の大きさを調整したが、図12は、縦倍率及び横倍率に従って画像の縦横の大きさを夫々調整する場合の例である。
<Adjustment method 3>
Next, FIG. 12 shows another example of the image layout <Adjustment method 3> in the case where the frame size is different between the previous frame and the current frame when the frame is circular. FIG. 11 adjusts the image size in accordance with a smaller magnification of the vertical magnification and the horizontal magnification when the aspect ratio is changed at different magnifications. It is an example in the case of adjusting each size.

図12(A)は、前回フレームにおける画像レイアウトの説明図であり、図10(A)と同様、画像データに付加される配置情報は、前回フレームを囲むよう定義した前回補助フレームのフレームサイズ(S×T)、前回補助フレームに対する画像のオフセット値(x、y)、画像サイズ(z)等である(表6参照)。   FIG. 12A is an explanatory diagram of the image layout in the previous frame. As in FIG. 10A, the arrangement information added to the image data is the frame size of the previous auxiliary frame defined to surround the previous frame ( S × T), the offset value (x, y) of the image with respect to the previous auxiliary frame, the image size (z), and the like (see Table 6).

図12(B)は今回フレームにおける画像レイアウトの説明図であり、今回フレームを囲むよう今回補助フレームを定義する。今回フレームは、前回フレームのフレームサイズと異なり、かつ、フレームサイズの縦横比も異なる。言い換えれば、フレームの大きさの変化に対応するように、補助フレームの大きさも異なり、かつ、補助フレームの縦横比も異なることとなる(S´:T´≠S:T)。   FIG. 12B is an explanatory diagram of the image layout in the current frame, and the current auxiliary frame is defined so as to surround the current frame. The current frame is different from the frame size of the previous frame, and the aspect ratio of the frame size is also different. In other words, the size of the auxiliary frame is different and the aspect ratio of the auxiliary frame is also different (S ′: T ′ ≠ S: T) so as to correspond to the change in the size of the frame.

そして、前回フレームのフレームサイズ縦方向の大きさに対する今回フレームのフレームサイズの縦方向の大きさの比として、前回補助フレームのフレームサイズの縦方向の大きさに対する今回補助フレームのフレームサイズの縦方向の大きさの比である「縦方向倍率」を取得し、前回フレームのフレームサイズ横方向の大きさに対する今回フレームのフレームサイズの横方向の大きさの比として、前回補助フレームのフレームサイズの横方向の大きさに対する今回補助フレームのフレームサイズの横方向の大きさの比である「横方向倍率」を取得する(第2倍率取得手段)。   Then, as the ratio of the vertical size of the frame size of the current frame to the vertical size of the frame size of the previous frame, the vertical direction of the frame size of the current auxiliary frame to the vertical size of the frame size of the previous auxiliary frame Is obtained as a ratio of the horizontal size of the frame size of the current frame to the horizontal size of the frame size of the previous frame. The “horizontal magnification” that is the ratio of the horizontal size of the frame size of the current auxiliary frame to the size of the direction is acquired (second magnification acquisition means).

取得した縦方向倍率と横方向倍率に従って、今回フレームへ画像を配置する際の画像オフセット値及び画像サイズを決定する。   In accordance with the acquired vertical magnification and horizontal magnification, an image offset value and an image size when an image is arranged in the current frame are determined.

図12(B)に示すように、縦方向倍率「b倍」、横方向倍率「a倍」である場合には、画像データから抽出した配置情報にかかる画像オフセット値のうち、横方向オフセット値xをb倍した値を今回フレームに配置する際の画像オフセット値の横方向オフセット値x´とし、縦方向オフセット値yをa倍した値を今回フレームに配置する際の画像オフセット値の縦方向オフセット値y´とし、画像データから抽出した配置情報にかかる画像サイズの横方向の大きさN[mm]をa倍した値を、今回フレームに配置する際の画像サイズの横方向の大きさM´とし、縦方向の大きさN[mm]をb倍した値を、今回フレームに配置する際の画像サイズの縦方向の大きさN´として算出(取得)することができる(表5参照。)。なお、上記表5の「フレームサイズ」欄を「補助フレームサイズ」とした場合と同様であるので、ここでの表記載は省略する。   As shown in FIG. 12B, when the vertical magnification is “b times” and the horizontal magnification is “a times”, the horizontal offset value among the image offset values related to the arrangement information extracted from the image data. A value obtained by multiplying x by b is set as a horizontal offset value x ′ of an image offset value when being arranged in the current frame, and a value obtained by multiplying the vertical offset value y by a is a vertical direction of the image offset value when being arranged in the current frame. A value obtained by multiplying the horizontal size N [mm] of the image size according to the arrangement information extracted from the image data by a is set as the offset value y ′, and the horizontal size M of the image size when the image is arranged in the current frame. A value obtained by multiplying the vertical size N [mm] by b can be calculated (obtained) as the vertical size N ′ of the image size when arranged in the current frame (see Table 5). ). Since the “frame size” column in Table 5 is the same as when “auxiliary frame size” is set, the table description is omitted here.

なお、ここでは、前回補助フレームと今回補助フレームの大きさが同一である場合(S´=S、T´=T)について説明を省略したが、同一の場合には、画像データに付加された配置情報をそのまま利用すればよい(図3等参照)。   Here, the description is omitted for the case where the size of the previous auxiliary frame is the same as that of the current auxiliary frame (S ′ = S, T ′ = T). The arrangement information may be used as it is (see FIG. 3 etc.).

以上説明したように、フレームの形状が長方形以外のどのような形状であっても、フレームが内接するような(フレームを囲む)補助フレームを定義することにより、かかる補助フレームの大きさを配置情報に含んで画像データに埋め込むよう構成したので、所望の画像を所望のフレームに自動で配置させることができる。   As described above, by defining an auxiliary frame that is inscribed (encloses the frame) regardless of the shape of the frame other than a rectangle, the size of the auxiliary frame can be determined as arrangement information. And embedded in the image data, a desired image can be automatically arranged in a desired frame.

また、上述した実施形態及び他の実施例を組み合わせることも可能である。つまり、前回フレームが長方形であって、今回フレームが円形や星型である場合には、前回フレームのフレームサイズと、今回フレームに定義した今回補助フレームのサイズとを用いて、前回フレームのフレームサイズに対する今回補助フレームの比(倍率)を取得し、かかる倍率に基づいて画像の大きさや配置位置を算出すればよい。   In addition, the above-described embodiment and other examples can be combined. In other words, if the previous frame is rectangular and the current frame is circular or star-shaped, the frame size of the previous frame is calculated using the frame size of the previous frame and the size of the current auxiliary frame defined for the current frame. The ratio (magnification) of the current auxiliary frame with respect to is obtained, and the image size and arrangement position may be calculated based on the magnification.

<応用例>
続いて、画像の一部を切り取り表示する組版処理を行なう場合について説明する。
<Application example>
Next, a description will be given of a case where a composition process for cutting and displaying a part of an image is performed.

上述した実施形態では、画像データに配置情報を付加して画像データベース12に登録されるよう構成したが、が、応用例では、画像データにマスク情報を付加するよう構成する。かかるマスク情報には、過去の組版処理におけるマスク領域(前回マスク領域)の大きさを示す指標となる旧マスク領域サイズ指標値とマスク位置、及び当該画像が過去の組版処理において使用された際の大きさが含まれている。そして、処理部21が、マスク情報抽出手段、切り取り手段として機能し、画像データに含まれるマスク情報を抽出して、かかる画像の一部を表示対象として新たに切り取り指定するためのマスク領域(今回マスク領域)により画像の一部を切り取る際に利用する。   In the embodiment described above, the arrangement is made such that the arrangement information is added to the image data and registered in the image database 12. However, in the application example, the mask information is added to the image data. The mask information includes an old mask area size index value and a mask position, which are indices indicating the size of the mask area (previous mask area) in the past typesetting process, and the image when the image is used in the past typesetting process. The size is included. Then, the processing unit 21 functions as a mask information extracting unit and a cutting unit, extracts mask information included in the image data, and newly specifies a mask region (this time) for specifying a part of the image as a display target. This is used when a part of an image is cut out by a mask area.

図13は、マスクを用いて画像の一部を切り取るマスク処理を示す説明図である。例えば、画像全体のうち、表示したい部分をマスクにより切り取って表示(レイアウト)する。   FIG. 13 is an explanatory diagram showing mask processing for cutting out part of an image using a mask. For example, a portion to be displayed of the entire image is cut out with a mask and displayed (layout).

図13(A)は、画像の一部を楕円形状のマスクにより切り取り処理する場合の説明図であり、前回マスク領域の大きさを示す指標であって、楕円形状の前回マスク領域を囲むよう定義した前回補助領域の大きさを示す領域サイズ(S×T)(旧マスク領域サイズ指標値の一例)と、画像における前回補助領域の位置(マスク位置)を示すオフセット値(x、y)、画像サイズ(z)等がマスク情報として画像データに付加されている。なお、同図に示すの例の場合、オフセット値(x、y)は、基準点(0,0)マイナスの値となる。   FIG. 13A is an explanatory diagram when a part of an image is cut out using an elliptical mask, which is an index indicating the size of the previous mask area and is defined to surround the previous mask area having an elliptical shape. An area size (S × T) (an example of an old mask area size index value) indicating the size of the previous auxiliary area, an offset value (x, y) indicating the position (mask position) of the previous auxiliary area in the image, and the image The size (z) and the like are added to the image data as mask information. In the case of the example shown in the figure, the offset value (x, y) is a negative value of the reference point (0, 0).

図13(B)は、新たなマスク(今回マスク領域)を用いて画像を切り取る場合の説明図であり、今回マスク領域の大きさを示す指標として、楕円形状の今回マスク領域を囲んで今回補助領域(新マスク領域サイズ指標値の一例)を定義する。   FIG. 13B is an explanatory diagram in the case where an image is cut out using a new mask (current mask area). As an index indicating the size of the current mask area, an ellipse-shaped current mask area is enclosed to assist the current time. An area (an example of a new mask area size index value) is defined.

そして、前回補助領域の領域サイズに対する今回補助領域の領域サイズの比(倍率)を取得し、取得した比(倍率)と、画像データから抽出したマスク情報に含まれるオフセット値(x、y)及び画像サイズ(z)に基づいて、今回マスク領域に基づいて画像を切り取る際のマスク位置を示すオフセット値(x´、y´)及び画像サイズ(z´)を決定する。   Then, the ratio (magnification) of the area size of the current auxiliary area to the area size of the previous auxiliary area is acquired, the acquired ratio (magnification), the offset value (x, y) included in the mask information extracted from the image data, and Based on the image size (z), an offset value (x ′, y ′) and an image size (z ′) indicating a mask position when the image is cut out based on the current mask area are determined.

図13は、今回補助領域の大きさを示す領域サイズ(S´×T´)(新マスク領域サイズ指標値の一例)の縦横比は、前回補助領域の領域サイズの縦横比と同一である(S´:T´=S:T)場合の例であるため、前回補助領域の領域サイズに対する今回補助領域の領域サイズの比(倍率)が「a倍」として取得された場合には、画像データから抽出したマスク情報に含まれるオフセット値(x、y)及び画像サイズ(z)をa倍した値を、今回マスク領域に基づいて画像を切り取る際のオフセット値(x´、y´)及び画像サイズ(z´)として算出(取得)する。   In FIG. 13, the aspect ratio of the area size (S ′ × T ′) (an example of a new mask area size index value) indicating the size of the auxiliary area this time is the same as the aspect ratio of the area size of the previous auxiliary area ( Since this is an example in the case of S ′: T ′ = S: T), if the ratio (magnification) of the area size of the current auxiliary area to the area size of the previous auxiliary area is acquired as “a times”, the image data The offset value (x ′, y ′) and the image when the image is cut based on the current mask area by multiplying the offset value (x, y) and the image size (z) included in the mask information extracted from the image by a. Calculate (acquire) as size (z ′).

このように、マスクを利用して、画像全体のうち、表示したい部分のみを表示させる場合に、画像データにマスク情報を付加しておき、新たなマスクにて画像を切り取り処理する場合に、画像データから抽出したマスク情報に含まれる前回マスク領域(又は前回補助領域)の領域サイズと、今回マスク領域(又は今回補助領域)の領域サイズに基づいて、画像の大きさやマスク位置を示す情報を取得するよう構成したので、画像の表示したい部分を、所望のマスクを用いて自動で切り取り処理することができる。   As described above, when only a portion to be displayed is displayed using the mask, mask information is added to the image data, and the image is cut out with a new mask. Based on the area size of the previous mask area (or the previous auxiliary area) included in the mask information extracted from the data and the area size of the current mask area (or the current auxiliary area), information indicating the image size and mask position is acquired. Thus, the portion of the image to be displayed can be automatically cut out using a desired mask.

さらには、画像データそのものにマスク情報を埋め込んだ(付加した)ので、画像データ単独で種々のDTP作業に利用することができ、より利便性の高い組版方法を実現することができる。   Furthermore, since the mask information is embedded (added) in the image data itself, the image data alone can be used for various DTP operations, and a more convenient typesetting method can be realized.

なお、応用例では、今回補助領域の領域サイズと前回補助領域の領域サイズが異なる場合に、今回補助領域の領域サイズの縦横比は、前回補助領域の領域サイズの縦横比と同一である(S´:T´=S:T)場合の例について説明したが、今回補助領域の領域サイズと前回補助領域の領域サイズが同一である場合や、今回補助領域の領域サイズの縦横比と、前回補助領域の領域サイズの縦横比が異なる(S´:T´≠S:T)場合にも本発明を適用することができる。   In the application example, when the area size of the current auxiliary area is different from the area size of the previous auxiliary area, the aspect ratio of the area size of the current auxiliary area is the same as the aspect ratio of the area size of the previous auxiliary area (S ': T' = S: T) The example in the case where the area size of the current auxiliary area and the area size of the previous auxiliary area are the same, the aspect ratio of the area size of the current auxiliary area, and the previous auxiliary The present invention can also be applied when the aspect ratios of the area sizes are different (S ′: T ′ ≠ S: T).

例えば、今回補助領域の領域サイズと前回補助領域の領域サイズが同一である場合(S´=S、T´=T)には、画像データから抽出したマスク情報をそのまま適用すればよい。   For example, if the area size of the current auxiliary area is the same as the area size of the previous auxiliary area (S ′ = S, T ′ = T), the mask information extracted from the image data may be applied as it is.

また、今回補助領域の領域サイズの縦横比と、前回補助領域の領域サイズの縦横比が異なる(S´:T´≠S:T)場合には、上記他の実施例において、図11、図12等を用いて詳細に説明した調整方法2及び調整方法3の手順に従えばよく、具体的には、他の実施例における「補助フレームサイズ」を領域サイズとして定義すればよい。   Further, in the case where the aspect ratio of the area size of the current auxiliary area is different from the aspect ratio of the area size of the previous auxiliary area (S ′: T ′ ≠ S: T), in the other embodiments, FIG. The procedure of the adjustment method 2 and the adjustment method 3 described in detail using 12 or the like may be followed. Specifically, the “auxiliary frame size” in another embodiment may be defined as the region size.

また、今回マスク領域が円形、前回マスク領域が星型であっても、各マスク領域を囲むような今回補助領域及び前回補助領域を定義することにより、本発明を適用することができる。   Even if the current mask area is circular and the previous mask area is a star shape, the present invention can be applied by defining the current auxiliary area and the previous auxiliary area surrounding each mask area.

更にまた、今回マスク領域と前回マスク領域のうち、一方が長方形である場合であっても本発明を適用することができる。すなわち、前回マスク領域が円形であって、今回マスク領域が長方形である場合には、前回マスク領域を囲む前回補助領域を定義し、かかる前回補助領域の領域サイズに対する今回マスク領域の領域サイズ(新マスク領域サイズ指標値の一例)の比(倍率)を取得し、かかる倍率に基づいて画像の大きさや配置位置を算出すればよい。   Furthermore, the present invention can be applied even when one of the current mask area and the previous mask area is rectangular. That is, if the previous mask area is circular and the current mask area is rectangular, the previous auxiliary area surrounding the previous mask area is defined, and the area size of the current mask area relative to the area size of the previous auxiliary area (new The ratio (magnification) of the mask area size index value) may be acquired, and the image size and arrangement position may be calculated based on the magnification.

本実施形態に係るDTP編集システムSの概要構成の一例を示す図である。It is a figure which shows an example of schematic structure of DTP editing system S which concerns on this embodiment. 組版端末の概要構成の一例を示す図である。It is a figure which shows an example of schematic structure of a typesetting terminal. 前回フレームと今回フレームのフレームサイズが同一である場合の画像レイアウトの一例である。It is an example of an image layout in case the frame size of the last frame and this frame is the same. 前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの一例である(調整方法1)。It is an example of an image layout when the frame size of the last frame and this frame is different (Adjustment method 1). 前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である(調整方法2)。This is another example of the image layout when the frame size of the previous frame and the current frame are different (adjustment method 2). 前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である(調整方法3)。This is another example of the image layout when the frame sizes of the previous frame and the current frame are different (adjustment method 3). 組版端末2の処理部21の画像レイアウト処理を示すフローチャートである。4 is a flowchart showing image layout processing of a processing unit 21 of the typesetting terminal 2. 組版端末2の処理部21の画像データ格納処理を示すフローチャートである。4 is a flowchart showing image data storage processing of a processing unit 21 of the typesetting terminal 2. 長方形以外のフレームにかかる補助フレームの説明図である。It is explanatory drawing of the auxiliary | assistant frame concerning frames other than a rectangle. フレームが円形の場合に、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの一例である(調整方法1)。This is an example of an image layout when the frame size is different between the previous frame and the current frame when the frame is circular (Adjustment Method 1). フレームが円形の場合に、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である(調整方法2)。This is another example of the image layout when the frame size is different between the previous frame and the current frame when the frame is circular (Adjustment Method 2). フレームが円形の場合に、前回フレームと今回フレームのフレームサイズが異なる場合の画像レイアウトの他の例である(調整方法3)。This is another example of an image layout when the frame size is different between the previous frame and the current frame when the frame is circular (adjustment method 3). マスクを用いて画像の一部を切り取るマスク処理を示す説明図である。It is explanatory drawing which shows the mask process which cuts out a part of image using a mask.

符号の説明Explanation of symbols

1 データベースサーバ
2 組版端末
3 ネットワーク
11 テキストデータベース
12 画像データベース
13 組み込み体裁データベース
21 処理部
22 記憶部
23 表示部
24 操作部
25 通信部
S DTP編集システム
DESCRIPTION OF SYMBOLS 1 Database server 2 Formatting terminal 3 Network 11 Text database 12 Image database 13 Built-in appearance database 21 Processing part 22 Storage part 23 Display part 24 Operation part 25 Communication part S DTP editing system

Claims (14)

画像をレイアウト領域に配置して組版処理を行なう組版装置であって、
配置の対象となる画像を示す画像データであって、当該画像が過去に配置されていたレイアウト領域である旧レイアウト領域の大きさを示す旧レイアウトサイズ指標値及び配置位置と、当該画像が前記旧レイアウト領域に配置されていた際の当該画像の大きさを示す配置情報が付加された前記画像データを取得する画像データ取得手段と、
取得された画像データに付加された前記配置情報を抽出する配置情報抽出手段と、
当該画像を新たに配置するレイアウト領域である新レイアウト領域の大きさを示す新レイアウトサイズ指標値と、前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報を取得する情報取得手段と、
取得された画像の大きさと配置位置を示す情報に従って前記画像を前記新レイアウト領域へ配置する配置手段と、
を有することを特徴とする組版装置。
A typesetting device that arranges an image in a layout area and performs typesetting processing,
Image data indicating an image to be arranged, the old layout size index value indicating the size of the old layout area that is the layout area in which the image has been arranged in the past, the arrangement position, and the image is the old data Image data acquisition means for acquiring the image data to which the arrangement information indicating the size of the image when arranged in the layout area is added;
Arrangement information extracting means for extracting the arrangement information added to the acquired image data;
Based on the new layout size index value indicating the size of the new layout area, which is the layout area in which the image is newly arranged, and the old layout size index value included in the arrangement information extracted by the arrangement information extraction unit, Information acquisition means for acquiring information indicating a size and an arrangement position of the image when the image is arranged in the new layout area;
Arrangement means for arranging the image in the new layout area according to information indicating the size and arrangement position of the acquired image;
A typesetting apparatus characterized by comprising:
請求項1に記載の組版装置であって、
前記情報取得手段は、前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値が、前記新レイアウトサイズ指標値の大きさと同一である場合には、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置を、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報として取得することを特徴とする組版装置。
The typesetting device according to claim 1,
The information acquisition means is arranged in the old layout area when the old layout size index value included in the arrangement information extracted by the arrangement information extraction means is the same as the size of the new layout size index value. A typesetting device that acquires the size and arrangement position of the image when the image is arranged as information indicating the size and arrangement position of the image when the image is arranged in the new layout area.
請求項1又は請求項2に記載の組版装置であって、
前記配置情報抽出手段により抽出された配置情報に含まれる前記旧レイアウトサイズ指標値が、前記新レイアウトサイズ指標値と異なる場合には、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が同一であるか否かを前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて判定する判定手段と、
判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が同一である場合には、前記旧レイアウト領域の大きさに対する前記新レイアウト領域の大きさの比である倍率を、前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて取得する第1倍率取得手段を有し、
前記情報取得手段は、
前記第1倍率取得手段により取得された倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を算出して取得することを特徴とする組版装置。
A typesetting device according to claim 1 or claim 2,
If the old layout size index value included in the layout information extracted by the layout information extraction unit is different from the new layout size index value, the aspect ratio that is the ratio of the vertical direction to the horizontal direction of the old layout area Determining means for determining whether the aspect ratio which is the ratio of the vertical direction and the horizontal direction of the new layout area is the same based on the old layout size index value and the new layout size index value;
As a result of the determination, if the aspect ratio that is the ratio of the vertical direction to the horizontal direction of the old layout area and the aspect ratio that is the ratio of the vertical direction to the horizontal direction of the new layout area are the same, the old layout area First magnification acquisition means for acquiring a magnification that is a ratio of the size of the new layout area to the size of the old layout size based on the old layout size index value and the new layout size index value;
The information acquisition means includes
Based on the magnification acquired by the first magnification acquisition unit and the size and position of the image when it was placed in the old layout area, the image of the image when placing the image in the new layout area A typesetting device that calculates and acquires a size and an arrangement position.
請求項3に記載の組版装置であって、
前記判定手段による判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が異なる場合には、前記旧レイアウト領域の縦方向の大きさに対する前記新レイアウト領域の縦方向の大きさの比である縦方向倍率と、前記旧レイアウト領域の横方向の大きさに対する前記新レイアウト領域の横方向の大きさの比である横方向倍率と、を前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて夫々取得する第2倍率取得手段を有し、
前記情報取得手段は、
前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の縦方向の大きさと、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、
前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の横方向の大きさと、前記新レイアウト領域に対する横方向の配置位置を算出して取得することを特徴とする組版装置。
A typesetting device according to claim 3,
If the result of determination by the determination means is that the aspect ratio, which is the ratio between the vertical direction and the horizontal direction of the old layout area, and the aspect ratio, which is the ratio between the vertical direction and the horizontal direction, of the new layout area differ, A vertical magnification which is a ratio of the vertical size of the new layout area to the vertical size of the layout area, and the horizontal size of the new layout area with respect to the horizontal size of the old layout area. A second magnification acquisition means for acquiring a horizontal magnification that is a ratio based on the old layout size index value and the new layout size index value, respectively;
The information acquisition means includes
Based on the vertical magnification obtained by the second magnification obtaining means and the size and position of the image when placed in the old layout area, the image is arranged in the new layout area. Obtain and obtain the vertical size of the image and the vertical placement position for the new layout area,
Based on the horizontal magnification acquired by the second magnification acquisition means and the size and position of the image when the image is arranged in the old layout area, the image is arranged in the new layout area. A typesetting apparatus that calculates and acquires a horizontal size of an image and a horizontal arrangement position with respect to the new layout area.
請求項3に記載の組版装置であって、
前記判定手段による判定の結果、前記旧レイアウト領域の縦方向と横方向の比である縦横比と、前記新レイアウト領域の縦方向と横方向の比である縦横比が異なる場合には、前記旧レイアウト領域の縦方向の大きさに対する前記新レイアウト領域の縦方向の大きさの比である縦方向倍率と、前記旧レイアウト領域の横方向の大きさに対する前記新レイアウト領域の横方向の大きさの比である横方向倍率と、を前記旧レイアウトサイズ指標値及び前記新レイアウトサイズ指標値に基づいて夫々取得する第2倍率取得手段を有し、
前記情報取得手段は、
前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、
前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する横方向の配置位置を算出して取得し、
前記縦方向倍率と前記横方向倍率のうち、小さいほうの倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさに基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさを算出して取得することを特徴とする組版装置。
A typesetting device according to claim 3,
If the result of determination by the determination means is that the aspect ratio, which is the ratio between the vertical direction and the horizontal direction of the old layout area, and the aspect ratio, which is the ratio between the vertical direction and the horizontal direction, of the new layout area differ, A vertical magnification which is a ratio of a vertical size of the new layout area to a vertical size of the layout area, and a horizontal size of the new layout area with respect to a horizontal size of the old layout area A second magnification acquisition means for acquiring a horizontal magnification that is a ratio based on the old layout size index value and the new layout size index value, respectively;
The information acquisition means includes
Based on the vertical magnification obtained by the second magnification obtaining means and the arrangement position of the image when arranged in the old layout area, the vertical arrangement position for the new layout area is calculated and obtained. And
Based on the horizontal magnification obtained by the second magnification obtaining unit and the arrangement position of the image when arranged in the old layout area, the horizontal arrangement position with respect to the new layout area is calculated and obtained. And
Based on the smaller magnification of the vertical magnification and the horizontal magnification, and the size of the image when it was arranged in the old layout area, when the image is arranged in the new layout area A typesetting apparatus that calculates and acquires the size of the image.
請求項1乃至5の何れか一項に記載の組版装置であって、
前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置するか否かについて、オペレータからの指示を受け付ける指示受付手段と、
受け付けた指示が、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示であるか否かを判定する指示判定手段を有し、
判定の結果、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示である場合には、
前記情報取得手段は、
前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、
前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の配置位置に基づいて、前記新レイアウト領域に対する横方向の配置位置を算出して取得し、
前記縦方向倍率と前記横方向倍率のうち、小さいほうの倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさに基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさを算出して取得することを特徴とする組版装置。
A typesetting apparatus according to any one of claims 1 to 5,
Instruction accepting means for accepting an instruction from an operator as to whether or not to place the image in the new layout area while maintaining the aspect ratio of the image when placed in the old layout area;
An instruction determination unit that determines whether the received instruction is an instruction to maintain the aspect ratio of the image when it is arranged in the old layout area and to arrange the image in the new layout area;
As a result of the determination, when it is an instruction to maintain the aspect ratio of the image when it is arranged in the old layout area and to arrange the image in the new layout area,
The information acquisition means includes
Based on the vertical magnification obtained by the second magnification obtaining unit and the arrangement position of the image when arranged in the old layout area, the vertical arrangement position for the new layout area is calculated and obtained. And
Based on the horizontal magnification obtained by the second magnification obtaining unit and the arrangement position of the image when arranged in the old layout area, the horizontal arrangement position with respect to the new layout area is calculated and obtained. And
Based on the smaller magnification of the vertical magnification and the horizontal magnification and the size of the image when the image is arranged in the old layout region, the image is arranged in the new layout region. A typesetting apparatus that calculates and acquires the size of the image.
請求項6に記載の組版装置であって、
前記指示判定手段による判定の結果、前記旧レイアウト領域に配置されていた際の画像の縦横比を維持して当該画像を前記新レイアウト領域へ配置する指示でない場合には、
前記情報取得手段は、
前記第2倍率取得手段により取得された縦方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の縦方向の大きさと、前記新レイアウト領域に対する縦方向の配置位置を算出して取得し、
前記第2倍率取得手段により取得された横方向倍率と、前記旧レイアウト領域に配置されていた際の前記画像の大きさと配置位置に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の横方向の大きさと、前記新レイアウト領域に対する横方向の配置位置を算出して取得することを特徴とする組版装置。
A typesetting device according to claim 6,
As a result of the determination by the instruction determination unit, if the instruction is not an instruction to place the image in the new layout area while maintaining the aspect ratio of the image when it was arranged in the old layout area,
The information acquisition means includes
Based on the vertical magnification obtained by the second magnification obtaining means and the size and position of the image when placed in the old layout area, the image is arranged in the new layout area. Obtain and obtain the vertical size of the image and the vertical placement position for the new layout area,
Based on the horizontal magnification acquired by the second magnification acquisition means and the size and position of the image when the image is arranged in the old layout area, the image is arranged in the new layout area. A typesetting apparatus that calculates and acquires a horizontal size of an image and a horizontal arrangement position with respect to the new layout area.
請求項1乃至請求項7のいずれか一項に記載の組版装置であって、
前記画像データ取得手段は、複数の前記画像データが記憶された画像データベースから前記画像データを取得し、かつ、
前記画像データに付加された前記配置情報を、前記新レイアウトサイズ指標値と、前記情報取得手段により取得された前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報に基づいて更新する更新手段と、
更新後の前記画像データを前記画像データベースに記憶させる記憶手段を有することを特徴とする組版装置。
A typesetting apparatus according to any one of claims 1 to 7,
The image data acquisition means acquires the image data from an image database in which a plurality of the image data is stored, and
Information indicating the layout information added to the image data, the new layout size index value, and the size and position of the image when the image acquired by the information acquisition unit is positioned in the new layout area Updating means for updating based on
A typesetting apparatus comprising storage means for storing the updated image data in the image database.
請求項1乃至請求項5のいずれか一項に記載の組版装置であって、
前記旧レイアウトサイズ指標値は、前記旧レイアウト領域の大きさ、又は、前記旧レイアウト領域を囲む領域である旧補助レイアウト領域の大きさであって、
前記新レイアウトサイズ指標値は、前記新レイアウト領域の大きさ、又は、前記新レイアウト領域を囲む領域である新補助レイアウト領域の大きさであることを特徴とする組版装置。
It is a typesetting apparatus as described in any one of Claim 1 thru | or 5, Comprising:
The old layout size index value is the size of the old layout area, or the size of the old auxiliary layout area that is an area surrounding the old layout area,
The typesetting apparatus, wherein the new layout size index value is a size of the new layout region or a size of a new auxiliary layout region which is a region surrounding the new layout region.
画像の一部を表示対象としてマスクにより切り取る組版処理を行なう組版装置であって、
組版処理の対象となる画像を示す画像データであって、当該画像のうち、過去の組版処理におけるマスク領域である旧マスク領域の大きさを示す指標となる旧マスク領域サイズ指標値及びマスク位置と、当該画像が当該過去の組版処理において使用された際の当該画像の大きさを示すマスク情報が付加された前記画像データを取得する画像データ取得手段と、
取得された画像データに付加された前記マスク情報を抽出するマスク情報抽出手段と、
当該画像の一部を表示対象として新たに切り取り指定するためのマスク領域である新マスク領域の大きさを示す指標となる新マスク領域サイズ指標値と、前記マスク情報抽出手段により抽出されたマスク情報に含まれる旧マスク領域サイズ指標値に基づいて、前記画像を前記新マスク領域により切り取る際の当該画像の大きさとマスク位置を示す情報を取得する情報取得手段と、
取得された画像の大きさとマスク位置を示す情報に従って前記画像を前記新マスク領域に基づいて切り取る切り取り手段と、
を有することを特徴とする組版装置。
A typesetting apparatus that performs a typesetting process for cutting out a part of an image with a mask as a display target,
Image data indicating an image to be subjected to typesetting processing, and an old mask area size index value and a mask position serving as an index indicating the size of an old mask area which is a mask area in the past typesetting processing of the image; Image data acquisition means for acquiring the image data to which mask information indicating the size of the image when the image has been used in the past typesetting process is added;
Mask information extracting means for extracting the mask information added to the acquired image data;
A new mask area size index value serving as an index indicating the size of a new mask area, which is a mask area for newly clipping and specifying a part of the image as a display target, and the mask information extracted by the mask information extraction unit Information acquisition means for acquiring information indicating the size and mask position of the image when the image is cut out by the new mask region based on the old mask region size index value included in
Cutting means for cutting out the image based on the new mask area according to information indicating the size and mask position of the acquired image;
A typesetting apparatus characterized by comprising:
請求項10に記載の組版装置であって、
前記旧マスク領域サイズ指標値は、前記旧マスク領域の大きさ、又は、前記旧マスク領域を囲む領域である旧補助領域の大きさであって、
前記新マスク領域サイズ指標値は、前記新マスク領域の大きさ、又は、前記新マスク領域を囲む領域である新補助領域の大きさであることを特徴とする組版装置。
The typesetting apparatus according to claim 10, wherein
The old mask area size index value is the size of the old mask area, or the size of the old auxiliary area that is an area surrounding the old mask area,
The typesetting apparatus, wherein the new mask area size index value is a size of the new mask area or a size of a new auxiliary area that is an area surrounding the new mask area.
画像をレイアウト領域に配置する組版方法において、
配置の対象となる画像を示す画像データであって、当該画像が過去に配置されていたレイアウト領域である旧レイアウト領域の大きさを示す旧レイアウトサイズ指標値及び配置位置と、当該画像が前記旧レイアウト領域に配置されていた際の当該画像の大きさを示す配置情報が付加された前記画像データを取得する工程と、
取得された画像データに付加された前記配置情報を抽出する工程と、
当該画像を新たに配置するレイアウト領域である新レイアウト領域の大きさを示す新レイアウトサイズ指標値と、抽出された配置情報に含まれる前記旧レイアウトサイズ指標値に基づいて、前記画像を前記新レイアウト領域へ配置する際の当該画像の大きさと配置位置を示す情報を取得する工程と、
取得された画像の大きさと配置位置を示す情報に従って前記画像を前記新レイアウト領域へ配置する工程と、
を有することを特徴とする組版方法。
In the typesetting method of arranging images in the layout area,
Image data indicating an image to be arranged, the old layout size index value indicating the size of the old layout area that is the layout area in which the image has been arranged in the past, the arrangement position, and the image is the old data Obtaining the image data to which arrangement information indicating the size of the image when arranged in the layout area is added;
Extracting the arrangement information added to the acquired image data;
Based on a new layout size index value indicating the size of a new layout area, which is a layout area in which the image is newly arranged, and the old layout size index value included in the extracted arrangement information, the image is converted to the new layout area. Obtaining information indicating the size and placement position of the image at the time of placement in the area;
Placing the image in the new layout area according to information indicating the size and placement position of the acquired image;
A typesetting method characterized by comprising:
画像の一部を表示対象としてマスクにより切り取る組版方法において、
組版処理の対象となる画像を示す画像データであって、当該画像のうち、過去の組版処理におけるマスク領域である旧マスク領域の大きさを示す指標となる旧マスク領域サイズ指標値及びマスク位置と、当該画像が当該過去の組版処理において使用された際の当該画像の大きさを示すマスク情報が付加された前記画像データを取得する工程と、
取得された画像データに付加された前記マスク情報を抽出する工程と、
当該画像の一部を表示対象として新たに切り取り指定するためのマスク領域である新マスク領域の大きさを示す指標となる新マスク領域サイズ指標値と、抽出されたマスク情報に含まれる旧マスク領域サイズ指標値に基づいて、前記画像を前記新マスク領域により切り取る際の当該画像の大きさとマスク位置を示す情報を取得する工程と、
取得された画像の大きさとマスク位置を示す情報に従って前記画像を前記新マスク領域に基づいて切り取る工程と、
を有することを特徴とする組版方法。
In the typesetting method where a part of the image is cut out with a mask as a display target,
Image data indicating an image to be subjected to typesetting processing, and an old mask area size index value and a mask position serving as an index indicating the size of an old mask area which is a mask area in the past typesetting processing of the image; Obtaining the image data to which mask information indicating the size of the image when the image is used in the past typesetting process is added;
Extracting the mask information added to the acquired image data;
A new mask area size index value serving as an index indicating the size of a new mask area, which is a mask area for newly cutting and specifying a part of the image as a display target, and the old mask area included in the extracted mask information Acquiring information indicating a size and a mask position of the image when the image is cut out by the new mask region based on a size index value;
Cutting the image based on the new mask area according to information indicating the size and mask position of the acquired image;
A typesetting method characterized by comprising:
コンピュータを、請求項1乃至請求項11のいずれか一項に記載の組版装置として機能させることを特徴とする組版処理プログラム。   A composition processing program for causing a computer to function as the composition apparatus according to any one of claims 1 to 11.
JP2008266047A 2008-10-15 2008-10-15 Typesetting device, typesetting method, and typesetting processing program Pending JP2010097305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008266047A JP2010097305A (en) 2008-10-15 2008-10-15 Typesetting device, typesetting method, and typesetting processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008266047A JP2010097305A (en) 2008-10-15 2008-10-15 Typesetting device, typesetting method, and typesetting processing program

Publications (1)

Publication Number Publication Date
JP2010097305A true JP2010097305A (en) 2010-04-30

Family

ID=42258955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008266047A Pending JP2010097305A (en) 2008-10-15 2008-10-15 Typesetting device, typesetting method, and typesetting processing program

Country Status (1)

Country Link
JP (1) JP2010097305A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976414A (en) * 2016-04-28 2016-09-28 北京小米移动软件有限公司 Picture position editing method and picture position editing device
CN108961363A (en) * 2018-06-11 2018-12-07 天意有福科技股份有限公司 A kind of composition method of electronic photo and electronic photo book

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976414A (en) * 2016-04-28 2016-09-28 北京小米移动软件有限公司 Picture position editing method and picture position editing device
CN108961363A (en) * 2018-06-11 2018-12-07 天意有福科技股份有限公司 A kind of composition method of electronic photo and electronic photo book
CN108961363B (en) * 2018-06-11 2023-11-28 天意有福科技股份有限公司 Typesetting method of electronic photo and electronic photo book

Similar Documents

Publication Publication Date Title
US8572512B2 (en) Electronic document location indication and navigation method, system and program
US8448066B2 (en) Document editing device, document editing method and computer readable medium
JP3429618B2 (en) Image layout device with image component clipping function
US9483569B2 (en) Electronic-manual browsing apparatus and system
JP2010097305A (en) Typesetting device, typesetting method, and typesetting processing program
JP5306078B2 (en) Information processing apparatus, information processing method, and program
CN110100233B (en) Drawing assistance device, display system, and drawing assistance method
JP5007695B2 (en) Typesetting device, typesetting method, and typesetting processing program
JP2009218702A (en) Typesetting device, typesetting method and typesetting processing program
JP2016031743A (en) Three-dimensional design device, method, and program
JP5098406B2 (en) Typesetting device, typesetting method, and typesetting processing program
JP5303967B2 (en) Typesetting device, typesetting method, and typesetting processing program
JP4756907B2 (en) Image forming apparatus, processing method of image forming apparatus, computer program, and computer-readable recording medium
JP2009053973A (en) Typesetting device, typesetting method, and typesetting processing program
JP4755622B2 (en) Multilingual display device and multilingual display method
JP2008269039A (en) Typesetting apparatus, typesetting method, and typesetting processing program
JPH08166946A (en) Document processing method and its device
JP2010079636A (en) Typesetting device, typesetting method, and typesetting processing program
JP5928211B2 (en) Typesetting device, typesetting method, and typesetting processing program
JP5928210B2 (en) Typesetting device, typesetting method, and typesetting processing program
JP5573433B2 (en) Drawing creation support device
JP2005141463A (en) Method of inputting data, data input support information input device, and data input device
JP2000207339A (en) System and method for information service
JP2011166225A (en) Image processing apparatus and program
JP2012063853A (en) Comic art arranging apparatus, comic art configuration method, and program