JP2004062130A - Data arrangement converting device, display controller using the same, and data arrangement converting method - Google Patents
Data arrangement converting device, display controller using the same, and data arrangement converting method Download PDFInfo
- Publication number
- JP2004062130A JP2004062130A JP2002294116A JP2002294116A JP2004062130A JP 2004062130 A JP2004062130 A JP 2004062130A JP 2002294116 A JP2002294116 A JP 2002294116A JP 2002294116 A JP2002294116 A JP 2002294116A JP 2004062130 A JP2004062130 A JP 2004062130A
- Authority
- JP
- Japan
- Prior art keywords
- data
- pixel
- image
- matrix
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、たとえば画像を表示する表示デバイスが縦長状態および横長状態のいずれにも配置可能に構成される場合に、表示デバイスがいずれの配置状態であっても画素の並びが同じになる画像を表示させる際に好適に用いられるデータ配列変換装置およびそれを用いた表示制御装置ならびにデータ配列変換方法に関する。
【0002】
【従来の技術】
画像を表示する表示デバイスの中には、表示面に垂直な角変位軸線まわりに90度角変位自在であって、縦横が互いに逆転する縦長配置状態および横長配置状態に配置可能に構成された表示デバイスがある。この表示デバイスでは、縦長配置状態で縦長の画面に画像を表示するポートレート表示と、横長配置状態で横長の画面に画像を表示するランドスケープ表示との両方の表示が可能である。このような表示デバイスに画像を表示するためには、その走査方向が単一方向のみであるので、縦長状態と横長状態とで走査方向に並ぶ画素データの順序を変更して、表示デバイスに与える画像データを変換する表示制御装置が必要である。
【0003】
従来の表示制御装置では、ソフトウェアを用いて表示デバイスに与える画像データを変換している。たとえばコンピュータで表示制御装置を構成し、画像データを変換するプログラムをコンピュータで動作させることによって、表示デバイスのいずれか一方の配置状態に適合している画像データを、他方の配置状態に適合した画像データに変換して表示デバイスに与えている。たとえば横長配置状態に適合した入力画像を表す入力画像データが与えられた場合、表示デバイスが縦長配置状態にあるとき、表示制御装置は、入力画像を90度角変位させた画像を表す画像データに変換して表示デバイスに与える(たとえば特許文献1参照)。
【0004】
画像データの変換とは、画像データを予め定められる規則に従って変換した変換画像データを作成する処理であり、具体的には表示デバイスの主走査方向および副走査方向に従って行列状に配列される複数の画素データにおいて、各画素データの主走査方向に並ぶ順と副走査方向に並ぶ順とを互いに逆転する処理である。
【0005】
【特許文献1】
特開平11−185032号公報
【0006】
【発明が解決しようとする課題】
上述した従来の表示制御装置は、コンピュータで構成されているため、画像データを変換するプログラムを実行しているときに、画像データを変換するプログラムと他のプログラムとを並列して実行する場合がある。この場合、表示制御装置を構成するコンピュータが複数のプログラムを並列して実行するため、画像データの変換処理および他のプログラムの処理速度が低下するとともに、処理動作が不安定になるおそれがある。また、表示制御装置を構成するコンピュータのプログラム処理能力などの動作環境などによっても、画像データの変換処理が不安定になるおそれがある。
【0007】
画像データの変換処理が不安定になると、縦長配置状態および横長配置状態に適合した画像を良好に表示することができない場合がある。また、表示制御装置がプログラムを実行して変換された画像データを作成するので、表示デバイスの配置状態に適合した画像データを表示するまでに時間がかかるという問題がある。
【0008】
また、複数の画素データから成る画像データにかかわらず、複数の個別データが行列状に配列されて成る集合データにおいて、個別データの配列を予め定められる規則に従って配列変換して、変換集合データを作成する場合であっても、上述する表示制御装置と同様の問題がある。
【0009】
したがって、本発明の目的は、複数の個別データから成る集合データにおいて、予め定められる規則に従って配列変換する場合に、高速でかつ安定して変換集合データを作成することができるデータ配列変換装置およびデータ配列変換方法を提供することである。
【0010】
また本発明の他の目的は、縦長配置状態および横長配置状態の2つの配置状態が可能な表示デバイスに対して、表示デバイスがいずれの配置状態であっても、画像の向きが同じになる画像データを高速でかつ安定して与えることができる表示制御装置を提供することである。
【0011】
【課題を解決するための手段】
本発明は、複数の個別データを行列状に配列して成る集合データに基づいて、前記個別データの配列位置を予め定める規則に従って変換して成る変換集合データを作成するデータ配列変換装置であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行なわれる記憶手段と、
前記個別データ単位で予め定める行列順序に従って入力された集合データを、前記記憶手段における前記データ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって中間データを作成する第1の配列変換手段であって、
入力される集合データを行列方向に並ぶ予め定める数の個別データから成る複数の個別データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順に従って読出したとき、読出されるデータが対応する個別データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき個別データ分のデータがそろってから個別データに復元し、さらに個別データ群に含まれる個別データがすべてそろってから個別データ群を構成し、この個別データ群を構成する各個別データの配列位置を、前記予め定める規則に従って変換してから、復元した個別データを行列順序で出力することによって前記変換集合データを作成する第2の配列変換手段とを備えることを特徴とするデータ配列変換装置である。
【0012】
本発明に従えば、集合データを構成する複数の個別データが予め定める行列順序に従って個別データ単位で入力されると、第1の配列変換手段によって、入力された個別データが、記憶手段に対してデータの書込みおよび読出しを行う際のデータ量単位に区分される。この区分されたデータは、順番にそれぞれ記憶手段の指定されたアドレスに書込まれ、中間データが作成される。
【0013】
書込み時に順次指定されるアドレスは、所定の規則に従って指定されるものである。具体的には、まず入力された集合データを、行列方向に並ぶ予め定める数の個別データから成る個別データ群に区分し、この個別データ群を行列の1つの要素と考え、この個別データ群が複数個行列状に配列されて成る仮想行列データを仮定する。さらに、この仮想行列データを構成する複数の個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定する。上記の所定の規則とは、記憶手段からデータをアドレス順、たとえばアドレスが順次増加する順序で読み出したときに、読み出したデータが対応する個別データ群の並び順が、上記の仮想変換行列データにおける行列順序になるようなアドレスを指定することである。このようなアドレスを指定してデータを書込むことによって作成された中間データは、上記の仮想変換行列データに相当するものである。
【0014】
上述のようにして第1の配列変換手段によって記憶手段に書込まれたデータは、第2の配列変換手段によって、アドレス順にデータ量単位で読み出される。読み出されたデータは、復元すべき個別データ分のデータがそろってから個別データに復元される。さらに、個別データ群に含まれる個別データがすべてそろってから、その個別データ群が構成され、この個別データ群を構成する各個別データの配列位置が、前記予め定める規則に従って変換される。これは、記憶手段に書込まれた段階では、個別データ群単位での配列位置は変換されているが、個別データ群内での各個別データの配列位置は変換されていないからである。このように、個別データ群内での配列位置が変換されてから、復元された個別データは行列順序で出力される。これによって、前記変換集合データを作成することができる。
【0015】
たとえば行列順序とは、データが行方向にm個、列方向にn個並ぶ場合、行方向にi番目でかつ列方向にj番目のデータをx(i,j)とすると、データx(i,j)が、x(1,1),x(2,1)…,x(m−1,1),x(m,1),x(1,2),x(2,2)…,x(m−1,n),x(m,n)と進み、ある行の行方向に沿って一方から他方に進んだ後、列方向に一段移動し、次の行について行方向に沿って一方から他方に進む順序である。
【0016】
第1の配列変換手段によって、記憶手段がデータを書込みおよび読出しする際のデータ量単位に集合データを区分し、区分したデータで記憶手段に対するデータの書込みを行う。これによって記憶手段の各アドレスに対応する記憶領域のデータ容量と記憶されるデータとのデータ量とを等しくすることができ、記憶領域ごとにデータが記憶されない空領域をなくして、記憶領域をデータで充たすことができる。これによって限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。
【0017】
この記憶手段におけるデータ量単位は、複数のビットで構成されるものであり、いわゆるワードと呼ばれるものである。ワードを構成するビット数は、任意の数であり、たとえば記憶手段の構成内容およびデータの転送レートを考慮して決定される。
【0018】
このデータ量単位に区分されるデータは、個別データおよび個別データ群のデータ量とは相関関係がないので、個別データおよび個別データ群のデータ量と、記憶手段におけるデータ量単位とを任意に選択することができる。これによって生産性および経済性に応じて個別データおよび個別データ群のデータ量を、記憶手段とは無関係に設定することができる。
【0019】
またデータ配列変換装置は、データ量単位に区分したデータごとにアドレスを指定するので、個別データごとにアドレスを指定する場合に比べて、アドレスを指定する回数を少なくすることができる。また記憶手段のアドレス順に従って読出されるように、アドレスが指定されてデータが書込まれるので、記憶手段からデータを読出すときに、アドレス順に順番にデータを読出すことができる。
【0020】
また第1の配列変換手段および第2の配列変換手段はハードウェアによって実現されるので、ソフトウェアに比べて入力画像データの変換動作を安定させ、かつ高速で行うことができる。
【0021】
また本発明は、縦横が互いに逆転する第1および第2配置状態に配置可能な表示デバイスに、当該表示デバイスの主走査方向および副走査方向に従って行列状に配列される複数の画素データから成る画像データを与えて表示させるとともに、第1および第2配置状態のどちらの配置状態であっても同じ向きで画像が表示されるように、第1配置状態に適合して配列された第1の画像データが与えられた場合、
第1配置状態の前記表示デバイスに画像データを適合させるときは、画素データの配列位置を変更することなく第1の画像データをそのまま前記表示デバイスに与え、
第2配置状態の前記表示デバイスに画像データを適合させるときは、第1の画像データを第2配置状態に適合するように画素データの主走査方向および副走査方向の配列位置を予め定められる規則に従って変更した第2の画像データに変換して前記表示デバイスに与える表示制御装置であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行われる記憶手段と、
前記画素データ単位で予め定める行列順序に従って、入力された第1の画像データを前記記憶手段におけるデータ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって、中間画像データを作成する第1の配列変換手段であって、
入力される第1の画像データを、主走査方向にM個並び、副走査方向にN個並ぶM×N(M+N>2、ただしMおよびNは自然数)個の画素データから成る複数の画素データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各画素データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順で読出したとき、読出されるデータが対応する画素データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき画素データ分のデータがそろってから画素データに復元し、さらに画素データ群に含まれる画素データがすべてそろってから、画素データ群を構成し、この画素データ群を構成する各画素データの配列位置を、前記予め定める規則に従って変換してから、復元した画素データを行列順序で出力することによって前記第2の画像データを作成する第2の配列変換手段とを備えることを特徴とする表示制御装置である。
【0022】
本発明に従えば、第1配置状態に適合して配列された第1の画像データが与えられ、第1配置状態の表示デバイスに画像データを適合させるときには、第1の画像データをそのまま表示デバイスに与え、第2配置状態の表示デバイスに画像データを適合させるときには、第1の画像データを第2配置状態に適合する第2の画像データに変換して表示デバイスに与える。
【0023】
第1の画像データを第2の画像データに変換する場合、画像データを構成する複数の画像データが予め定める行列順序に従って画像データ単位で入力されると、第1の配列変換手段によって、入力された画像データが、記憶手段に対してデータの書込みおよび読出しを行う際のデータ量単位に区分される。この区分されたデータは、順番にそれぞれ記憶手段の指定されたアドレスに書込まれ、中間画像データが作成される。
【0024】
書込み時に順次指定されるアドレスは、所定の規則に従って指定されるものである。具体的には、まず入力された画像データを、行列方向に並ぶ予め定める数の画素データから成る画素データ群に区分し、この画素データ群を行列の1つの要素と考え、この画素データ群が複数個行列状に配列されて成る仮想行列データを仮定する。さらに、この仮想行列データを構成する複数の画素データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定する。上記の所定の規則とは、記憶手段からデータをアドレス順、たとえばアドレスが順次増加する順序で読み出したときに、読み出したデータが対応する画素データ群の並び順が、上記の仮想変換行列データにおける行列順序になるようなアドレスを指定することである。このようなアドレスを指定してデータを書込むことによって作成された中間画像データは、上記の仮想変換行列データに相当するものである。
【0025】
上述のようにして第1の配列変換手段によって記憶手段に書込まれたデータは、第2の配列変換手段によって、アドレス順にデータ量単位で読み出される。読み出されたデータは、復元すべき画素データ分のデータがそろってから画素データに復元される。さらに、画素データ群に含まれる画素データがすべてそろってから、その画素データ群が構成され、この画素データ群を構成する各画素データの配列位置が、前記予め定める規則に従って変換される。これは、記憶手段に書込まれた段階では、画素データ群単位での配列位置は変換されているが、画素データ群内での各画素データの配列位置は変換されていないからである。このように、画素データ群内での配列位置が変換されてから、復元された画素データは行列順序で出力される。これによって、前記変換画像データを作成することができる。
【0026】
たとえば行列順序とは、データが主走査方向にm個、副走査方向にn個並ぶ場合、主走査方向にi番目でかつ副走査方向にj番目のデータをx(i,j)とすると、データx(i,j)が、x(1,1),x(2,1)…,x(m−1,1),x(m,1),x(1,2),x(2,2)…,x(m−1,n),x(m,n)と進み、ある行の行方向に沿って一方から他方に進んだ後、列方向に一段移動し、次の行について行方向に沿って一方から他方に進む順序である。
【0027】
第1の配列変換手段によって、記憶手段がデータを書込みおよび読出しするデータ量単位に画像データを区分し、区分したデータで記憶手段に対するデータの書込みを行うので、記憶手段の各アドレスに対応する記憶領域ごとの記憶可能なデータ容量と記憶されるデータとのデータ量とを等しくすることができ、記憶領域ごとにデータが記憶されない空き領域をなくすことができる。これによって限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。
【0028】
この記憶手段におけるデータ量単位は、複数のビットで構成されるものであり、いわゆるワードと呼ばれるものである。ワードを構成するビット数は、任意の数であり、たとえば記憶手段の構成内容およびデータの転送レートを考慮して決定される。
【0029】
このデータ量単位に区分されるデータは、画素データおよび画素データ群のデータ量とは、相関関係がなく無関係に設定されるので、画素データおよび画素データ群のデータ量を任意に選択することができる。これによって生産性および経済性に応じて画素データおよび画素データ群のデータ量を、記憶手段とは無関係に設定することができる。
【0030】
また表示制御装置は、データ量単位に区分したデータごとにアドレスを指定するので、画素データごとにアドレスを指定する場合に比べて、アドレスを指定する回数を少なくすることができる。また記憶手段のアドレス順に従って読出されるように、アドレスが指定されてデータが書込まれるので、記憶手段からデータを読出すときに、アドレス順に順番にデータを読出すことができる。
【0031】
また第1の配列変換手段および第2の配列変換手段はハードウェアによって実現されるので、ソフトウェアに比べて入力画像データの変換動作を安定させ、かつ高速で行うことができる。
【0032】
表示制御装置は、上述するように表示制御装置が予め定められる規則に従って入力画像データを変換することによって、入力される第1の画像データに対して、画素データの行方向および列方向の配列位置が90度角変位した第2の画像データを作成することができる。したがって第1配置状態にある表示デバイスが表示デバイスを見る視認者に対して相対的に角変位方向一方に90度角変位して、表示デバイスが第2配置状態となる場合に、第1の画像データに対して角変位方向他方に90度角変位するように第2の画像データを変換することによって、第2配置状態に表示デバイスがあるときであっても、第2配置状態に適合した画像を表示デバイスに表示させることができる。
【0033】
たとえば表示制御装置は、表示デバイスおよび画像データ生成装置の外部に設けられてもよい。具体的には、表示制御装置は、ケーブルなどの画像データを伝送する伝送体が着脱可能に装着される入口側ポートおよび出口側ポートと、記憶手段と、第1および第2の配列変換手段とを有する。画像データ生成装置に接続される第1の伝送体が入口側ポートに接続される。また表示デバイスに接続される第2の伝送体が出口側ポートに接続される。第1の配列変換手段は、第1の伝送体を介して、画像データ生成装置から出力される画像データを取得する。また第2の配列変換手段は、第2の伝送体を介して、変換した画像データを表示デバイスに与える。
【0034】
これによって表示制御装置は、画像データ生成装置と表示デバイスとの間に各伝送体によって着脱自在に連結される。したがって特別な画像データ生成装置および表示デバイスを必要とせずに、既存の画像データ生成装置および表示デバイスを用いて、表示デバイスの配置状態に応じた画像を表示することができる。
【0035】
また表示制御装置は、画像データ生成装置に内蔵されてもよい。この場合、表示制御装置は、画像データ生成装置に設けられる記憶手段を併用してもよい。すなわち表示制御装置は、第1および第2の配列変換手段と、画像データ生成装置に既設の記憶手段とを含んで構成される。表示制御装置は、第1および第2の配列変換手段とを含む配列変換体を備えていてもよく。たとえば配列変換体は、1つの集積回路によって実現することも可能である。
【0036】
具体的には、配列変換体は、画像を生成するためにコンピュータに接続されるビデオカードに設けられるビデオチップまたはコンピュータのマザーボードに設けられるビデオチップであってもよい。この場合、ビデオカードおよびマザーボードに既設の記憶手段を活用することによって、配列変換体には、別途記憶手段を設ける必要がなく、配列変換体を安価に実現することができる。
【0037】
またたとえば表示制御装置は、表示デバイスに内蔵されてもよい。表示デバイスの配置状態を検出する配置状態検出手段が、表示デバイスに設けられる場合、表示制御装置は、配置状態検出手段が検出した表示デバイスの配置状態を取得して表示デバイスに与える画像データの配列変換を行う。表示制御装置が表示デバイスに内蔵されることによって、配置状態検出手段が検出する表示デバイスの配置状態を容易に取得することができる。また配置状態検出手段は、表示デバイスに設けられる場合には、表示デバイスの外部に設けられる場合に比べて、表示デバイスの配置状態を確実に検出することができる。
【0038】
また本発明は、縦横が互いに逆転する第1および第2配置状態に配置可能な表示デバイスに、当該表示デバイスの主走査方向および副走査方向に従って行列状に配列される複数の画素データから成る画像データを与えて表示させるとともに、第1および第2配置状態のどちらの配置状態であっても同じ向きで画像が表示されるように、第1配置状態に適合して配列された第1の画像データが与えられた場合、
第1配置状態の前記表示デバイスに画像データを適合させるときは、画素データの配列位置を変更することなく第1の画像データをそのまま前記表示デバイスに与え、
第2配置状態の前記表示デバイスに画像データを適合させるときは、第1の画像データを第2配置状態に適合するように画素データの主走査方向および副走査方向の配列位置を予め定められる規則に従って変更した第2の画像データに変換して前記表示デバイスに与える表示制御装置であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行われる記憶手段と、
前記画素データ単位で予め定められる行列順序に従って、入力された第1の画像データのうち、主走査方向にM個並び、副走査方向にN個並ぶM×N(M+N>2、ただしMおよびNは自然数)個の画素データから成る画素データ群単位のデータを、前記記憶手段におけるデータ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって、中間画像データを作成する第1の配列変換手段であって、
入力される第1の画像データを、複数の前記画素データ群から成る仮想行列データと仮定し、この仮想行列データを構成する前記各画素データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順で読出したとき、読出されるデータが対応する画素データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべきM×N個の画素データに復元し、画素データ群を構成する各画素データの配列位置を、前記予め定める規則に従って変換してから、復元した画素データを行列順序で出力することによって前記第2の画像データを作成する第2の配列変換手段とを備えることを特徴とする表示制御装置である。
【0039】
本発明に従えば、第1配置状態に適合して配列された第1の画像データが与えられ、第1配置状態の表示デバイスに第1の画像データを適合させるときには、第1の画像データをそのまま表示デバイスに与え、第2配置状態の表示デバイスに第1の画像データを適合させるときには、第1の画像データを第2配置状態に適合する第2の画像データに変換して表示デバイスに与える。
【0040】
第1の画像データを第2の画像データに変換する場合、画像データを構成する複数の画素データが予め定める行列順序に従って画素データ単位で入力されると、第1の配列変換手段によって、入力された画像データを行列方向に並ぶ予め定める数の画素データから成る画素データ群が、記憶手段に対してデータの書込みおよび読出しを行う際のデータ量単位に区分される。この区分されたデータは、順番にそれぞれ記憶手段の指定されたアドレスに書込まれ、中間画像データが作成される。
【0041】
書込み時に順次指定されるアドレスは、所定の規則に従って指定されるものである。具体的には、まず入力された画像データを前記画素データ群に区分し、この画素データ群を行列の1つの要素と考え、この画素データ群が複数個行列状に配列されて成る仮想行列データを仮定する。さらに、この仮想行列データを構成する複数の画素データ群を、前記予め定める規則に従ってその配列位置を変換して得られる仮想変換行列データを仮定する。上記の所定の規則とは、記憶手段からデータをアドレス順、たとえばアドレスが順次増加する順序で読み出したときに、読み出したデータが対応する画素データ群の並び順が、上記の仮想変換行列データにおける行列順序になるようなアドレスを指定することである。このようなアドレスを指定してデータを書込むことによって作成された中間画像データは、上記の仮想変換行列データに相当するものである。
【0042】
上述のようにして第1の配列変換手段によって記憶手段に書込まれたデータは、第2の配列変換手段によって、アドレス順にデータ量単位で読み出される。読み出されたデータは、復元すべき画素データのデータがそろってから、画素データに復元される。さらに、画素データ群に含まれる画素データがすべてそろってから、その画素データ群が構成され、この画素データ群を構成する各画素データの配列位置が、前記予め定める規則に従って変換される。これは、記憶手段に書込まれた段階では、画素データ群単位での配列位置は変換されているが、画素データ群内での各画素データの配列位置は変換されていないからである。このように、画素データ群内での配列位置が変換されてから、復元された画素データは行列順序で出力される。これによって、前記変換画像データを作成することができる。
【0043】
たとえば行列順序とは、データが主走査方向にm個、副走査方向にn個並ぶ場合、主走査方向にi番目でかつ副走査方向にj番目のデータをx(i,j)とすると、データx(i,j)が、x(1,1),x(2,1)…,x(m−1,1),x(m,1),x(1,2),x(2,2)…,x(m−1,n),x(m,n)と進み、ある行の行方向に沿って一方から他方に進んだ後、列方向に一段移動し、次の行について行方向に沿って一方から他方に進む順序である。
【0044】
第1の配列変換手段によって、記憶手段がデータを書込みおよび読出しするデータ量単位に画像データ群を区分し、区分したデータで記憶手段に対するデータの書込みを行うので、記憶手段の各アドレスに対応する記憶領域ごとの記憶可能なデータ容量と記憶されるデータとのデータ量とを等しくすることができ、記憶領域ごとにデータが記憶されない空き領域をなくすことができる。これによって限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。
【0045】
この記憶手段におけるデータ量単位は、複数のビットで構成されるものであり、いわゆるワードと呼ばれるものである。ワードを構成するビット数は、任意の数であり、たとえば記憶手段の構成内容およびデータの転送レートを考慮して決定される。
【0046】
また記憶手段のアドレス順に従って読出されるように、アドレスが指定されてデータが書込まれるので、記憶手段からデータを読出すときに、アドレス順に順番にデータを読出すことができる。
【0047】
また第1の配列変換手段および第2の配列変換手段はハードウェアによって実現されるので、ソフトウェアに比べて入力画像データの変換動作を安定させ、かつ高速で行うことができる。
【0048】
表示制御装置は、上述するように表示制御装置が予め定められる規則に従って入力画像データを変換することによって、入力される第1の画像データに対して、画素データの行方向および列方向の配列位置が90度角変位した第2の画像データを作成することができる。したがって第1表示状態にある表示デバイスが表示デバイスを見る視認者に対して相対的に角変位方向一方に90度角変位した場合に、第1の画像データに対して角変位方向他方に90度角変位するように第2の画像データを変換することによって、第2配置状態に表示デバイスがあるときであっても、第2配置状態に適合した画像を表示デバイスに表示させることができる。
【0049】
また本発明は、前記第2の配列変換手段による前記記憶手段からのデータの読出しは、前記記憶手段におけるデータ量単位のデータを予め定める数連続して読出すバーストリード転送であることを特徴とする。
【0050】
本発明に従えば、記憶手段から予め定める数連続してデータが読出されるので、記憶手段からデータ読出しに費やされる時間を短くすることができ、単位時間あたりの処理量を大きくすることができる。
【0051】
また本発明は、前記第1の配列変換手段は、順次入力される第1の画像データに関して、先に入力された第1の画像データと後に入力された第1の画像データとを比較し、後に入力された第1の画像データのうち変更された画像部分のデータを抽出し、変更された画像部分のデータを前記記憶手段へ書込む比較部をさらに備えることを特徴とする。
【0052】
本発明に従えば、先に入力された第1の画像データと後に入力された第1の画像データとを比較する比較手段によって、変更された画像部分の画素データを比較し、変更された画像部分の画素データを記憶手段に書込む。変更された画像部分の画素データのみを変更するだけで、後に入力された第1の画像データを形成することができ、記憶手段に画像データを構成するすべての画素データを書込む必要がない。これによって記憶手段に書込まれるデータ量を少なくすることができる。
【0053】
また本発明は、前記比較部は、先に入力された第1の画像データと後に入力された第1の画像データとの特徴部分を抽出した識別コードをそれぞれ生成し、先に入力された第1の画像データと後に入力された第1の画像データの識別コード同士を比較することを特徴とする。
【0054】
本発明に従えば、第1の画像データの特徴を表す識別コードによって、先に入力された第1の画像データと後に入力された第1の画像データとを比較するので、第1の画像を直接比較する場合に比べて、データ量を小さくすることができ、より短時間でデータの比較を行うことができる。
【0055】
また本発明は、複数の個別データを行列状に配列して成る集合データに基づいて、前記個別データの配列位置を予め定める規則に従って変換して成る変換集合データを作成するデータ配列変換方法であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行なわれる記憶手段に、前記個別データ単位で予め定める行列順序に従って入力された集合データを、前記記憶手段における前記データ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって中間データを作成する第1の配列変換工程であって、
入力される集合データを行列方向に並ぶ予め定める数の個別データから成る複数の個別データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順に従って読出したとき、読出されるデータが対応する個別データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換工程と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき個別データ分のデータがそろってから個別データに復元し、さらに個別データ群に含まれる個別データがすべてそろってから個別データ群を構成し、この個別データ群を構成する各個別データの配列位置を、前記予め定める規則に従って変換してから、復元した個別データを行列順序で出力することによって前記変換集合データを作成する第2の配列変換工程とを備えることを特徴とするデータ配列変換方法である。
【0056】
本発明に従えば、集合データを構成する複数の個別データが予め定める行列順序に従って個別データ単位で入力されると、第1の配列変換工程によって、入力された個別データを、記憶手段に対してデータの書込みおよび読出しを行う際のデータ量単位に区分する。この区分したデータを、順番にそれぞれ記憶手段の指定するアドレスに書込み、記憶手段に区分したデータの集まりである中間データを作成する。
【0057】
書込み時に順次指定するアドレスは、所定の規則に従って指定する。具体的には、まず入力された集合データを、行列方向に並ぶ予め定める数の個別データから成る個別データ群に区分し、この個別データ群を行列の1つの要素と考え、この個別データ群が複数個行列状に配列して成る仮想行列データを仮定する。さらに、この仮想行列データを構成する複数の個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定する。上記の所定の規則とは、記憶手段からデータをアドレス順、たとえばアドレスが順次増加する順序で読み出したときに、読み出したデータが対応する個別データ群の並び順が、上記の仮想変換行列データにおける行列順序になるようなアドレスを指定することである。このようなアドレスを指定してデータを書込むことによって作成した中間データは、上記の仮想変換行列データに相当する。
【0058】
上述のようにして第1の配列変換工程によって記憶手段に書込んだデータを、第2の配列変換工程で、アドレス順にデータ量単位で読み出す。読み出したデータは、復元すべき個別データ分のデータがそろってから個別データに復元する。さらに、個別データ群に含まれる個別データがすべてそろってから、その個別データ群を構成し、この個別データ群を構成する各個別データの配列位置を、前記予め定める規則に従って変換する。これは、記憶手段に書込んだ段階では、個別データ群単位での配列位置は変換しているが、個別データ群内での各個別データの配列位置は変換していないからである。このように、個別データ群内での配列位置を変換してから、復元した個別データを行列順序で出力する。これによって、前記変換集合データを作成することができる。
【0059】
たとえば行列順序とは、データが行方向にm個、列方向にn個並ぶ場合、行方向にi番目でかつ列方向にj番目のデータをx(i,j)とすると、データx(i,j)が、x(1,1),x(2,1)…,x(m−1,1),x(m,1),x(1,2),x(2,2)…,x(m−1,n),x(m,n)と進み、ある行の行方向に沿って一方から他方に進んだ後、列方向に一段移動し、次の行について行方向に沿って一方から他方に進む順序である。
【0060】
第1の配列変換工程によって、記憶手段にデータを書込みおよび読出しする際のデータ量単位に集合データを区分し、区分したデータで記憶手段に対するデータの書込みを行う。これによって記憶手段の各アドレスに対応する記憶領域のデータ容量と記憶させるデータとのデータ量とを等しくすることができ、記憶領域ごとにデータが記憶されない空領域をなくして、記憶領域をデータで充たすことができる。これによって限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。
【0061】
このデータ量単位に区分されるデータは、個別データおよび個別データ群のデータ量とは相関関係がないので、個別データおよび個別データ群のデータ量と、記憶手段におけるデータ量単位とを任意に選択することができる。これによって生産性および経済性に応じて個別データおよび個別データ群のデータ量を、記憶手段とは無関係に設定することができる。
【0062】
またデータ配列変換方法は、データ量単位に区分したデータごとにアドレスを指定するので、個別データごとにアドレスを指定する場合に比べて、アドレスを指定する回数を少なくすることができる。また記憶手段のアドレス順に従って読出すように、アドレスを指定してデータを書込むので、記憶手段からデータを読出すときに、アドレス順に順番にデータを読出すことができる。
【0063】
さらに第1の配列変換工程および第2の配列変換工程をハードウェアによって実現することによって、ソフトウェアに比べて入力画像データの変換動作を安定させ、かつ高速で行うことができる。
【0064】
また本発明は、前記第1の配列変換工程は、順次入力される集合データに関して、先に入力された集合データと後に入力された集合データとを比較し、後に入力された集合データのうち変更された部分のデータを抽出し、変更された部分のデータを前記記憶手段へ書込む比較工程をさらに備えることを特徴とする。
【0065】
本発明に従えば、先に入力された集合データと後に入力された集合データとを比較する比較工程を備えることによって、変更された部分の個別データを比較し、変更された部分の個別データを記憶手段に書込む。変更された部分の個別データのみを変更するだけで、後に入力された集合データを形成することができ、記憶手段に、集合データを構成するすべての個別データを書込む必要がない。これによって記憶手段に書込まれるデータ量を少なくすることができる。
また本発明は、前記比較工程は、先に入力された集合データと後に入力された集合データとの特徴部分を抽出した識別コードをそれぞれ生成し、先に入力された集合データと後に入力された集合データの識別コード同士を比較することを特徴とする。
【0066】
本発明に従えば、集合データの特徴を表す識別コードによって、先に入力された集合データと後に入力された集合データとを比較するので、集合データを直接比較する場合に比べて、データ量を小さくすることができ、より短時間でデータの比較を行うことができる。
【0067】
【発明の実施の形態】
図1は、本発明の実施の一形態である表示制御装置1の構成を表すブロック図である。また図2は、表示制御装置1と表示制御装置1に接続される画像データ生成装置2および表示デバイス3との関係を表す概略図である。表示制御装置1は、画像データを生成する画像データ生成装置2と、画像データを表示するための表示デバイス3とに接続される。たとえば画像データ生成装置2はパーソナルコンピュータによって実現され、表示デバイス3は液晶表示デバイスによって実現される。
【0068】
表示デバイス3は、画像を表示する表示画面4を有する。表示画面4は主走査方向Xに沿って延びる一対の縁辺と、副走査方向Yに沿って延びる他の一対の縁辺とを有し、長方形に形成される。表示デバイス3は、表示画面4に垂直な角変位軸線まわりに90度角変位可能に構成され、第1配置状態に配置された状態と、表示デバイスを見る視認者に対して相対的に第1配置状態から縦横が逆転した第2配置状態に配置された状態との両方で画像表示可能に構成される。
【0069】
画像データ生成装置2は、表示デバイス3に表示するための画像データを生成し、生成した画像データを表示制御装置1に与える。画像データは、表示デバイス3の主走査方向Xおよび副走査方向Yに従って行列状に配列される複数の画素データから成る。
【0070】
表示制御装置1は、画像データ生成装置2から与えられる画像データを、表示デバイス3に与えて画像を表示させる。また表示制御装置1は、表示デバイス3が第1配置状態および第2配置状態のいずれの状態であっても、表示される画像が同じ向きに表示されるように画像データ生成装置2から与えられた画像データを変換する。
【0071】
たとえば図2(1)に示すように、第1配置状態の表示デバイス3に、画像データ生成装置2から第1配置状態に適合した第1の画像データ6が与えられると、表示制御装置1は、第1の画像データ6を変換せずにそのまま画像データとして表示デバイス3に与える。
【0072】
また、図2(2)に示すように、第2配置状態の表示デバイス3に、画像データ生成装置2から第1の画像データ6が与えられると、表示制御装置1は、第1の画像データ6を構成する各画素データ102の配列位置を変換して、第2配置状態に適合した第2の画像データを表示デバイス3に与える。
【0073】
具体的には、第1の画像データ6を構成する各画素データ102の主走査方向Xに並ぶ順序と副走査方向Yに並ぶ順序とが互いに逆転するように配列位置を変換することによって第2の画像データを生成する。表示制御装置1は、第1配置状態の表示デバイス3に副走査方向Yに沿って文字abが並ぶように画像を表示させていた場合、表示デバイス3が角変位されて第2配置状態になると、主走査方向Xに沿って文字abが並ぶように画像を表示させる。
【0074】
図3は、画像データの変換を説明するための概略図である。図3(1)に示すように、行列状に配列される所定数の画素データ102から成る複数の画素データ群A〜Lが、主走査方向にm個、副走査方向にn個並んで、第1の画像データとなる仮想行列データ100を仮定する。
【0075】
さらに、図3(2)に示すように、仮想行列データ100を構成する各画素データ群A〜Lの主走査方向Xに並ぶ順序と副走査方向Yに並ぶ順序とが互いに逆転するように配列位置を変換した仮想変換行列データ101を仮定する。
【0076】
第1の画像データに対して第2の画像データを反時計まわりに90度角変位させる場合、まず、仮想行列データ100を仮想変換行列データ101に変換する。仮想行列データ100を構成する各画素データ群A〜Lのうち、主走査方向上流側からi番目でかつ副走査方向上流側からj番目の位置Pijの画素データ群の配列位置が、主走査方向上流側からj番目でかつ副走査方向上流側から(m+1−i)番目のQj(m+1−i)に変換されて、仮想変換行列データ101となる。
【0077】
たとえば仮想行列データ100が、主走査方向に3個および副走査方向に4個に分割される各画素データ群A〜Lから成る場合、仮想行列データ100のうち、主走査方向上流側から3番目で副走査方向上流側から1番目の位置に配置される画素データ群Cは、仮想変換行列データ101において、主走査方向上流側から1番目で、副走査方向上流側から1番目の位置に配置される。
【0078】
図3(2)に示す仮想変換行列101では、画素データ群ごとの配列位置は変換されているが、画素データ群内での各画素データの配列位置は変換されていないので、次に図3(3)に示すように、画素データ群A〜Lごとに画素データ群を構成する各画素データ102の主走査方向Xに並ぶ順序と副走査方向Yに並ぶ順序とが互いに逆転するように配列位置を変換する。
【0079】
図4は、画素データ群を構成する各画素データの配列位置の変換を説明するための概略図である。主走査方向にt個、副走査方向にu個の画素データから成る画素データ群において、主走査方向上流からI番目で、副走査方向上流側からJ番目の画素データRIJを、主走査方向上流側からJ番目でかつ副走査方向上流側から(t+1−I)番目の位置SJ(t+1−I)に並び換える。
【0080】
このような画素データ群の配列位置の変換を、図3(2)に示す仮想変換行列データを構成する画素データ群A〜Lごとにそれぞれ行うことによって、図3(3)に示す第1の画像データを構成する各画素データの配列位置が主走査方向Xと副走査方向Yとで逆転した第2の画像データに変換することができる。
【0081】
図5は、データの書込み順と読出し順とを説明するための概略図である。図3(1)に示す仮想行列データ100のうち、予め定める行列順序に従って画素データ群A〜Lを順に取出し、取出した順番とは異なる順番で読出して行列順序に従って配列することによって、仮想変換行列データ101を作成する。
【0082】
予め定める行列順序は、たとえばデータが主走査方向にm個、副走査方向にn個に並ぶ場合、主走査方向にi番目、副走査方向にj番目のデータをx(i,j)とすると、データx(i,j)が、x(1,1),x(2,1)…,x(m−1,1),x(m,1),x(1,2),x(2,2)…,x(m−1,n),x(m,n)と進む順序であり、ある行の行方向に沿って一方から他方に進んだ後、列方向に一段移動し、次の行について行方向に沿って一方から他方に進む順序である。
【0083】
たとえば図3に示すような、第1画素データ群A〜第12画素データ群Lが、4行×3列並ぶ仮想行列データ100の場合、予め定める行列順序に従って、図5(1)に示すように第1画素データ群Aから第12画素データ群Lまで順に取出す。
【0084】
仮想行列データ100に対して、各画素データ群A〜Lの配列位置が反時計まわりに90度角変位する仮想変換行列データ101を作成する場合、仮想行列データ100において主走査方向にm個、副走査方向にn個に並ぶ各画素データ群のうち、行列順序に従ってx番目に取出した画素データ群は、z番目に読出されるように読出し順を指定する。ただし(x−1)/mの商である整数項部分をyとすると、zは、{n・(m・(y+1)−x)+y+1}で表される。
【0085】
具体的には、図5(2)に示すように、仮想行列データ100が、主走査方向に3個、副走査方向に4個の3×4個の画素データ群A〜Lに分割される場合、取出し順xが4番目に取出される第4画素群Dを、読出し順zが10番目に読出されるようにする。
【0086】
このように各画素データ群A〜Lの指定された読出し順に従って読出して、主走査方向にn個、副走査方向にm個の行列状に各画素データ群A〜Lが並ぶように、行列順序に従って各画素データ群A〜Lを配列することによって、図3(2)に示す仮想行列変換データ101を作成することができる。
【0087】
表示制御装置1は、図3〜図5に示す画像変換の考え方を用いて、第1の画像データから第2の画像データに変換する。実際には、表示制御装置1は、仮想行列変換データ101に相当する中間画像データを記憶するフレームメモリ11を備え、フレームメモリ11に適合したデータ量であるメモリ幅データに第1の画像データを区分し、メモリ幅データごとにフレームメモリ11に格納する。
【0088】
表示制御装置1は、図1に示すように、予め定めるメモリ幅でデータの書込みおよび読出しが行われ、少なくとも表示デバイスの1画面分相当のデータを記憶するフレームメモリ11と、第1の画像データからフレームメモリ11に書込むためのメモリ幅データを生成するとともに、メモリ幅データをフレームメモリ11に記憶させるためのアドレスを指定する第1の配列変換手段12と、フレームメモリ11からアドレス順に従ってメモリ幅データを読出して、読出したメモリ幅データに含まれる画素データを復元し、画素データ群に含まれる複数の画素データを復元してから画素データ群を構成して、画素データ群を構成する各画素データの配列位置を変換する第2の配列変換手段13とを備える。
【0089】
フレームメモリ11は、たとえばSDR−SDRAM(Single Data RateSynchronous Dynamic Random Access Memory)、DDR−SDRAM(DoubleData Rate Synchronous Dynamic Random Access Memory)、RDRAM(Rambus Dynamic Random Access Memory)などのような外付けメモリまたはeDRAM(embedded Dynamic Random Access Memory)、DRAM技術によって構成される擬似SRAM(たとえば1T−SRAM(1Transistor Static RandomAccess Memory))などのようなASIC内に存在する内部メモリによって実現される。
【0090】
表示制御装置1は、さらに第1の画像データのうち、主走査方向1ライン分の画素データをそれぞれ格納する入力ラインメモリ14と、第2の画像データの主走査方向1ライン分画素データをそれぞれ格納する出力ラインメモリ15とを有し、各ラインメモリ14,15は、複数設けられる。
【0091】
入力ラインメモリ14は、本実施の形態では4つ設けられる。4つの入力ラインメモリ14は、第1の画像データを構成する各画素データのうち、主走査方向1ライン分の複数の画素データが副走査方向に連続して4列並ぶ、いわゆる4ライン分の画素データを格納する。入力ラインメモリ14は、画像データ生成装置2から与えられる第1の画像データを、予め定められる行列順序に従って画素データ単位で順に格納し、格納した画素データを順次更新する。
【0092】
出力ラインメモリ15は、本実施の形態では2つ設けられる。2つの出力ラインメモリ15は、第2の画像データを構成する各画素データのうちの、主走査方向1ライン分の複数の画素データが副走査方向に連続して2列並ぶ、いわゆる2ライン分の画素データを格納する。出力ラインメモリ15は、第2の配列変換部13から与えられる画素データ群を、予め定める行列順序に従って画素データ単位で順に格納し、格納した画素データを順次更新する。
【0093】
第1の配列変換部12は、第1取得部16とアドレス制御部17とを有する。第1取得部16は、各入力ラインメモリ14から画素データを順次取出す。第1取得部16は、予め定める数および配列位置の画素データから成る画素データ群を構成する複数の画素データを順にアドレス制御部17に送る。この画素データ群を構成する画素データの数および配列位置は、入力ラインメモリ14の数と出力ラインメモリ15の数に応じて設定される。入力ラインメモリ14の数がu個であり、出力ラインメモリ15の数がt個である場合には、画素データ群は、主走査方向にt個、副走査方向にu個並ぶ画素データから成る。具体的には、第1取得部16は、複数の入力ラインメモリ14から予め定める行列順序に並ぶ画素データ群を行列順序に従って順に取出す。第1取得部16は、取出した画素データ群ごとに、画素データ群を構成する複数の画素データを順にアドレス制御部17に与える。
【0094】
アドレス制御部17は、第1取得部16から与えられた複数の画素データをメモリ幅データに区分するとともに、変換したメモリ幅データをフレームメモリ11にそれぞれ格納するアドレスを設定する。1つの画素データよりもメモリ幅データのデータ容量が大きい場合、アドレス制御部17は、複数の画素データを合わせたデータを、メモリ幅データのデータ容量と同じとなるまたは複数のメモリ幅データに区分する。
【0095】
図6は、データを格納するフレームメモリ11の格納部30を示す概略図である。フレームメモリ11は、第1取得部16から与えられた画素データ群相当のデータを格納する複数の格納部30が設けられる。また各格納部30は、メモリ幅データを格納する各最小格納部31〜33をそれぞれ備える。フレームメモリ11において、各最小格納部31〜33は、データを格納するための最小の格納領域である。またメモリ幅データは、最小格納部31〜33の格納可能な最大データ量と同じデータ量に設定される。
【0096】
たとえばフレームメモリ11の最小格納部31〜33が格納可能な最大データ量は、64ビットである。また画素データ群を構成し、データ量がそれぞれ24ビットである8つの画素データ(1)〜(8)が、第1取得部16からアドレス制御部17に与えられる。
【0097】
この場合、アドレス制御部17は、第1の画素データ(1)の24ビットと、第2の画素データ(2)の24ビットと、第3の画素データ(3)の24ビットのうちの16ビット分とを1つにまとめて、64ビット分の第1メモリ幅データとして変換して、第1の最小格納部31に格納するようアドレスを指定する。また第3の画素データ(3)の残りの8ビット分と、第4の画素データ(4)の24ビットと、第5の画素データ(5)の24ビットと、第6の画素データ(6)の24ビットのうちのの8ビット分とを1つにまとめて、64ビット分の第2メモリ幅データとして変換して、第2の最小格納部32に格納するようアドレスを指定する。また第6の画素データ(6)の残りの16ビット分と、第7の画素データ(7)の24ビットと、第8の画素データ(8)の24ビットとを1つにまとめて、64ビット分の第3メモリ幅データとして変換して、第3の最小格納部33に格納するようにアドレスを指定する。
【0098】
アドレス制御部17は、フレームメモリ11のアドレス順、たとえばアドレスが順次増加する順序でメモリ幅データが読出された場合に、順に読出した各メモリ幅データが対応する画素データ群の並びが、図3(2)に示すような仮想変換行列データにおける行列順序となるようにメモリ幅データを格納するアドレスを指定する。
【0099】
アドレス制御部17は、画素データ群に対応する複数のメモリ幅データを格納部30が備える各最小格納部31,32,33に格納する。また画素データ群相当の複数のメモリ幅データを、各格納部30に歯抜け状に順に格納する。具体的には、図3に関して示したように、メモリ幅データをアドレス順に読出したときに、メモリ幅データに対応する画素データ群の並び順が、変換行列データ101の行列順序に従うようにアドレスが指定される。さらに具体的には、第1取得部16から画素データ群を取出した順に対して、図5に関して示した規則に従う順番で読出されるようにアドレスが指定される。
【0100】
また、表示制御装置1は、メモリコントローラ18を有し、アドレス制御部17は、メモリコントローラ18を介して、各最小格納部31〜33にメモリ幅データを格納する。メモリコントローラ18は、アドレス制御部17からアドレス指定されたメモリ幅データを受取り、フレームメモリ11の指定されたアドレスに対応する最小格納部31〜33にメモリ幅データ書込む。またフレームメモリ11からアドレスの並ぶ順にメモリ幅データを読出し、第2の配列変換部13に与える。表示制御装置1は、フレームメモリ11からメモリ幅データを読出す場合は、最小格納部31〜33の並び順に複数のメモリ幅データを連続して読出すバースト転送を行う。
【0101】
図7は、第2の配列変換部13の配列変換を示す概略図である。第2の配列変換部13は、第2取得部19と局部回転部20とを有する。第2取得部19は、フレームメモリ11からメモリ幅データをフレームメモリ11のアドレス順に読出す。第2取得部19は、読出したメモリ幅データを、復元すべき画素データ分のデータがそろってから画素データに復元する。さらに、画素データ群に含まれる画素データをすべて復元してから、その画素データ群を構成し、構成した画素データ群を局部回転部20に与える。
【0102】
局部回転部20は、第2取得部19から与えられた画素データ群に対して、画素データ群を構成する各画素データの配列位置を主走査方向Xに並ぶ順番と副走査方向Yに並ぶ順番とを逆転するように変換する。この配列位置を変換した画素データを行列順序に従って、出力ラインメモリ15に与える。
【0103】
たとえばメモリ幅データを順に読出し、主走査方向Xに2個、副走査方向Yに4個並ぶ画素データを復元する場合、主走査方向Xに2個、副走査方向Yに2個の2×2個の回転画素データ群を2つ作成し、回転画素データ群を構成する各画素データの配列位置を変換し、配列位置を変換した各画素データを順に出力ラインメモリ15に与える。出力ラインメモリ15は、格納した画素データを表示デバイス3に与え、表示デバイス3は、与えられる画素データに応じた画像を表示する。
【0104】
図8は、表示制御装置1のフレームメモリ11にメモリ幅データを格納する際の手順を示すフローチャートであり、図9〜図11は、メモリ幅データを記憶する際の手順を説明するための概略図である。まずステップa0で、第1の画像データを第2の画像データに変換する必要があると、表示制御装置1が判断するとステップa1に進み、動作を開始する。
【0105】
ステップa1では、複数の入力ラインメモリ14が、画像データ生成装置2から第1の画像データを画素データ単位で、第1の画像データの行列順序に従って順に格納する。たとえば図9に示すように、4つの入力ラインメモリ14は、第1の画像データを構成する各画素データのうちの主走査方向1ライン分でかつ副走査方向に4列連続して並ぶ複数の画素データを格納する。入力ラインメモリ14への4ライン分の画素データの格納が完了すると、ステップa2に進む。
【0106】
ステップa2では、表示制御装置1は、入力ラインメモリ14から一度に取出す画素データ群に相当する画素データの数を決定する。また、画素データ群と入力ラインメモリ14に記憶される画素データとに基づいて、画素データ群をメモリ幅データに区分したときのメモリ幅データの数と、入力ラインメモリ14に記憶される画素データ群の取出し回数と、取出した画素データ毎にフレームメモリ11に格納するための格納部のアドレスなどを定め、ステップa3に進む。
【0107】
ステップa3では、第1取得手段16が、入力ラインメモリ14に制御信号を与え、画素データ群を構成する各画素データを取出す。たとえば図10に示すように、主走査方向に2個、副走査方向に4個並んで画素データ群を構成する複数の画素データを取出し、ステップa4に進む。
【0108】
ステップa4では、図11に示すようにアドレス制御部17が、第1取得手段16によって取出された画素データ群を構成する複数の画素データをメモリ幅データに区分するとともに、メモリ幅データ毎にフレームメモリ11に格納するためのアドレスを予め定められる規則に従って設定し、ステップa5に進む。
【0109】
ステップa5では、メモリコントローラ18によって、メモリ幅データをフレームメモリ11の所定の格納部30を構成する最小格納部31〜33に格納する。メモリ幅データが、指定されたアドレスに対応する最小格納部31〜33に格納されると、ステップa6に進む。
【0110】
ステップa6では、取出した画素データ群に相当する複数のメモリ幅データの最小格納部への格納が完了したか否かを判定し、取出した画素データ群に相当する複数のメモリ幅データの最小格納部への格納が完了していないと、ステップa4に進み、取出された画素データ群を構成する複数の画素データのうちから次のメモリ幅データを区分してステップa5〜a6を繰返す。ステップa6で、最小格納部31〜33への格納回数がステップa2で設定した回数であると判定すると、ステップa7に進む。
【0111】
ステップa7では、入力ラインメモリ14から複数の画素データ群を構成する複数の画素データを取出した回数が、ステップa2で設定した取出し回数であるか否かを判定し、画素データを取出した回数が取出し回数であると判定すると、ステップa8に進む。すなわち、入力ラインメモリ14に格納される4ライン分のデータ量に相当する複数のメモリ幅データがフレームメモリ11に書込まれたか否かが判定される。また画素データ群を取出した回数が取出し回数未満であると判断するとステップa3に戻り、ステップa3で、入力ラインメモリ14から次の画素データ群を構成する複数の画素データを取出す。
【0112】
ステップa8では、第1の画像データに対応するメモリ幅データをフレームメモリ11に格納したか否かを判定し、第1の画像データに対応するすべてのメモリ幅データをフレームメモリ11に格納した場合には、ステップa9に進む。また、そうでない場合には、ステップa1に戻る。ステップa1では、入力ラインメモリ14に格納した画素データを更新して、第1の画像データのうちの次の4ライン分の画素データを格納し、格納が完了するとステップa2に進む。
【0113】
ステップa9では、表示制御装置1は、第1の画像データに相当するすべてのメモリ幅データがフレームメモリ11の最小格納部31〜33にアドレス設定されて格納されることによって、中間画像データを作成し、動作を終了する。
【0114】
図12は、表示制御装置1のフレームメモリ11から各画素データ群を読出して、表示デバイス3に画像データを与える手順を示すフローチャートであり、図13および図14は、表示デバイス3に画像データを与える際の手順を説明するための概略図である。
【0115】
まずステップb0で、フレームメモリ11に中間画像データが作成されると、ステップb1に進み、動作を開始する。ステップb1では、第2取得部19が、メモリコントローラ18に読出し要求を伝え、図13に示すように、フレームメモリ11の最小格納部31〜33に格納される各メモリ幅データをバーストリード転送によって複数連続して読出し、ステップb2に進む。ステップb2では、読出したメモリ幅データから、画素データを復元し、ステップb3に進む。
【0116】
ステップb3では、第2取得部19は、画素データ群を構成する複数の画素データが復元すると、図14に示すように、画素データ群を構成する。次に画素データ群を構成する複数の画素データのうち主走査方向に2個、副走査方向に2個並ぶ2×2の回転画素データ群に区分する。局部回転部20は、第2取得部19によって区分された回転画素データ群を取得し、回転画素データ群を構成する各画素データの配列を90度角変位させる。このように画素データ群を回転画素データ群に区分し、回転画素データ群ごとに画素データの配列を変換して、画素データ群を構成する各画素データの配列位置を変換すると、ステップb4に進む。
【0117】
ステップb4では、ステップb3で配列位置を変換した複数の画素データを、予め定められる行列順序に従って出力ラインメモリ15に書込み、ステップb5に進む。ステップb5では、主走査方向2ライン分の画素データが出力ラインメモリ15に格納されたか否かを判定し、主走査方向2ライン分の画素データが出力ラインメモリ15に格納されている場合は、ステップb6に進む。主走査方向2ライン分の画素データが出力ラインメモリ15に格納されていない場合は、ステップb1に戻り、再びフレームメモリ11からメモリ幅データを読出す。
【0118】
ステップb6では、出力ラインメモリ15に書込まれた画素データを表示デバイス3に与えて画像を表示させ、ステップb7に進む。ステップb7では、フレームメモリ11に格納されるすべてのメモリ幅データ対応する画素データが表示デバイス3に出力されたか否かを判定し、出力されていない場合は、ステップb1に進み、再びフレームメモリ11からメモリ幅データを読出す。またフレームメモリ11に格納されるすべてのメモリ幅データに対応する画素データが表示デバイス3に出力された場合には、ステップb8に進み、動作を終了する。
【0119】
表示制御装置1の第1の配列変換部12および第2の配列変換部13は、ハードウェアによって実現することができる。以下にアドレス制御部17と局部回転部20の構成の例示を示す。
【0120】
図15は、アドレス制御部17を示す論理回路図である。アドレス制御部17は、入力信号として、各入力ラインメモリ14から与えられる画素データ信号PIX0〜PIX3と、画素データ信号PIX0〜PIX3が有効であるか否かを表す入力データ有効無効信号SELと、アドレス設定の開始のタイミングを表す初期アドレス設定トリガ信号LDTと、予め定められる基準最小格納部のアドレスを表すベースアドレス信号LDと、歯抜け状に所定の間隔をあけて最小格納部にデータを格納するための信号を表す歯抜けアドレス信号DIFと、データのリセットを行うリセット信号RSTと、クロックパルス信号を与えるクロック信号CLKとが入力される。
【0121】
またアドレス制御部17は、出力信号として、メモリ幅データを表すメモリ幅データ信号MEMと、メモリ幅データ信号が有効であるか否かを表す出力データ有効無効信号DENと、メモリ幅データが格納されるアドレスを設定するアドレス信号ADRとを出力する。入力データ有効無効信号SELは、送られる画素データ毎にHIGHおよびLOWを交互に繰返す。
【0122】
アドレス制御部17は、画素データをメモリ幅データに変換するデータ変換部分41と、メモリ幅データを格納する最小格納部のアドレスを設定するアドレス設定部分42とを有する。アドレス制御部17は、フリップフロップ43,47と加算器44とセレクタ45,46とを含んで構成される。
【0123】
図16は、セレクタの真理値表を示す表である。セレクタは、2つのデータ信号と、2つのデータ信号のいずれを選択するかを指定するデータセレクト信号とが入力され、データセレクト信号に応じて、2つのデータ信号のうち、いずれか一方を出力する。たとえばデータセレクト信号がHIGHである場合、HIGH側入力端子から入力される一方のデータ信号が出力され、データセレクト信号がLOWである場合、LOW側入力端子から入力される他方のデータ信号が出力される。
【0124】
図17は、データ変換部分41の一部を示す論理回路図であり、図18は、図17おける論理回路図のタイミングチャートである。データ変換部分41は、フリップフロップ43とセレクタ45とを有する。フリップフロップ43は、制御信号としてクロック信号CLKが入力され、画素データ信号PIXおよび入力データ有効無効信号SELのいずれかと、リセット信号RSTとが入力端子から入力される。
【0125】
セレクタ45は、画像データ信号がHIGH側入力端子から入力され、クロック周波数の1周期前にセレクタ45から出力された画像データ信号MEMが、帰還してLOW側入力端子から入力され、データセレクト信号として入力データ有効無効信号SELが入力される。
【0126】
画素データ信号PIXは、第1のフリップフロップ43aに入力され、第1のフリップフロップ43aから出力されるデータ信号は2つに分岐される。第1のフリップフロップ43aから出力されるデータ信号の一方は、第1のセレクタ45aのHIGH側入力端子に入力される。また第1のフリップフロップ43aから出力されたデータ信号の他方は、第2のフリップフロップ43bに入力される。第2のフリップフロップ43bから出力されるデータ信号は、第2のセレクタ45bのHIGH側入力端子に入力される。
【0127】
第1のセレクタ45aから出力されるデータ信号は、第3のフリップフロップ43cに入力される。第3のフリップフロップ43cから出力されるデータ信号は、2つに分岐される。第3のフリップフロップ43cから出力されるデータ信号の一方は、第1のセレクタ45aのLOW側入力端子に入力される。また第3のフリップフロップ43cから出力されたデータ信号の他方は、メモリ幅データ信号として出力される。
【0128】
また第2のセレクタ45bから出力されるデータ信号は、第4のフリップフロップ43dに入力され、第4のフリップフロップ43dから出力されるデータ信号は、2つに分岐される。第4のフリップフロップ43dから出力されるデータ信号の一方は、第2のセレクタ45bのLOW側入力端子に入力される。また第4のフリップフロップ43bから出力されたデータ信号の他方は、メモリ幅データ信号として出力される。
【0129】
また入力データ有効無効信号SELは、第5のフリップフロップ43eに入力され、第5のフリップフロップ43eから出力されたデータ信号が第6のフリップフロップ43fに入力され、第6のフリップフロップ43fから出力されたデータ信号が2つに分岐されて一方のデータ信号が第7のフリップフロップ43gに入力され、第7のフリップフロップ43gから出力されたデータ信号が出力データ有効無効信号DENとして出力される。
【0130】
第6のフリップフロップ43fから出力され、分岐された他方のデータ信号は、第4、第5のフリップフロップによってタイミングが調整されて、各セレクタ45a,45bに入力される。
【0131】
図18に示すように、メモリ幅データ信号MEMは、各セレクタ45a,45bからそれぞれ出力される出力データを表し、データ信号として送られる画素データと次に送られる画素データとを同時に出力する。また出力データ有効無効信号DENが、送られるデータ信号1つ毎にHIGHおよびLOWを交互に繰返す。
【0132】
出力されるメモリ幅データ信号MEMのうち、出力データ有効無効信号DENによって、出力されるメモリ幅データ信号MEMを1つおきに有効とすることによって、順番に送られる画素データ群の前後の2つの画素データ同士をまとめ、1つのメモリ幅データとして変換することができる。図15に示すように画素データが複数同時に入力された場合も同様に、画素データ毎に順番に送られる前後の2つの画素データ同士をまとめて1つのメモリ幅データに変換することができる。
【0133】
図15に示すように、アドレス設定部分42は、フリップフロップ47と、セレクタ46と、加算器44とを有する。第1のセレクタ46aは、ベースアドレス信号LDがHIGH側入力端子に入力され、クロック周波数の1周期前にアドレス信号ADRとして出力されたデータ信号が、帰還してLOW側入力端子に入力され、データセレクト信号として初期アドレス設定トリガ信号LDTが入力される。
【0134】
第1のセレクタ46aから出力されたデータ信号は、第2のセレクタ46bのLOW側入力端子に入力され、クロック周波数の1周期前にアドレス信号ADRとして出力されたデータ信号が、帰還してHIGH側入力端子に入力され、データ変換部分41に設けられる第6フリップフロップ43fから分岐した入力データ有効無効信号SELを表すデータ信号がデータセレクト信号として入力される。また歯抜けアドレス信号DIFが第3のセレクタ46cのHIGH側入力端子に入力され、データ変換部分41に設けられる第6フリップフロップ43fから分岐した入力データ有効無効信号SELを表すデータ信号がデータセレクト信号として入力される。
【0135】
第2のセレクタ46bから出力される信号と第3のセレクタ46cから出力される信号は加算器44に入力される。この加算器44から出力される信号が、アドレス設定部分41に設けられるフリップフロップ47に入力される。フリップフロップ47から出力されたデータ信号は、フリップフロップ47によって、メモリ幅データ信号MEMとのタイミングが調整されて3つに分岐される。フリップフロップ47から分岐したデータ信号のうち1つは、アドレス信号ADRとして出力され、他の1つは、HIGH側入力端子から第1のセレクタ46aに入力され、さらに他の1つは、LOW側入力端子から第2のセレクタ46bに入力される。
【0136】
図19は、図15における論理回路図のタイミングチャートである。上述する回路構成によって、出力データ有効無効信号DENがHIGHとなる回数毎に、ベースアドレス信号LDに歯抜けアドレス信号DIFが積算されたデータ信号が出力される。これによって出力されるメモリ幅データ順に、予め定められる最小格納部のアドレスから所定の間隔分はなれた最小格納部のアドレスが順に設定される。
【0137】
上述するようにデータ変換部分41によって画素データがメモリ幅データに変換され、アドレス設定部分42によってメモリ幅データが格納される最小格納部のアドレスが設定されることによって、メモリ幅データをフレームメモリ11の最小格納部に歯抜け状に格納することができる。
【0138】
図20は、局部回転部20を示す論理回路図である。図21は、図20に示す論理回路による画素データの配置変換を示す図であり、図21(1)は、反時計まわりに90度角変位する画素データの配置位置を示し、図21(2)は、時計まわりに90度角変位する画素データの配置位置を示す。局部回転部20は、4つのセレクタ49と4つのフリップフロップ50とを有する。図20に示す論理回路図は、主走査方向Xに2個、副走査方向Yに2個並ぶ画素データ群が与えられた場合に、画素の配列を90度角変位させるための回路である。
【0139】
局部回転部20は、入力信号として、フレームメモリ11から与えられる画素データ信号PIX10〜PIX13と、画素データ信号PIX10〜PIX13が有効であるか否かを表すデータ有効無効信号SELと、データのリセットを行うリセット信号RSTと、クロックパルス信号を与えるクロック信号CLKとが入力される。また局部回転部20は、出力信号として、各出力ラインメモリに与える画素データ信号PIX20〜PIX23を出力する。
【0140】
主走査方向上流側からI番目で副走査方向上流側からJ番目の画素をRIJとして表すと、R11で表される画素配置を第1の画素位置とし、R12で表される画素配置を第2の画素位置とし、R21で表される画素配置を第3の画素位置とし、R22で表される画素配置を第4の画素位置とすると、各画素位置にある画素を表す画素データPIX10〜PIX13は、セレクタ49a〜49dによって配置位置が変更されて出力される。
【0141】
第1のセレクタ49aから出力される画素データは、第1の画素位置にある画素データPIX20として出力される。同様に第2〜第4のセレクタ49b〜49dから出力される画素データは、第2〜第4の画素位置にある画素データPIX21〜PIX23としてそれぞれ出力される。
【0142】
たとえば第1の画素位置にある第1の画素▲1▼を表す画素データPIX10は、第3のセレクタ49cのHIGH側入力端子に入力されるとともに、第2のセレクタ49bのLOW側入力端子に入力される。データセレクト信号がHIGHの場合は、第1の画素位置にある第1の画素▲1▼は、第3の画素位置にある画素として出力される。またデータセレクト信号がLOWの場合は、第1の画素位置にある第1の画素▲1▼は、第2の画素位置にある画素として出力される。また各セレクタ49a〜49dから出力されるデータ信号は、各フリップフロップ50に入力されることによってタイミングが調整されて出力される。
【0143】
【表1】
【0144】
表1は、各画素の画素位置が変換された場合の画素位置を示す表である。表1および図21に示すように、データセレクト信号がHIGHの場合は、画素の配列が反時計まわりに90度角変位させることができ、データセレクト信号がLOWの場合は、画素の配列が時計まわりに90度角変位させることができる。なお、詳細な説明は省略するが、第1取得部16および第2取得部19もハードウェアによって実現される。
【0145】
以上のように表示制御装置1によれば、第1配置状態に適合した第1の画像データを第2配置状態に適合した第2の画像データに変換して表示デバイス3に与えることができる。
【0146】
表示制御装置1が、第2の画像データを作成する際には、アドレス順にメモリ幅データを読出したときに、画素データ群を1単位とみなして画素データ群の配列位置が主走査方向Xおよび副走査方向Yの並びを逆転した仮想変換行列データとなるように、フレームメモリ11の所定のアドレスに書込む。フレームメモリ11からメモリ幅データごとに読出して、画素データ群内の画素データの配列位置が、主走査方向Xおよび副走査方向Yの並びを逆転した規則に従って変更して第2配置位置に適合する第2の画像データを作成する。
【0147】
予め定められる規則は、たとえば表示位置が時計まわりに90度角変位する場合、主走査方向にm個に分割される画素群のうち、主走査方向上流側からi番目で、副走査方向上流側からj番目の位置Pijの画素群の配列を、主走査方向上流側からj番目でかつ副走査方向上流側から(m+1−i)番目の位置Qj(m+1−i)に並び換える規則に設定することによって、画素の並びを反時計まわりに90度角変位させることができ、表示デバイス3に表示される画像を角変位前の状態と同じ向きに表示させることができる。
【0148】
また上述するように第1および第2の配列変換部12,13を論理回路によって構成されるハードウェアによって実現するので、ソフトウェアの処理速度に依存することなく、画素データの配列変換動作を安定させかつ高速で行うことができる。
【0149】
またフレームメモリ11の所定の格納部30に画素データ群に相当する複数の画素データを書込む際には、フレームメモリ11に予め定められた最小格納部31〜33の最大記憶容量に応じたメモリ幅データに、画素データ群を構成する複数の画素データを変換して、フレームメモリ11に記憶させる。これによって限られたフレームメモリ11の記憶容量に対して、無駄なくデータを記憶させることができる。
【0150】
画素データごとにフレームメモリ11の最小格納部に記憶させた場合には、画素データのデータ量と格納部の記憶容量とが一致せず、最小格納部に画素データが記憶されずに空の記憶領域が生じる場合がある。この場合、空の記憶領域を見越して、記憶すべき複数の画素データよりも大きい記憶容量を有するフレームメモリ11が必要となる。本発明では、フレームメモリ11の記憶容量に対して無駄なくデータを記憶させることができるので、画素データごとにフレームメモリ11の最小格納部に記憶させる場合に比べて、少ない記憶容量のフレームメモリ11を用いることができる。これによって表示制御装置1を安価に実現することができる。また複数の画素データに相当するメモリ幅データをフレームメモリ11の所定の最小格納部31〜33に書込むことによって、画素データごとに所定の最小格納部に書込む場合に比べて、アドレスの設定を容易にすることができる。
【0151】
またメモリ幅データがフレームメモリ11の所定のアドレスに書込まれるので、フレームメモリ11から画素データ群に相当するメモリ幅データを読出すときにアドレス順に読出すことができフレームメモリ11へのアクセスにかかるオーバーヘッドを少なくして、読出し速度を早くすることができる。さらに第2取得部19によって、フレームメモリ11からバーストリード転送によって複数の格納部30に格納される画素データ群に相当するメモリ幅データを連続して読出すので、単位時間あたりの転送量を増やして転送効率を高めることができる。これによってフレームメモリ11に書込みおよび読出しする時のアクセスにかかるページ切換えのオーバーヘッドを少なくすることができる。
【0152】
またデータ読出しに費やされる時間をさらに短時間にすることができ、ソフトウェア処理では、表示するために負荷がかかるリアルタイムに画像を順次切換える動画などであっても安定かつ高速に表示することができる。
【0153】
また2×2の回転画素データ群は、角変位する最小単位であり、画素データ単位で行うので、より簡単な構成で実現することができ、また処理速度を早くすることができる。また画素データ群を格納するアドレスを制御するアドレス制御処理と回転画素データ群を構成する各画素データを回転させる処理との間で、画像データ単位の相関関係がなく、独立して行うことができる。これによってフレームメモリ11として用いられる記憶手段の制限をなくし、記憶手段の選択肢を増やすことができる。これによってフレームメモリ11として最も安価なメモリ構成の組合せを選択することができる。
【0154】
また入力ラインメモリ14の数と出力ラインメモリ15の数とに応じて設定した画素データ群を入力ラインメモリ14から取出すことによって、取出した画素群毎に出力ラインメモリに取入れることができ、画素データの配列変換を容易に行うことができる。
【0155】
また各画素データ群が分割されることなくフレームメモリ11におけるメモリ幅に区分されるよう、画素データ群のデータ量に対して、フレームメモリ11におけるメモリ幅を整数倍に設定してもよい。これによって、フレームメモリ11からデータを読み出した時に、画素データ群に含まれる画素データ分のデータが既にそろっている状態になるので、画素データ群に含まれる画素データがそろうまでデータを記憶する必要がない。また画素データ群が分割されることがなくフレームメモリ11に書込まれるので、仮想変換行列データにおける行列順序となるようにアドレスを指定することが容易となる。
【0156】
上述する記載は、本発明の実施の一形態に過ぎず、発明の範囲内で構成を変更することができる。表示制御装置1は、画素データの配列を変換するデータ配列変換装置であるので、たとえばデータ配列変換装置を用いて、画素データ以外のデータの配列を変換してもよい。
【0157】
データ配列変換を行うことによって、データ配列の変換を安定して高速で行うことができ、かつ変換した中間画像データを記憶する記憶手段の容量に対して無駄なく有効に記憶することができる。たとえば画像表示に限らず、印刷などの画像形成であっても縦横を逆転した画像を形成することができる。
【0158】
また上述する実施例では、第1の画像データを反時計まわりに90度角変位させたが、第1の画像データに対して時計まわりに90度角変位させてもよい。第1の画像データを時計まわりに90度角変位させる場合、第1の画像において副走査方向にn個に分割される画素データ群のうち、主走査方向上流側からi番目で、副走査方向上流側からj番目の位置Pijの画素群の配列を、主走査方向上流側から(n+1−j)番目でかつ副走査方向上流側からi番目のQ(n+1−j)iに並び換えて中間画像データを作成する。
【0159】
また仮想変換行列として、画素データ群が主走査方向にt個、副走査方向にu個集まるt×u個の画素データの集まりとすると、画素データ群内における画素データの配列を、主走査方向上流からI番目で、副走査方向上流側からJ番目の画素RIJを、主走査方向上流側からJ番目でかつ副走査方向上流側から(t+1−I)番目の位置SJ(t+1−I)に並び換えるように画素データ群の配列位置を変換する。
【0160】
この場合、アドレス制御部17は、第1の画像データにおいて主走査方向にm個、副走査方向にn個に分割される画素データ群のうち、第1の画像データの書込み順に応じてx番目に取出した画素データ群を、z番目に読出される格納部に格納するように設定する。ただし(x−1)/mの商である整数項部分をyとすると、zは、{n・(x−m・y)−y}で表される。
【0161】
また表示デバイス3が90度角変位しなくてもよく、表示制御装置1は、縦横が逆転する第1配置状態と第2配置状態とで表示する画像を変更することができる。たとえば表示デバイス3を見る視認者が、表示画面を見る方向を縦横逆転する場合に、第1配置状態から第2配置状態に切換えてもよく、表示デバイス3が角変位しない場合であってもよい。たとえば情報携帯端末に設けられる表示デバイス3などの小型の表示デバイスの表示画像の縦横を逆転させてもよい。また入力ラインメモリ14および出力ラインメモリ15の個数は、特に限定されることはない。また表示制御装置1は、画像データ生成装置2から与えられる画像データを変換して表示デバイス3に与える。したがって表示制御装置1は、表示デバイス3に内蔵されるほかに、画像データ生成装置2に内蔵されてもよく、表示デバイス3および画像データ生成装置2の外部に設けられてもよい。
【0162】
図22は、本発明の他の実施の形態である表示制御装置50を示すブロック図である。表示制御装置50は、図1に示す表示制御装置1とほぼ同様の構成を有し、その第1の配列変換手段が異なる以外は同様である。同一の構成については、同一の参照符号を付して、詳細な説明は省略する。
【0163】
第1の配列変換手段51は、図1に示す第1の配列変換手段12にさらに比較手段52と識別コード生成部53とを有する。比較手段52は、順次入力される第1画像データに関して、先に入力された第1の画像データと後に入力された第2の画像データとを比較し、画像データのうち変更された画像部分のデータを抽出し、変更された画素部分のデータをフレームメモリ11へ書込む。
【0164】
識別コード生成手段53は、第1取得部16から送られるデータを所定数格納し、所定数格納した段階で格納したデータからメモリ幅データに応じた識別コードを生成する。比較手段52は、メモリコントローラ18を介してフレームメモリ11に格納されているメモリ幅データに応じた前識別コードを読出す識別コード制御部54と、識別コード生成部53によって生成される識別コードと識別コード制御部54から与えられる前識別コードとを比較する比較部55とを有する。
【0165】
識別コード生成部53は、たとえばCycle Redundancy Check(CRC)生成手法を用いてメモリ幅データの識別コードを生成する。またその他にハッシュ法、MD5(Message Digest algorithm 5)、ランレングス法、冗長データ符号化法などによって識別コードを生成してもよい。冗長データ符号化は、符号化するデータ内で冗長データを抽出し、その部分に対して符号化する手法であって、入力される画像データに同一色のデータまたは同一のデータストリームの流れがどれぐらい続くのかを表す識別コードを生成する。
【0166】
図23は、比較手段52がフレームメモリ11にデータを書込む際の手順を示すフローチャートである。ステップc0では、アドレス制御部17から更新されたメモリ幅データが送られるとステップc1に進み、動作を開始する。
【0167】
ステップc1では、比較手段52は、識別コード制御部54によって、先に入力された第1の画像データに対応するメモリ幅データに応じて生成された前識別コードを、メモリコントローラ18を介してフレームメモリ11から読出し、前識別コードを比較部55に与え、ステップc2に進む。
【0168】
ステップc2では、識別コード生成部53によって、第1取得部16から送られる第1の画像をメモリ幅データに区分するとともに、メモリ幅データとメモリ幅データがフレームメモリ11に記憶されるアドレスとを所定数格納し、メモリ幅データに応じた識別コードを生成し、識別コードの生成が完了すると、ステップc3に進む。ステップc3では、識別コード生成部53によって生成された識別コードを比較手段52の比較部55に与え、ステップc4に進む。
【0169】
ステップc4では、比較部55によって、ステップc2で読出した前識別コードとステップc3で生成した識別コードとを比較し、2つの識別コードが同一であるか否かを判断する。識別コード同士が同一である場合にはステップc6に進み、識別コード同士が異なっている場合にはステップc5に進む。
【0170】
ステップc5では、メモリコントローラ18を介してアドレス制御部17から送られるメモリ幅データを、フレームメモリ11の所定の最小格納部に格納し、ステップc6に進む。ステップc6では、ステップc2で生成された識別コードを複数のメモリ幅データに応じて新しくフレームメモリ11に格納させて、ステップc7に進み、ステップc7で動作を終了する。
【0171】
以上のように表示制御装置50によれば、上述する表示制御装置1と同様の効果を得ることができる。また先に入力された第1の画像データと後に入力された第2の画像データを比較し、変更された画像部分のデータを記憶手段に書込むので、記憶手段に書込まれるデータ量を少なくすることができる。さらに識別コードによって先に入力された第1の画像と後に入力された第1の画像との比較を行うので、より短時間でデータの比較を行うことができる。これによって画像処理にかかる負荷を減らすことができ、また記憶手段への書込み量を減らして消費電力の低減を図ることができる。また動画などを表示する場合であっても安定かつ高速に表示することができる。
【0172】
特にWindows(登録商標)などのアプリケーション表示画面では、静止している部分が多く、実際に書き換え処理を必要としている部分が非常に少ないためにフレーム書込み回数を少なくすることができ、好適に用いることができる。また一般的なランレングス法では、同一色の連続性しか表現できないので、同一のデータストリームまで拡大して識別コードを生成することによってより確実な識別コードを生成することができる。
【0173】
図24は、本発明のさらに他の実施の形態である表示制御装置60を示す正面図である。表示制御装置60は、図1に示す表示制御装置1とほぼ同一の構成を有し、画像データ生成装置2および表示デバイス3の外部に設けられる。同様の構成については、同一の参照符号を付して、詳細な説明は省略する。表示制御装置60は、画像データ生成装置2と表示デバイス3とを電気的に接続する接続ケーブル61,62に連結される。
【0174】
具体的には、画像データ生成装置2に接続される入力側ケーブル61が表示制御装置60の入力側ポート63に接続される。また表示デバイス3に接続される出力側ケーブル62が表示制御装置60の出力側ポート64に接続される。
【0175】
図25は、表示制御装置60の電気的構成を示すブロック図である。表示制御装置60は、画像データ生成装置2から画像データが入力される入力側ポート63と、表示デバイス3に画像データを出力する出力側ポート64と、フレームメモリ11と、画像データを構成する各画素データの配列位置を変換するための縦横変換部65と、縦横変換部65に画素データの配列変換指令を与える回転指示マイコン66とを備える。
【0176】
入力側ポート63および出力側ポート64は、画像データを伝送可能なケーブル61,62が着脱自在に接続される。入力側ポート63は、入力側ケーブル61を介して画像データ生成装置2から画像データが与えられる。縦横変換部65は、入力側ポート63に与えられた画像データ6を取得し、画像データを変換して、または変換せずに出力側ポート63に与える。出力側ポート64は、出力側ケーブル62を介して縦横変換部65から与えられた画像データを表示デバイス3に与える。
【0177】
回転指示マイコン66は、表示デバイス3が第1配置状態に配置された状態であるか、第1配置状態から縦横が逆転した第2配置状態に配置された状態であるかを判断し、配置状態に応じて縦横変換部65に画像データの配列変換指令を与える。
【0178】
たとえば表示制御装置60は、表示デバイス3の配置状態が入力される配置状態入力スイッチ67を有する。配置状態入力スイッチ67は、入力された表示デバイス3の配置状態を示す配置信号を、回転指示マイコン66に与える。回転指示マイコン66は、配置状態入力スイッチ67から配置信号を取得し、表示デバイス3が第1配置状態であるか第2配置状態であるかを判断する。
【0179】
縦横変換部65は、入力ラインメモリ14と、第1の配列変換部12と、第2の配列変換部13と、出力ラインメモリ15と、メモリコントローラ18とを備える。縦横変換部65は、1つの集積回路(Integrated Circuit:IC)によって実現されてもよく、また複数の回路によって実現されてもよい。
【0180】
縦横変換部65は、表示デバイス3が第1配置状態および第2配置状態のいずれの状態であっても、表示される画像が同じ向きに表示されるように画像データ生成装置2から与えられた画像データを変換する。
【0181】
たとえば図2(1)に示すように、表示デバイス3が第1配置状態であり、縦横変換部65に第1配置状態に適合した第1の画像データが与えられる場合、回転指示マイコン66は、縦横変換部65に画像データの配列変換指令を与えない。配列変換指令が与えられないときには、縦横変換部65は、第1配置状態に適合した第1の画像データ6を変換せずにそのまま画像データとして表示デバイス3に与える。
【0182】
また図2(2)に示すように、表示デバイス3が第2配置状態であり、縦横変換部65に第1配置状態に適合した第1の画像データが与えられる場合、回転指示マイコン66は、縦横変換部65に画像データの配列変換指令を与える。配列変換指令が与えられるときには、縦横変換部65は、フレームメモリ11を用いて、第1の画像データ6を第2配置状態に適合した第2の画像データに変換する。
【0183】
縦横変換部65は、このように表示デバイス3の配置状態に応じた画像データを表示デバイス3に与える。表示デバイス3は、縦横変換部65から与えられる画像データに基づいて画像を表示させることによって、配置状態に応じた画像を表示することができる。
【0184】
フレームメモリ11を用いて縦横変換部65が行う画像データの配列変換動作については、上述した表示制御装置1と同様なので詳細な説明については省略する。縦横変換部65がフレームメモリ11を用いて上述した表示制御装置1と同様の動作を行うことによって、表示制御装置1と同様の効果を得ることができる。
【0185】
たとえば画素データの配列変換を、論理回路から成るハードウェアによって実現するので、ソフトウェアの処理速度に依存することなく、動作を安定させかつ高速で行うことができる。またメモリ幅単位に画素データを変換してフレームメモリ11に記憶させるので、フレームメモリ11の記憶容量に対して無駄なくデータを記憶させることができる。
【0186】
画素データをメモリ幅単位に変換せず、フレームメモリ11の最小格納部ごとに1つずつ画素データを記憶させた場合には、画素データのデータ量と最小格納部の記憶容量とが一致しない場合がある。この場合、最小格納部には、画素データが記憶されずに空となる空の記憶領域が生じる。したがって空の記憶領域を見越して、記憶すべき複数の画素データよりも大きい記憶容量を有するフレームメモリ11が必要となる。本発明では、フレームメモリ11の記憶容量に対して無駄なくデータを記憶させることができるので、画像データが記憶されない空の記憶領域をなくすことができる。これによってフレームメモリ11の最小格納部ごとに1つずつ画素データを記憶させる場合に比べて、少ない記憶容量のフレームメモリ11を用いることができる。
【0187】
さらに表示制御装置60は、画像データ生成装置2と表示デバイス3との間にケーブル61,62によって着脱自在に連結される。これによって既存の画像データ生成装置2および表示デバイス3を用いることができる。すなわち特別な画像データ生成装置2および表示デバイス3を必要とせずに、表示デバイス3の配置状態に応じた画像を表示させることができる。
【0188】
表示デバイス3は、第1配置状態と第2配置状態との2つの状態に配置状態を変更可能なほかに、2つ以上の配置状態に変更可能であってもよい。たとえば表示デバイス3は、第1配置状態から±90度、±180度および±270度角変位した配置状態で配置されてもよい。この場合、回転指示マイコン66は、配置状態の変更にあたって、配置状態入力スイッチ67から表示デバイス3が角変位した方向と角度とを取得する。すなわち表示デバイス3が第1配置状態から時計まわりとなるプラス方向に変位したか、第1配置状態から反時計まわりとなるマイナス方向に変位したかを示す方向情報と、表示デバイス3が第1配置状態から角変位した角度を示す角度情報とを取得する。
【0189】
たとえば第1配置状態から−90度角変位した場合には、配置状態入力スイッチ67は、表示デバイス3が第1の表示状態からマイナス方向に角変位したことを方向情報として取得し、表示デバイス3が第1の表示状態から90度角変位したことを角度情報として取得する。配置状態入力スイッチ67は、取得した方向情報および角度情報を縦横変換部65に与える。縦横変換部65は、回転指示マイコン66から与えられる方向情報および角度情報に基づいて、画像データを変換する。このようにして縦横変換部65が変換した画像データを表示デバイスに与えることによって、表示デバイス3は、配置状態が2つ以上の場合であっても、配置状態に適合した画像を表示することができる。
【0190】
図26は、本発明のさらに他の実施の形態である表示制御装置70の電気的構成を示すブロック図である。表示制御装置70は、図1に示す表示制御装置1とほぼ同様の構成を有し、画像データ生成装置2に内蔵される。同様の構成については、同一の参照符号を付して、詳細な説明は省略する。
【0191】
本実施の形態の特徴は、表示制御装置70を、画像データ生成装置2に設けられる接続部に着脱可能とされる接続体として構成したことである。本実施形態では、画像データ生成装置2がパーソナルコンピュータ71であり、接続体が、コンピュータ71の拡張スロットに装着される拡張ビデオカードである場合を説明する。なお、以下の説明では、表示制御装置70を拡張ビデオカード70と称して説明する。
【0192】
拡張ビデオカード70は、たとえばAGP(Accelerated Graphics Port)バスまたはPCI(Peripheral Component Interface)バスのようなデータ転送バスに対応し、対応する拡張スロットに装着される。拡張ビデオカード70は、バスインターフェース73と、描画コプロセッサ74と、画像変換部75と、ディスプレイメモリ78と、メモリコントローラ18と、ディスプレイコントローラ76と、オーバレイ処理部77とを含んで構成される。この構成のうち、画像変換部75と、ディスプレイメモリ78と、メモリコントローラ18とが本発明の表示制御装置として機能する構成である。
【0193】
コンピュータ71は、画像データを生成するための基礎となる画像生成データを生成し、AGPバスまたはPCIバスを介して拡張ビデオボード70に与える。画像生成データは、目的の画像データを生成するための指令を示す画像生成指令データを含む。
【0194】
バスインターフェース73は、コンピュータ71の拡張スロットに接続可能に形成されるコネクタ部分を含む。バスインターフェース73は、コンピュータ71に設けられるAGPバスまたはPCIバスを介して、画像生成データを取込む。描画コプロセッサ74は、バスインターフェース73が取込んだ画像生成データに基づいて、描画イメージデータを生成する。たとえば描画コプロセッサ74は、画像生成指令データに基づいて、2次元画像化処理、3次元画像化処理およびテクスチャ処理などを行う。なお描画イメージデータは、本明細書において第1の画像データを意味する。すなわち描画コプロセッサ74は、第1の画像データを生成する。
【0195】
画像変換部75は、上述した第1の配列手段12および第2の配列手段13と同様の動作を実行可能に構成される。すなわち描画コプロセッサ74から第1の画像データを取得し、画像データを構成する各画素データを区分してディスプレイメモリ78に書込むためのメモリ幅データを生成するとともに、各メモリ幅データをディスプレイメモリ78に格納させるためのアドレスを設定する。
【0196】
また画像変換部75は、ディスプレイメモリ78からアドレス順に従ってメモリ幅データを読出して、読出したメモリ幅データに含まれる画素データを復元し、画素データ群に含まれる複数の画素データを復元してから画素データ群を構成して、画素データ群を構成する各画素データの配列位置を変換する。
【0197】
ディスプレイメモリ78は、少なくとも表示デバイス3の1画面分の複数の画素データに相当するデータ記憶容量を有する。ディスプレイメモリ78は、表示デバイス3に表示するための画像データを記憶するとともに、上述したフレームメモリ11の役割も果たし、画素データ群の並びが変換された中間画像データを記憶する。言換えると、ディスプレイメモリ78は、上述したフレームメモリ11および出力メモリ15の機能を兼ねる。さらにディスプレイメモリ78は、3次元表示用の画像データも保存する。
【0198】
メモリコントローラ18は、ディスプレイメモリ78に対するデータの書込みおよび読出しを制御する。すなわち画像変換部75から与えられるデータをディスプレイメモリ78に格納するとともに、ディスプレイメモリ78に格納されるデータを、画像変換部75またはディスプレイコントローラ76に与える。
【0199】
ディスプレイコントローラ76は、表示デバイス3へ画像データを出力するタイミングを生成する。ディスプレイコントローラ76は、CRTC(Cathode−Ray Tube Controller)と呼ばれることもある。オーバレイ処理部77は、ディスプレイコントローラ76から与えられる画像データに基づいて、背景となる背景画像に他の画像を重ね合わせた画像データを生成する。たとえば背景画像に対してDVD(Digital Versatile Disk)などに記憶される動画映像を重ね合わせた画像データを生成する。またたとえばオーバレイ処理部77は、背景画像に対してカーソルおよびハードウェアを示すアイコンを重ねて表示する。
【0200】
図27は、画像変換部75の電気的構成を示すブロック図である。画像変換部75は、複数の入力ラインメモリ14と、第1取得部16と、アドレス制御部17と、第2取得部19と、局部回転部20とを含んで構成される。画像変換部75は、ディスプレイメモリ78およびメモリコントローラ18を用いて、図1に示す表示制御装置1と同様の動作を行う。すなわち画像変換部75は、ディスプレイメモリ78およびメモリコントローラ18を用いて、描画コプロセッサ74から与えられる第1の画像データを、表示デバイス3の配置状態に適合する画像データに変換する。
【0201】
概略を説明すると、描画コプロセッサ74は、コンピュータ71のビデオカードドライバから画像データを生成するための基礎となる画像生成データを取得する。画像生成データが与えられた描画コプロセッサ74は、表示デバイス3に表示するための第1の画像データを生成する。
【0202】
描画コプロセッサ74は、生成した第1の画像データを入力ラインメモリ14に与える。入力ラインメモリ14は、画像データを構成する画素データを順に記憶する。入力ラインメモリ14に画素データが記憶されると、第1取得部16が、入力ラインメモリ14から画素データ群を構成する各画素データを取出し、取出した各画素データをアドレス制御部17に与える。
【0203】
アドレス制御部17は、入力ラインメモリ14から取出された画素データ群を構成する複数の画素データをメモリ幅データに区分するとともに、メモリ幅データごとにディスプレイメモリ78に格納するためのアドレスを設定する。アドレスが設定されたメモリ幅データは、メモリコントローラ18によって、ディスプレイメモリ78の所定のアドレスに格納される。このようにして表示デバイス3の1画面分の中間画素データがディスプレイメモリ78に記憶される。このときディスプレイメモリ78は、上述したフレームメモリ11に相当する。
【0204】
1画面分の中間画素データをディスプレイメモリ78に書込んだ後、第2取得部19がディスプレイメモリ78へ読出し要求を出し、第2取得部19は、バーストリード転送によってメモリ幅データを複数連続して読み出す。第2取得部19は、読出したメモリ幅データから画素データを復元する。第2取得部19は、画素データ群を構成する複数の画素データを復元すると、画素データ群を構成してさらに、画素データ群を2×2の回転画素データ群に区分し、区分した回転画素データ群を局部回転部20に与える。
【0205】
局部回転部20は、回転画素データ群を構成する各画素データの配置位置が90度角変位するように、各画素データの配列位置を変換する。次に局部回転部20は、変換した画素データをメモリコントローラ18に与え、メモリコントローラ18によって画素データを再度ディスプレイメモリ78に記憶させる。このときディスプレイメモリ78は、出力ラインメモリ15に相当する。
【0206】
ディスプレイコントローラ76は、表示デバイス3に表示する画像データを出力するタイミングを調整する。このタイミングに応じてメモリコントローラ18が、配列位置が変換された画素データをディスプレイメモリ78から読出し、オーバレイ処理部77に与える。
【0207】
オーバレイ処理部77は、メモリコントローラ18が読出した画素データに対して、必要に応じて他の画像を重ね合わせて、最終的な画像データを生成する。オーバレイ処理部77は、最終的な画素データを表示デバイス3に与える。表示デバイス3は、オーバレイ処理部77から与えられた画素データに基づいて画像を表示する。
【0208】
このように拡張ビデオカード70に画像変換部75を搭載し、拡張ビデオカード70に設けられる画像変換部75と、ディスプレイメモリ78と、メモリコントローラ18とによって、上述した表示制御装置1と同様の動作を行うことによって、表示制御装置1と同様の効果を得ることができる。
【0209】
たとえば画素データの変換を論理回路によって構成されるハードウェアによって実現するので、ソフトウェアの処理速度に依存することなく、動作を安定させかつ高速で行うことができる。またメモリ幅単位に画素データを変換してディスプレイメモリ78に記憶させるので、ディスプレイメモリ78の記憶容量に対して無駄なくデータを記憶させることができる。
【0210】
画素データをメモリ幅単位に変換せず、ディスプレイメモリ78の最小格納部ごとに1つずつ画素データを記憶させた場合には、画素データのデータ量と最小格納部の記憶容量とが一致しない場合がある。この場合、最小格納部には、画素データが記憶されずに空の記憶領域が生じる。したがって空の記憶領域を見越して、記憶すべき複数の画素データよりも大きい記憶容量を有するディスプレイメモリ78が必要となる。本実施形態では、ディスプレイメモリ78の記憶容量に対して無駄なくデータを記憶させることができるので、画像データが記憶されない空の記憶領域をなくすことができる。これによってディスプレイメモリ78の最小格納部ごとに1つずつ画素データを記憶させる場合に比べて、少ない記憶容量のディスプレイメモリ78を用いることができる。また画像変換部75は、ディスプレイメモリ78およびメモリコントローラ18を備える必要がないので、構造を簡略化することができ、安価に製造することができる。
【0211】
また局部回転部20によって変換された画素データをディスプレイメモリ78に記憶するとしたが、図1に示す表示制御装置1の出力ラインメモリ15に相当するメモリを別途画像変換部75が備えてもよい。また表示制御装置は、画像データ生成装置2に一体に設けられていてもよい。たとえば画像データ生成装置2がパーソナルコンピュータであって、そのコンピュータのマザーボードに画像データを生成する画像データ生成機能が設けられる場合、上述した画像変換部75、ディスプレイメモリ78およびメモリコントローラ18がマザーボードに搭載されていてもよい。またディスプレイメモリ78をマザーボードに設けられる他のメモリを用いて実現するとともに、メモリコントローラ18をマザーボードに設けられる他のコントローラを用いて実現してもよい。
【0212】
【発明の効果】
請求項1記載の本発明によれば、記憶手段におけるデータ量単位のデータで記憶手段の所定のアドレスに書込むので、限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。個別データをデータ量単位に変換しないで記憶手段に記憶させた場合には、個別データが記憶されない空の記憶領域が生じる。この場合、記憶手段は、空の記憶領域を見越して、記憶すべき複数の個別データ分のデータ量よりも大きい記憶容量を有する必要がある。本発明では、記憶手段の記憶容量に対して無駄なくデータを記憶させることができるので、データ量単位に変換しない場合に比べて、少ない記憶容量の記憶手段を用いて記憶すべき複数の個別データを記憶することができる。これによって少ない記憶容量の記憶手段を用いて、データ配列変換装置を安価に実現することができる。
【0213】
またデータ量単位に区分されるデータのデータ量は、個別データおよび個別データ群のデータ量とは、相関関係がなく無関係に設定されるので、記憶手段におけるデータ量単位のデータ量に対して個別データおよび個別データ群のデータ量を任意に選択することができる。また逆に個別データおよび個別データ群のデータ量に対して、記憶手段におけるデータ量単位のデータ量を任意に選択することができる。これによってハードウェアでデータ配列変換装置を構成する場合、記憶手段におけるデータ量単位に依存せずに、個別データおよび個別データ群のデータ量を決定することができる。これによってハードウェアの選択肢を増やすことができ、安価な構成を実現することができる。
【0214】
また複数の個別データを合わせたデータ量単位で記憶手段の所定のアドレスに記憶することによって、個別データ毎に所定のアドレスに書込む場合に比べて、アドレスを設定する回数を減らしてアドレス設定を容易にすることができる。またアドレスの並ぶ順に従って、集合データを読出すことができる。さらにハードウェアによって、データ配列変換装置を実現することができるので、ソフトウェアでデータ配列変換を行う場合に比べて、個別データの配列変換動作を安定させかつ高速で行うことができる。
【0215】
請求項2記載の本発明によれば、表示制御装置は、第1配置状態に適合した第1の画像データを第2配置状態にある表示デバイスに適合するように、第1の画像データを変換する。
【0216】
表示制御装置は、記憶手段におけるデータ量単位のデータで記憶手段の所定のアドレスに書込むので、限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。画素データをデータ量単位に変換しないで記憶手段に記憶させた場合には、画素データが記憶されない空の記憶領域が生じる。この場合、記憶手段は、空の記憶領域を見越して、記憶すべき複数の画素データ分のデータ量よりも大きい記憶容量を有する必要がある。本発明では、記憶手段の記憶容量に対して無駄なくデータを記憶させることができるので、データ量単位に変換しない場合に比べて、少ない記憶容量の記憶手段を用いて記憶すべき複数の画素データを記憶することができる。これによって少ない記憶容量の記憶手段を用いて、表示制御装置を安価に実現することができる。
【0217】
またデータ量単位に区分されるデータのデータ量は、画素データおよび画素データ群のデータ量とは、相関関係がなく無関係に設定されるので、記憶手段におけるデータ量単位のデータ量に対して画素データおよび画素データ群のデータ量を任意に選択することができる。また逆に画素データおよび画素データ群のデータ量に対して、記憶手段におけるデータ量単位のデータ量を任意に選択することができる。これによってハードウェアで表示制御装置を構成する場合、記憶手段におけるデータ量単位に依存せずに、画素データおよび画素データ群のデータ量を決定することができる。これによってハードウェアの選択肢を増やすことができ、安価な構成を実現することができる。
【0218】
また複数の画素データを合わせたデータ量単位で記憶手段の所定のアドレスに記憶することによって、画素データ毎に所定のアドレスに書込む場合に比べて、アドレスを設定する回数を減らしてアドレス設定を容易にすることができる。またアドレスの並ぶ順に従って、集合データを読出すことができる。さらにハードウェアによって、データ配列変換装置を実現することができるので、ソフトウェアでデータ配列変換を行う場合に比べて、画素データの配列変換動作を安定させかつ高速で行うことができる。
【0219】
これによって表示デバイスが第1配置状態および第2配置状態のいずれにある場合であっても、表示デバイスに表示される画像の並びを同じにすることができ、画像を安定かつ高速に表示させることができる。
【0220】
また請求項3記載の本発明によれば、表示制御装置は、第1配置状態に適合した第1の画像データを第2配置状態にある表示デバイスに適合するように、第1の画像データを変換する。
【0221】
表示制御装置は、記憶手段におけるデータ量単位のデータで記憶手段の所定のアドレスに書込むので、限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。画素データをデータ量単位に変換しないで記憶手段に記憶させた場合には、画素データが記憶されない空の記憶領域が生じる。この場合、記憶手段は、空の記憶領域を見越して、記憶すべき複数の画素データ分のデータ量よりも大きい記憶容量を有する必要がある。本発明では、記憶手段の記憶容量に対して無駄なくデータを記憶させることができるので、データ量単位に変換しない場合に比べて、少ない記憶容量の記憶手段を用いて記憶すべき複数の画素データを記憶することができる。これによって、表示制御装置を安価に実現することができる。
【0222】
また画素データ群単位のデータのデータ量を記憶手段におけるデータ量単位に区分し、区分されたデータで記憶手段に書込みおよび読出しするので、記憶手段に予め定められた最小データ量単位で行うことができる。また記憶手段からデータを読出したときに、画素データ群に含まれる画素データが既にそろっているので、画素データ群に含まれる画素データがそろうまで待機する時間をなくすことができるとともに、第2の配列変換手段による配列変換を容易に行うことができる。
【0223】
また複数の個別データを合わせたデータ量単位で記憶手段の所定のアドレスに記憶することによって、画素データ毎に所定のアドレスに書込む場合に比べて、アドレスを設定する回数を減らしてアドレス設定を容易にすることができる。さらにハードウェアによって、データ配列変換装置を実現することができるので、ソフトウェアでデータ配列変換を行う場合に比べて、画素データの配列変換動作を安定させかつ高速で行うことができる。
【0224】
これによって表示デバイスが第1配置状態および第2配置状態のいずれにある場合であっても、表示デバイスに表示される画像の並びを同じにすることができ、画像を安定かつ高速に表示させることができる。
【0225】
また請求項4記載の本発明によれば、記憶手段からバーストリード転送によってデータを読出すので、転送効率を高めて記憶手段に書込みおよび読出し時のアクセスにかかるページ切換えのオーバーヘッドを少なくすることができる。これによってデータ読出しに費やされる時間をさらに短時間にすることができる。
【0226】
また請求項5記載の本発明によれば、先に入力された第1の画像データと後に入力された第1の画像データとを比較する比較手段によって、変更された画像部分の画素データを比較し、変更された画像部分の画素データを記憶手段に書込む。変更された画像部分の画素データのみを変更するだけで、後に入力された第1の画像データを形成することができ、記憶手段に画像データを構成するすべての画素データを書込む必要がない。これによって記憶手段に書込まれるデータ量を少なくすることができる。これによって記憶手段への書込み量を減らして、画像処理にかかる負荷を減らすことができ、また消費電力の低減を図ることができる。また動画などを表示する場合であっても安定かつ高速に表示することができる。
【0227】
また請求項6記載の本発明によれば、第1の画像データの特徴を表す識別コードによって、先に入力された第1の画像データと後に入力された第1の画像データとを比較するので、第1の画像を直接比較する場合に比べて、データ量を小さくすることができ、より短時間でデータの比較を行うことができる。
【0228】
また請求項7記載の本発明によれば、記憶手段におけるデータ量単位のデータで記憶手段の所定のアドレスに書込むので、限られた記憶手段の記憶容量に対して、記憶可能なデータ量を増やすことができる。個別データをデータ量単位に変換しないで記憶手段に記憶させた場合には、個別データが記憶されない空の記憶領域が生じる。この場合、記憶手段は、空の記憶領域を見越して、記憶すべき複数の個別データ分のデータ量よりも大きい記憶容量を有する必要がある。本発明では、記憶手段の記憶容量に対して無駄なくデータを記憶させることができるので、データ量単位に変換しない場合に比べて、少ない記憶容量の記憶手段を用いて記憶すべき複数の個別データを記憶することができる。
【0229】
またデータ量単位に区分されるデータのデータ量は、個別データおよび個別データ群のデータ量とは、相関関係がなく無関係に設定することができる。これによって記憶手段におけるデータ量単位のデータ量に対して個別データおよび個別データ群のデータ量を任意に選択することができる。また逆に個別データおよび個別データ群のデータ量に対して、記憶手段におけるデータ量単位のデータ量を任意に選択することができる。これによってハードウェアでデータ配列変換装置を構成する場合、記憶手段におけるデータ量単位に依存せずに、個別データおよび個別データ群のデータ量を決定することができる。これによってハードウェアの選択肢を増やすことができ、安価な構成を実現することができる。
【0230】
また個別データ毎に所定のアドレスに書込む場合に比べて、アドレスを設定する回数を減らしてアドレス設定を容易にすることができる。またアドレスの並ぶ順に従って、集合データを読出すことができる。さらにハードウェアによって、データ配列変換装置を実現することができるので、ソフトウェアでデータ配列変換を行う場合に比べて、個別データの配列変換動作を安定させかつ高速で行うことができる。
【0231】
また請求項8記載の本発明によれば、先に入力された集合データと後に入力された集合データとを比較する比較工程を備えることによって、集合データのうち変更された部分の個別データを比較し、変更された部分の個別データを記憶手段に書込む。変更された部分の個別データのみを変更するだけで、後に入力された集合データを形成することができ、記憶手段に集合データを構成するすべての個別データを書込む必要がない。これによって記憶手段に書込まれるデータ量を少なくすることができる。これによって記憶手段への書込み量を減らして、データ配列変換にかかる負荷を減らすことができ、また消費電力の低減を図ることができる。またデータ配列が頻繁に変更される場合であっても安定かつ高速に表示することができる。
【0232】
また請求項9記載の本発明によれば、集合データの特徴を表す識別コードによって、先に入力された集合データと後に入力された集合データとを比較するので、集合データを直接比較する場合に比べて、データ量を小さくすることができ、より短時間でデータの比較を行うことができる。
【図面の簡単な説明】
【図1】本発明の実施の一形態である表示制御装置1の構成を表すブロック図である。
【図2】表示制御装置1と表示制御装置1に接続される画像データ生成装置2および表示デバイス3との関係を表す概略図である。
【図3】画像データの変換を説明するための概略図である。
【図4】画素データ群を構成する各画素データの配列位置の変換を説明するための概略図である。
【図5】データの書込み順と読出し順とを説明するための概略図である。
【図6】データを格納するフレームメモリ11の格納部30を示す概略図である。
【図7】第2の配列変換部13の配列変換を示す概略図である。
【図8】表示制御装置1のフレームメモリ11にメモリ幅データを格納する際の手順を示すフローチャートである。
【図9】中間画像データを格納する際の手順を説明するための概略図である。
【図10】中間画像データを格納する際の手順を説明するための概略図である。
【図11】中間画像データを格納する際の手順を説明するための概略図である。
【図12】表示制御装置1のフレームメモリ11から各画素データ群を読出して、表示デバイス3に画像データを与える手順を示すフローチャートである。
【図13】表示デバイスに画像データを与える際の手順を説明するための概略図である。
【図14】表示デバイスに画像データを与える際の手順を説明するための概略図である。
【図15】アドレス制御部17を示す論理回路図である。
【図16】セレクタの真理値表を示す表である。
【図17】データ変換部分41の一部を示す論理回路図である。
【図18】図17おける論理回路図のタイミングチャートである。
【図19】図15における論理回路図のタイミングチャートである。
【図20】局部回転部20を示す論理回路図である。
【図21】図20に示す論理回路による画素データの配置変換を示す図である。
【図22】本発明の他の実施の形態である表示制御装置50を示すブロック図である。
【図23】比較部52がフレームメモリ11にデータを書込む際の手順を示すフローチャートである。
【図24】本発明のさらに他の実施の形態である表示制御装置60を示す正面図である。
【図25】表示制御装置60の電気的構成を示すブロック図である。
【図26】本発明のさらに他の実施の形態である表示制御装置70の電気的構成を示すブロック図である。
【図27】画像変換部75の電気的構成を示すブロック図である。
【符号の説明】
1,50,60,70 表示制御装置
2 画像データ生成装置
3 表示デバイス
11 フレームメモリ
12 第1配列変換部
13 第2配列変換部
14 入力ラインメモリ
15 出力ラインメモリ
16 第1取得部
17 アドレス制御部
18 メモリコントローラ
19 第2取得部
20 局部回転部
30 格納部
31,32,33 最小格納部
100 仮想行列データ
101 仮想変換行列データ
102 画素データ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention, for example, when a display device that displays an image is configured to be able to be arranged in either the portrait state or the landscape state, an image in which the arrangement of pixels is the same regardless of the arrangement state of the display device. The present invention relates to a data array conversion device suitably used for display, a display control device using the same, and a data array conversion method.
[0002]
[Prior art]
Some display devices for displaying images are arranged so that they can be displaced by 90 degrees around an angular displacement axis perpendicular to the display surface and can be arranged in a vertically arranged state and a horizontally arranged state in which the vertical and horizontal directions are reversed. There is a device. This display device can display both a portrait display in which an image is displayed on a vertically long screen in a vertically arranged state, and a landscape display in which an image is displayed on a horizontally long screen in a horizontally arranged state. In order to display an image on such a display device, since the scanning direction is only a single direction, the order of the pixel data arranged in the scanning direction is changed between the vertically long state and the horizontally long state, and given to the display device. A display control device for converting image data is required.
[0003]
In a conventional display control device, image data given to a display device is converted using software. For example, a display control device is configured by a computer, and a program that converts image data is operated by the computer, so that image data that is suitable for one of the display devices is converted to image data that is suitable for the other of the display devices. The data is converted and given to the display device. For example, when input image data representing an input image conforming to the horizontally arranged state is given, when the display device is in the vertically arranged state, the display control device converts image data representing an image obtained by displacing the input image by 90 degrees angularly. It is converted and given to a display device (for example, see Patent Document 1).
[0004]
The conversion of image data is a process of creating converted image data obtained by converting image data according to a predetermined rule. Specifically, a plurality of image data are arranged in a matrix according to the main scanning direction and the sub-scanning direction of the display device. In the pixel data, the order in which the pixel data is arranged in the main scanning direction and the order in which the pixel data is arranged in the sub-scanning direction are mutually reversed.
[0005]
[Patent Document 1]
JP-A-11-185032
[0006]
[Problems to be solved by the invention]
Since the above-described conventional display control device is configured by a computer, when a program for converting image data is being executed, a program for converting image data and another program may be executed in parallel. is there. In this case, since the computer constituting the display control device executes the plurality of programs in parallel, the processing speed of the image data conversion processing and other programs may be reduced, and the processing operation may be unstable. Further, the conversion process of image data may become unstable depending on an operating environment such as a program processing capability of a computer constituting the display control device.
[0007]
If the conversion process of the image data becomes unstable, it may not be possible to properly display an image suitable for the vertically arranged state and the horizontally arranged state. Further, since the display control device executes the program to create the converted image data, there is a problem that it takes time to display the image data suitable for the arrangement state of the display device.
[0008]
In addition, regardless of image data composed of a plurality of pixel data, in a set data in which a plurality of individual data is arranged in a matrix, the arrangement of the arrangement of the individual data is converted according to a predetermined rule to generate converted set data. However, there is a problem similar to that of the above-described display control device.
[0009]
Therefore, an object of the present invention is to provide a data array conversion device and a data array device capable of quickly and stably creating converted set data when performing array conversion according to a predetermined rule in set data including a plurality of individual data. An object of the present invention is to provide an array conversion method.
[0010]
Another object of the present invention is to provide an image display device in which the orientation of an image is the same regardless of the arrangement state of a display device, in a display device capable of two arrangement states of a portrait arrangement state and a landscape arrangement state. An object of the present invention is to provide a display control device capable of supplying data at high speed and stably.
[0011]
[Means for Solving the Problems]
The present invention is a data array conversion device that creates conversion set data based on set data obtained by arranging a plurality of individual data in a matrix in accordance with a predetermined rule based on a set rule of the individual data. ,
Storage means for writing and reading data in a predetermined data amount unit;
Collective data input according to a matrix order determined in advance in the individual data unit is divided into the data amount units in the storage unit, and the divided data is written by designating the address of the storage unit to write intermediate data. A first array conversion unit to be created,
Assuming that the input set data is virtual matrix data composed of a plurality of individual data groups each composed of a predetermined number of individual data arranged in the matrix direction, the arrangement position of each individual data group constituting this virtual matrix data is determined in advance by the aforementioned Assuming virtual conversion matrix data obtained by conversion in accordance with a prescribed rule, when data is written, the address specified is, when data is read in accordance with the address order, the read data corresponds to the arrangement order of the corresponding individual data group. Is a first array conversion means is an address in the matrix order in the virtual conversion matrix data,
The data is read out in units of the data amount in accordance with the address order from the storage means, and after the data for the individual data to be restored is completed, the data is restored to the individual data. After the individual data included in the individual data group are all collected, the individual data is restored. A group is formed, and the arrangement position of each individual data constituting this individual data group is converted according to the predetermined rule, and then the converted individual data is output in a matrix order. 2 is a data array conversion device, comprising:
[0012]
According to the present invention, when a plurality of individual data constituting the set data are input in individual data units according to a predetermined matrix order, the input individual data is stored in the storage unit by the first array conversion unit. It is divided into data amount units when writing and reading data. The divided data is sequentially written to the designated addresses of the storage means, and intermediate data is created.
[0013]
The addresses sequentially specified at the time of writing are specified according to a predetermined rule. Specifically, first, the input set data is divided into individual data groups each including a predetermined number of individual data arranged in a matrix direction, and this individual data group is considered as one element of a matrix. It is assumed that a plurality of virtual matrix data are arranged in a matrix. Further, it is assumed that virtual conversion matrix data obtained by converting the arrangement positions of a plurality of individual data groups constituting the virtual matrix data in accordance with the above-described predetermined rule. The above-mentioned predetermined rule means that, when data is read from the storage means in the order of addresses, for example, in the order of sequentially increasing addresses, the arrangement order of the individual data groups corresponding to the read data is the same as that in the virtual conversion matrix data. This is to specify an address in a matrix order. Intermediate data created by writing data at such an address is equivalent to the above-described virtual transformation matrix data.
[0014]
The data written in the storage means by the first array conversion means as described above is read by the second array conversion means in the order of addresses in units of data amount. The read data is restored to the individual data after the data for the individual data to be restored is completed. Further, after all the individual data included in the individual data group are collected, the individual data group is formed, and the arrangement position of each individual data constituting the individual data group is converted according to the predetermined rule. This is because, at the stage of writing to the storage means, the arrangement position of each individual data group has been converted, but the arrangement position of each individual data within the individual data group has not been converted. As described above, after the arrangement position in the individual data group is converted, the restored individual data is output in a matrix order. As a result, the conversion set data can be created.
[0015]
For example, the matrix order means that when m data are arranged in the row direction and n data are arranged in the column direction, the data x (i, j) is defined as x (i, j), i-th data in the row direction and j-th data in the column direction. , J) are x (1,1), x (2,1), x (m-1, 1), x (m, 1), x (1,2), x (2,2) ... , X (m-1, n), x (m, n), proceed from one side to the other along the row direction of a certain row, then move one step in the column direction, and move along the row direction for the next row. In order from one to the other.
[0016]
The first array conversion unit divides the aggregate data into data amount units when the storage unit writes and reads data, and writes the data to the storage unit with the divided data. This makes it possible to make the data capacity of the storage area corresponding to each address of the storage means equal to the data amount of the stored data, eliminate the empty area where no data is stored for each storage area, and reduce Can be filled with. Thus, the amount of data that can be stored can be increased with respect to the limited storage capacity of the storage unit.
[0017]
The data amount unit in the storage means is composed of a plurality of bits, and is a so-called word. The number of bits constituting the word is an arbitrary number and is determined in consideration of, for example, the configuration of the storage means and the data transfer rate.
[0018]
Since the data divided into the data amount units has no correlation with the data amount of the individual data and the individual data group, the data amount of the individual data and the individual data group and the data amount unit in the storage means can be arbitrarily selected. can do. Thereby, the data amount of the individual data and the individual data group can be set irrespective of the storage means in accordance with productivity and economy.
[0019]
Further, since the data array conversion device specifies an address for each data segmented in data amount units, the number of times of specifying an address can be reduced as compared with a case where an address is specified for each individual data. Further, since the data is written with the address specified so as to be read in accordance with the address order of the storage means, when reading the data from the storage means, the data can be read out in order of the address.
[0020]
In addition, since the first array conversion unit and the second array conversion unit are realized by hardware, the conversion operation of the input image data can be performed more stably and at higher speed than software.
[0021]
Further, according to the present invention, there is provided a display device which can be arranged in a first and a second arrangement state in which the vertical and horizontal directions are reversed to each other. The first image arranged in conformity with the first arrangement state so that the data is provided and displayed, and the image is displayed in the same orientation in any of the first and second arrangement states. Given the data,
When adapting the image data to the display device in the first arrangement state, the first image data is directly provided to the display device without changing the arrangement position of the pixel data,
When the image data is adapted to the display device in the second arrangement state, the arrangement position of the pixel data in the main scanning direction and the sub-scanning direction is predetermined so that the first image data conforms to the second arrangement state. A display control device for converting the second image data changed according to
Storage means for writing and reading data in a predetermined data amount unit;
By dividing the input first image data into data amount units in the storage unit according to a predetermined matrix order in the pixel data unit, and writing the divided data by designating the address of the storage unit, A first array conversion unit for generating intermediate image data,
A plurality of pixel data composed of M × N (M + N> 2, where M and N are natural numbers) pixel data in which M pieces of input first image data are arranged in the main scanning direction and N pieces in the sub-scanning direction. Assuming virtual matrix data consisting of groups, and assuming virtual transformation matrix data obtained by converting the array position of each pixel data group constituting the virtual matrix data according to the predetermined rule, when writing data Is an address such that when the data is read in the order of addresses, the arrangement order of the pixel data groups corresponding to the read data is the matrix order in the virtual transformation matrix data. Means,
The data is read out in units of the data amount in accordance with the address order from the storage unit, and after the data for the pixel data to be restored is collected, the data is restored to the pixel data. A data group is formed, and the arrangement position of each pixel data forming the pixel data group is converted according to the predetermined rule, and then the restored pixel data is output in a matrix order to convert the second image data. A display control device comprising: a second array conversion unit that creates the array.
[0022]
According to the present invention, first image data arranged in conformity with the first arrangement state is provided, and when adapting the image data to the display device in the first arrangement state, the first image data is directly used as the display device. When the image data is adapted to the display device in the second arrangement state, the first image data is converted to the second image data conforming to the second arrangement state and is provided to the display device.
[0023]
When converting the first image data into the second image data, when a plurality of image data constituting the image data are input in units of image data according to a predetermined matrix order, the first array conversion unit inputs the plurality of image data. The image data is divided into data amount units when writing and reading data to and from the storage means. The divided data is sequentially written to the designated addresses of the storage means, and intermediate image data is created.
[0024]
The addresses sequentially specified at the time of writing are specified according to a predetermined rule. Specifically, first, the input image data is divided into a pixel data group consisting of a predetermined number of pixel data arranged in a matrix direction, and this pixel data group is considered as one element of a matrix. It is assumed that a plurality of virtual matrix data are arranged in a matrix. Further, it is assumed that virtual conversion matrix data obtained by converting the arrangement positions of a plurality of pixel data groups constituting the virtual matrix data according to the above-described predetermined rule. The above-mentioned predetermined rule means that when data is read out from the storage means in the order of addresses, for example, in the order of sequentially increasing addresses, the arrangement order of the pixel data group corresponding to the read data is the same as that of the virtual conversion matrix data. This is to specify an address in a matrix order. Intermediate image data created by writing data by designating such an address corresponds to the above-described virtual conversion matrix data.
[0025]
The data written in the storage means by the first array conversion means as described above is read by the second array conversion means in the order of addresses in units of data amount. The read data is restored to pixel data after all the data for the pixel data to be restored are collected. Further, after all the pixel data included in the pixel data group are collected, the pixel data group is formed, and the arrangement position of each pixel data forming the pixel data group is converted according to the predetermined rule. This is because, at the stage of writing to the storage means, the arrangement position of each pixel data group has been converted, but the arrangement position of each pixel data within the pixel data group has not been converted. As described above, after the arrangement position in the pixel data group is converted, the restored pixel data is output in a matrix order. Thereby, the converted image data can be created.
[0026]
For example, the matrix order means that when m data are arranged in the main scanning direction and n data are arranged in the sub-scanning direction, the i-th data in the main scanning direction and the j-th data in the sub-scanning direction are x (i, j). The data x (i, j) is x (1,1), x (2,1), x (m-1,1), x (m, 1), x (1,2), x (2 , 2)..., X (m−1, n), x (m, n), proceed from one side to the other along the row direction of a certain row, then move one step in the column direction, and move to the next row. The order is from one to the other along the row direction.
[0027]
The first array conversion unit divides the image data into units of data amount at which the storage unit writes and reads the data, and writes the data to the storage unit with the divided data, so that the storage corresponding to each address of the storage unit is performed. The amount of data that can be stored in each area and the amount of data to be stored can be made equal, and an empty area in which no data is stored can be eliminated for each storage area. Thus, the amount of data that can be stored can be increased with respect to the limited storage capacity of the storage unit.
[0028]
The data amount unit in the storage means is composed of a plurality of bits, and is a so-called word. The number of bits constituting the word is an arbitrary number and is determined in consideration of, for example, the configuration of the storage means and the data transfer rate.
[0029]
Since the data divided in the data amount unit is set without correlation with the data amount of the pixel data and the pixel data group, it is possible to arbitrarily select the data amount of the pixel data and the pixel data group. it can. Thereby, the data amount of the pixel data and the pixel data group can be set irrespective of the storage means according to the productivity and the economic efficiency.
[0030]
Further, since the display control device specifies an address for each data segmented in data amount units, it is possible to reduce the number of times of specifying an address as compared with a case where an address is specified for each pixel data. Further, since the data is written with the address specified so as to be read in accordance with the address order of the storage means, when reading the data from the storage means, the data can be read out in order of the address.
[0031]
In addition, since the first array conversion unit and the second array conversion unit are realized by hardware, the conversion operation of the input image data can be performed more stably and at higher speed than software.
[0032]
The display control device converts the input image data in accordance with a predetermined rule as described above, so that the input image data is arranged in the row direction and the column direction of the pixel data with respect to the input first image data. Can be created as the second image data in which the angle is shifted by 90 degrees. Therefore, when the display device in the first arrangement state is angularly displaced by 90 degrees in one of the angular displacement directions with respect to a viewer who looks at the display device and the display device is in the second arrangement state, the first image is displayed. By converting the second image data so that the data is angularly displaced by 90 degrees in the other angular displacement direction with respect to the data, an image suitable for the second arrangement state even when the display device is in the second arrangement state Can be displayed on the display device.
[0033]
For example, the display control device may be provided outside the display device and the image data generation device. Specifically, the display control device includes an entrance port and an exit port to which a transmission body for transmitting image data such as a cable is detachably mounted, a storage unit, a first and a second array conversion unit, Having. A first transmission body connected to the image data generation device is connected to the entrance-side port. A second transmitter connected to the display device is connected to the outlet port. The first array conversion unit acquires the image data output from the image data generation device via the first transmission medium. Further, the second array conversion unit supplies the converted image data to the display device via the second transmission body.
[0034]
Thus, the display control device is detachably connected between the image data generating device and the display device by each transmission body. Therefore, an image according to the arrangement state of the display device can be displayed using the existing image data generation device and display device without requiring a special image data generation device and display device.
[0035]
Further, the display control device may be built in the image data generation device. In this case, the display control device may use storage means provided in the image data generation device together. That is, the display control device is configured to include the first and second array conversion means and the storage means already provided in the image data generation device. The display control device may include an array converter including first and second array converters. For example, the array converter can be realized by one integrated circuit.
[0036]
Specifically, the array converter may be a video chip provided on a video card connected to a computer for generating an image or a video chip provided on a motherboard of the computer. In this case, by utilizing the existing storage means on the video card and the motherboard, it is not necessary to provide a separate storage means in the array converter, and the array converter can be realized at low cost.
[0037]
Further, for example, the display control device may be built in the display device. When the arrangement state detection means for detecting the arrangement state of the display device is provided in the display device, the display control device obtains the arrangement state of the display device detected by the arrangement state detection means and provides an array of image data to be provided to the display device. Perform the conversion. Since the display control device is built in the display device, the arrangement state of the display device detected by the arrangement state detecting means can be easily acquired. Further, the arrangement state detecting means can surely detect the arrangement state of the display device when provided on the display device, as compared with the case where it is provided outside the display device.
[0038]
Further, according to the present invention, there is provided a display device which can be arranged in a first and a second arrangement state in which the vertical and horizontal directions are opposite to each other, the image comprising a plurality of pixel data arranged in a matrix in the main scanning direction and the sub-scanning direction of the display device. The first image arranged in conformity with the first arrangement state so that the data is provided and displayed, and the image is displayed in the same orientation in any of the first and second arrangement states. Given the data,
When adapting the image data to the display device in the first arrangement state, the first image data is directly provided to the display device without changing the arrangement position of the pixel data,
When the image data is adapted to the display device in the second arrangement state, the arrangement position of the pixel data in the main scanning direction and the sub-scanning direction is predetermined so that the first image data conforms to the second arrangement state. A display control device for converting the second image data changed according to
Storage means for writing and reading data in a predetermined data amount unit;
M × N (M + N> 2, where M and N) of the input first image data arranged in the main scanning direction and N in the sub-scanning direction among the input first image data in accordance with a matrix order predetermined in units of the pixel data. Is divided into data amount units in the storage means, and the divided data is written by designating the address of the storage means, whereby intermediate image data is obtained. A first array conversion means for generating
Assuming that the input first image data is virtual matrix data composed of a plurality of the pixel data groups, the arrangement position of each pixel data group constituting the virtual matrix data is converted according to the predetermined rule. Assuming the obtained virtual conversion matrix data, the address specified when writing the data is such that when the data is read in the address order, the arrangement order of the pixel data group corresponding to the read data is the virtual conversion matrix. First array conversion means which is an address in a matrix order in the data;
The data is read out from the storage unit in the unit of the address according to the address order, restored to M × N pixel data to be restored, and the arrangement position of each pixel data constituting the pixel data group is converted according to the predetermined rule. And a second array conversion unit for generating the second image data by outputting the restored pixel data in a matrix order.
[0039]
According to the present invention, first image data arranged in conformity with the first arrangement state is provided, and when adapting the first image data to the display device in the first arrangement state, the first image data is When the first image data is applied to the display device as it is and the first image data is adapted to the display device in the second arrangement state, the first image data is converted into the second image data conforming to the second arrangement state and is applied to the display device. .
[0040]
When converting the first image data into the second image data, when a plurality of pixel data constituting the image data is input in pixel data units in accordance with a predetermined matrix order, the first array data is input by the first array conversion unit. A pixel data group consisting of a predetermined number of pixel data in which the image data is arranged in a matrix direction is divided into data amount units when writing and reading data to and from the storage means. The divided data is sequentially written to the designated addresses of the storage means, and intermediate image data is created.
[0041]
The addresses sequentially specified at the time of writing are specified according to a predetermined rule. More specifically, first, the input image data is divided into the pixel data groups, and the pixel data groups are considered as one element of a matrix, and a virtual matrix data in which a plurality of the pixel data groups are arranged in a matrix. Is assumed. Further, virtual conversion matrix data obtained by converting the arrangement position of a plurality of pixel data groups constituting the virtual matrix data in accordance with the predetermined rule is assumed. The above-mentioned predetermined rule means that when data is read from the storage means in the order of addresses, for example, in the order of sequentially increasing addresses, the arrangement order of the pixel data group corresponding to the read data is the same as that in the above-mentioned virtual transformation matrix data. This is to specify an address in a matrix order. Intermediate image data created by writing data by designating such an address corresponds to the above-described virtual conversion matrix data.
[0042]
The data written in the storage means by the first array conversion means as described above is read by the second array conversion means in the order of addresses in units of data amount. The read data is restored to the pixel data after the data of the pixel data to be restored is completed. Further, after all the pixel data included in the pixel data group are collected, the pixel data group is formed, and the arrangement position of each pixel data forming the pixel data group is converted according to the predetermined rule. This is because, at the stage of writing to the storage means, the arrangement position of each pixel data group has been converted, but the arrangement position of each pixel data within the pixel data group has not been converted. As described above, after the arrangement position in the pixel data group is converted, the restored pixel data is output in a matrix order. Thereby, the converted image data can be created.
[0043]
For example, the matrix order means that when m data are arranged in the main scanning direction and n data are arranged in the sub-scanning direction, the i-th data in the main scanning direction and the j-th data in the sub-scanning direction are x (i, j). The data x (i, j) is x (1,1), x (2,1), x (m-1,1), x (m, 1), x (1,2), x (2 , 2)..., X (m−1, n), x (m, n), proceed from one to the other along the row direction of a certain row, then move one step in the column direction, and move to the next row. The order is from one to the other along the row direction.
[0044]
The first array conversion unit divides the image data group into data amount units in which the storage unit writes and reads data, and writes the data to the storage unit with the divided data. The amount of data that can be stored in each storage area and the amount of data to be stored can be made equal, and an empty area in which no data is stored can be eliminated for each storage area. Thus, the amount of data that can be stored can be increased with respect to the limited storage capacity of the storage unit.
[0045]
The data amount unit in the storage means is composed of a plurality of bits, and is a so-called word. The number of bits constituting the word is an arbitrary number and is determined in consideration of, for example, the configuration of the storage means and the data transfer rate.
[0046]
Further, since the data is written with the address specified so as to be read in accordance with the address order of the storage means, when reading the data from the storage means, the data can be read out in order of the address.
[0047]
Further, since the first array conversion unit and the second array conversion unit are realized by hardware, the conversion operation of the input image data can be performed more stably and at higher speed than software.
[0048]
The display control device converts the input image data in accordance with a predetermined rule as described above, so that the input image data is arranged in the row direction and the column direction of the pixel data with respect to the input first image data. Can be created as the second image data in which the angle is shifted by 90 degrees. Accordingly, when the display device in the first display state is angularly displaced by 90 degrees in one of the angular displacement directions relative to a viewer who views the display device, the angular displacement direction is 90 degrees in the other direction with respect to the first image data. By converting the second image data so as to be angularly displaced, an image suitable for the second arrangement state can be displayed on the display device even when the display device is in the second arrangement state.
[0049]
Further, the present invention is characterized in that the reading of data from the storage means by the second array conversion means is a burst read transfer in which data of a data amount unit in the storage means is continuously read in a predetermined number. I do.
[0050]
According to the present invention, data is read out from the storage means in a predetermined number of consecutive times, so that the time spent reading data from the storage means can be shortened, and the processing amount per unit time can be increased. .
[0051]
Further, in the present invention, the first array conversion unit compares the first image data input earlier and the first image data input later with respect to the first image data sequentially input, The image processing apparatus further includes a comparing unit that extracts data of the changed image portion from the first image data that is input later and writes the data of the changed image portion to the storage unit.
[0052]
According to the present invention, the pixel data of the changed image portion is compared by the comparing means for comparing the first image data input earlier and the first image data input later, and The pixel data of the portion is written into the storage means. The first image data input later can be formed only by changing the pixel data of the changed image portion, and it is not necessary to write all the pixel data constituting the image data into the storage means. As a result, the amount of data written to the storage means can be reduced.
[0053]
Also, in the present invention, the comparing unit generates an identification code by extracting a characteristic part between the first image data input first and the first image data input later, and It is characterized in that the identification codes of the first image data and the first image data input later are compared with each other.
[0054]
According to the present invention, the first image data input first and the first image data input later are compared by the identification code representing the feature of the first image data. Compared with the case of direct comparison, the data amount can be reduced, and the data can be compared in a shorter time.
[0055]
Further, the present invention is a data array conversion method for creating conversion set data based on set data in which a plurality of individual data are arranged in a matrix and converting the arrangement position of the individual data according to a predetermined rule. hand,
In a storage unit in which data is written and read in a predetermined data amount unit, set data input according to a predetermined matrix order in the individual data unit is divided into the data amount units in the storage unit, A first array conversion step of creating intermediate data by writing data by designating an address of the storage means,
Assuming that the input set data is virtual matrix data composed of a plurality of individual data groups each composed of a predetermined number of individual data arranged in the matrix direction, the arrangement position of each individual data group constituting this virtual matrix data is determined in advance by the aforementioned Assuming virtual conversion matrix data obtained by conversion in accordance with a prescribed rule, when data is written, the address specified is, when data is read in accordance with the address order, the read data corresponds to the arrangement order of the corresponding individual data group. Is a first array conversion step in which the addresses are in a matrix order in the virtual conversion matrix data;
The data is read out in units of the data amount in accordance with the address order from the storage means, and after the data for the individual data to be restored is completed, the data is restored to the individual data. After the individual data included in the individual data group are all collected, the individual data is restored. A group is formed, and the arrangement position of each individual data constituting this individual data group is converted according to the predetermined rule, and then the converted individual data is output in a matrix order. 2. A data array conversion method characterized by comprising two array conversion steps.
[0056]
According to the present invention, when a plurality of individual data constituting the set data are input in individual data units according to a predetermined matrix order, the input individual data is stored in the storage means by the first array conversion step. It is divided into data amount units when writing and reading data. The divided data is sequentially written to addresses specified by the storage means, and intermediate data, which is a group of data divided in the storage means, is created.
[0057]
The addresses sequentially specified at the time of writing are specified according to a predetermined rule. Specifically, first, the input set data is divided into individual data groups each including a predetermined number of individual data arranged in a matrix direction, and this individual data group is considered as one element of a matrix. It is assumed that virtual matrix data is arranged in a matrix. Further, it is assumed that virtual conversion matrix data obtained by converting the arrangement positions of a plurality of individual data groups constituting the virtual matrix data in accordance with the above-described predetermined rule. The above-mentioned predetermined rule means that, when data is read from the storage means in the order of addresses, for example, in the order of sequentially increasing addresses, the arrangement order of the individual data groups corresponding to the read data is the same as that in the virtual conversion matrix data. This is to specify an address in a matrix order. Intermediate data created by writing data by specifying such an address corresponds to the above-described virtual conversion matrix data.
[0058]
The data written in the storage means in the first array conversion step as described above is read out in address order in the second array conversion step in units of data amount. The read data is restored to the individual data after the data for the individual data to be restored is completed. Further, after all the individual data included in the individual data group are prepared, the individual data group is formed, and the arrangement position of each individual data constituting the individual data group is converted according to the predetermined rule. This is because, at the stage of writing to the storage means, the arrangement position of each individual data group has been converted, but the arrangement position of each individual data within the individual data group has not been converted. As described above, after the arrangement position in the individual data group is converted, the restored individual data is output in matrix order. As a result, the conversion set data can be created.
[0059]
For example, the matrix order means that when m data are arranged in the row direction and n data are arranged in the column direction, the data x (i, j) is defined as x (i, j), i-th data in the row direction and j-th data in the column direction. , J) are x (1,1), x (2,1), x (m-1, 1), x (m, 1), x (1,2), x (2,2) ... , X (m-1, n), x (m, n), proceed from one side to the other along the row direction of a certain row, then move one step in the column direction, and move along the row direction for the next row. In order from one to the other.
[0060]
In the first array conversion step, the aggregate data is divided into data amount units when writing and reading data to and from the storage means, and data is written to the storage means with the divided data. This makes it possible to make the data capacity of the storage area corresponding to each address of the storage means equal to the data amount of the data to be stored, eliminate the empty area where no data is stored for each storage area, and replace the storage area with data. Can be filled. Thus, the amount of data that can be stored can be increased with respect to the limited storage capacity of the storage unit.
[0061]
Since the data divided into the data amount units has no correlation with the data amount of the individual data and the individual data group, the data amount of the individual data and the individual data group and the data amount unit in the storage means can be arbitrarily selected. can do. Thereby, the data amount of the individual data and the individual data group can be set irrespective of the storage means in accordance with productivity and economy.
[0062]
In the data array conversion method, since an address is specified for each data segmented in data amount units, the number of times of specifying an address can be reduced as compared with a case where an address is specified for each individual data. Further, since data is written by designating an address so as to be read in accordance with the address order of the storage means, when reading data from the storage means, data can be read out in order of address.
[0063]
Further, by realizing the first array conversion step and the second array conversion step by hardware, the conversion operation of the input image data can be performed more stably and faster than software.
[0064]
In the present invention, in the first array conversion step, the set data sequentially input is compared with the set data input first and the set data input later, and a change is made among the set data input later. A comparing step of extracting data of the changed portion and writing data of the changed portion to the storage means.
[0065]
According to the present invention, by providing a comparison step of comparing the previously input set data with the later input set data, the individual data of the changed portion is compared, and the individual data of the changed portion is compared. Write to storage means. By simply changing only the individual data of the changed portion, it is possible to form the collective data which is input later, and it is not necessary to write all the individual data constituting the collective data into the storage means. As a result, the amount of data written to the storage means can be reduced.
Further, in the present invention, in the comparing step, an identification code is generated by extracting a characteristic portion between the previously input set data and the later input set data, and the first input set data and the later input set data are generated. It is characterized in that the identification codes of the set data are compared.
[0066]
According to the present invention, the previously input set data and the subsequently input set data are compared by the identification code representing the characteristic of the set data, so that the data amount is reduced as compared with the case of directly comparing the set data. The data can be reduced, and data can be compared in a shorter time.
[0067]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a block diagram illustrating a configuration of a
[0068]
The
[0069]
The image
[0070]
The
[0071]
For example, as shown in FIG. 2A, when the
[0072]
Further, as shown in FIG. 2B, when the
[0073]
Specifically, the arrangement position is converted so that the order in which the
[0074]
FIG. 3 is a schematic diagram for explaining conversion of image data. As shown in FIG. 3A, a plurality of pixel data groups A to L each including a predetermined number of
[0075]
Further, as shown in FIG. 3B, the order in which the pixel data groups A to L constituting the
[0076]
When the second image data is displaced by 90 degrees counterclockwise with respect to the first image data, first, the
[0077]
For example, when the
[0078]
In the
[0079]
FIG. 4 is a schematic diagram for explaining the conversion of the arrangement position of each pixel data constituting the pixel data group. In a pixel data group consisting of t pixel data in the main scanning direction and u pixel data in the sub-scanning direction, the I-th pixel data RIJ from the upstream in the main scanning direction and the J-th pixel data RIJ from the upstream in the sub-scanning direction, Rearranged to the J-th position SJ (t + 1-I) from the upstream side and the (t + 1-I) -th position from the upstream side in the sub-scanning direction.
[0080]
By performing such conversion of the arrangement position of the pixel data group for each of the pixel data groups A to L constituting the virtual conversion matrix data shown in FIG. 3 (2), the first position shown in FIG. The image data can be converted into second image data in which the arrangement position of each pixel data is reversed in the main scanning direction X and the sub-scanning direction Y.
[0081]
FIG. 5 is a schematic diagram for explaining a data write order and a data read order. From the
[0082]
The predetermined matrix order is, for example, when data is arranged in m pieces in the main scanning direction and n pieces in the sub-scanning direction, i-th data in the main scanning direction and j-th data in the sub-scanning direction are x (i, j). , Data x (i, j) are x (1, 1), x (2, 1), x (m−1, 1), x (m, 1), x (1, 2), x ( 2, 2)..., X (m−1, n), x (m, n). After moving from one side to the other along the row direction of a certain row, move one step in the column direction. This is the order in which the next row goes from one to the other along the row direction.
[0083]
For example, when the first pixel data group A to the twelfth pixel data group L are
[0084]
When creating virtual
[0085]
Specifically, as shown in FIG. 5B, the
[0086]
In this manner, the pixel data groups A to L are read out in accordance with the designated reading order, and the pixel data groups A to L are arranged in a matrix of n in the main scanning direction and m in the sub scanning direction. By arranging the pixel data groups A to L according to the order, the virtual
[0087]
The
[0088]
As shown in FIG. 1, the
[0089]
The
[0090]
The
[0091]
In this embodiment, four
[0092]
In the present embodiment, two
[0093]
The first
[0094]
The
[0095]
FIG. 6 is a schematic diagram showing the
[0096]
For example, the maximum data amount that can be stored in the
[0097]
In this case, the
[0098]
When the memory width data is read out in the order of addresses of the
[0099]
The
[0100]
Further, the
[0101]
FIG. 7 is a schematic diagram showing the array conversion of the
[0102]
The
[0103]
For example, when memory width data is sequentially read out to restore two pixel data in the main scanning direction X and four pixel data in the sub scanning direction Y, two 2 × 2 pixels in the main scanning direction X and two in the sub scanning direction Y are used. Two rotated pixel data groups are created, the arrangement position of each pixel data constituting the rotated pixel data group is converted, and each pixel data whose array position is converted is sequentially provided to the
[0104]
FIG. 8 is a flowchart showing a procedure for storing the memory width data in the
[0105]
In step a1, the plurality of
[0106]
In step a2, the
[0107]
In step a3, the
[0108]
In step a4, as shown in FIG. 11, the
[0109]
In step a5, the
[0110]
In step a6, it is determined whether or not storage of the plurality of memory width data corresponding to the extracted pixel data group in the minimum storage unit is completed, and the minimum storage of the plurality of memory width data corresponding to the extracted pixel data group is determined. If the storage in the section has not been completed, the process proceeds to step a4, where the next memory width data is divided from the plurality of pixel data constituting the extracted pixel data group, and steps a5 to a6 are repeated. If it is determined in step a6 that the number of storages in the
[0111]
In step a7, it is determined whether or not the number of times of extracting a plurality of pixel data constituting the plurality of pixel data groups from the
[0112]
In step a8, it is determined whether or not the memory width data corresponding to the first image data has been stored in the
[0113]
In step a9, the
[0114]
FIG. 12 is a flowchart showing a procedure for reading each pixel data group from the
[0115]
First, when the intermediate image data is created in the
[0116]
In step b3, when the plurality of pixel data forming the pixel data group is restored, the
[0117]
In step b4, the plurality of pixel data whose array positions have been converted in step b3 are written in the
[0118]
In step b6, the pixel data written in the
[0119]
The first
[0120]
FIG. 15 is a logic circuit diagram showing the
[0121]
The
[0122]
The
[0123]
FIG. 16 is a table showing a truth table of the selector. The selector receives two data signals and a data select signal designating which of the two data signals is to be selected, and outputs one of the two data signals according to the data select signal. . For example, when the data select signal is HIGH, one data signal input from the HIGH input terminal is output, and when the data select signal is LOW, the other data signal input from the LOW input terminal is output. You.
[0124]
FIG. 17 is a logic circuit diagram showing a part of the
[0125]
The
[0126]
The pixel data signal PIX is input to the first flip-
[0127]
The data signal output from the
[0128]
The data signal output from the
[0129]
The input data valid / invalid signal SEL is input to the fifth flip-
[0130]
The other data signal output from the sixth flip-
[0131]
As shown in FIG. 18, the memory width data signal MEM represents output data output from each of the
[0132]
Out of the memory width data signals MEM to be output, the output data valid / invalid signal DEN makes the output memory width data signals MEM valid every other one, so that the two pixels before and after the pixel data group sent in order are output. Pixel data can be combined and converted as one memory width data. Similarly, when a plurality of pieces of pixel data are input at the same time as shown in FIG. 15, two pieces of pixel data before and after sequentially sent for each piece of pixel data can be collectively converted to one memory width data.
[0133]
As shown in FIG. 15, the
[0134]
The data signal output from the
[0135]
The signal output from the second selector 46b and the signal output from the
[0136]
FIG. 19 is a timing chart of the logic circuit diagram in FIG. With the above-described circuit configuration, a data signal in which the base address signal LD is multiplied by the missing address signal DIF is output every time the output data valid / invalid signal DEN becomes HIGH. The addresses of the minimum storage units separated by a predetermined interval from the addresses of the predetermined minimum storage units are set in order in the order of the memory width data output thereby.
[0137]
As described above, the pixel data is converted into the memory width data by the
[0138]
FIG. 20 is a logic circuit diagram showing the
[0139]
The
[0140]
When the I-th pixel from the upstream side in the main scanning direction and the J-th pixel from the upstream side in the sub-scanning direction are represented by RIJ, the pixel arrangement represented by R11 is the first pixel position, and the pixel arrangement represented by R12 is the second pixel position. If the pixel arrangement represented by R21 is a third pixel position and the pixel arrangement represented by R22 is a fourth pixel position, pixel data PIX10 to PIX13 representing a pixel at each pixel position are The arrangement position is changed by the
[0141]
The pixel data output from the
[0142]
For example, the pixel data PIX10 representing the first pixel (1) at the first pixel position is input to the HIGH-side input terminal of the
[0143]
[Table 1]
[0144]
Table 1 is a table showing a pixel position when the pixel position of each pixel is converted. As shown in Table 1 and FIG. 21, when the data select signal is HIGH, the pixel array can be displaced by 90 degrees counterclockwise, and when the data select signal is LOW, the pixel array is clockwise. It can be angularly displaced 90 degrees around. Although detailed description is omitted, the
[0145]
As described above, according to the
[0146]
When the
[0147]
The predetermined rule is that, for example, when the display position is displaced by 90 degrees clockwise, of the pixel group divided into m in the main scanning direction, the i-th pixel group from the upstream side in the main scanning direction and the upstream side in the sub-scanning direction Of the pixel group at the j-th position Pij is set to the j-th position from the upstream in the main scanning direction and the (m + 1-i) -th position Qj (m + 1-i) from the upstream in the sub-scanning direction. Thereby, the arrangement of the pixels can be angularly displaced by 90 degrees counterclockwise, and the image displayed on the
[0148]
Further, since the first and second
[0149]
When writing a plurality of pixel data corresponding to the pixel data group into the
[0150]
When each pixel data is stored in the minimum storage unit of the
[0151]
Further, since the memory width data is written at a predetermined address of the
[0152]
Further, the time spent for data reading can be further reduced, and in software processing, a moving image or the like in which images are sequentially switched in real time, which is burdensome to display, can be displayed stably and at high speed.
[0153]
The 2 × 2 rotated pixel data group is the minimum unit for angular displacement and is performed in units of pixel data, so that it can be realized with a simpler configuration and the processing speed can be increased. In addition, there is no correlation between image data units between the address control processing for controlling the address for storing the pixel data group and the processing for rotating each pixel data constituting the rotated pixel data group, and the processing can be performed independently. . This eliminates the limitation on the storage means used as the
[0154]
Further, by extracting from the input line memory 14 a pixel data group set in accordance with the number of the
[0155]
Further, the memory width in the
[0156]
The above description is merely an embodiment of the present invention, and the configuration can be changed within the scope of the invention. Since the
[0157]
By performing the data array conversion, the conversion of the data array can be performed stably and at high speed, and the converted intermediate image data can be effectively stored without waste in the capacity of the storage means for storing the intermediate image data. For example, not only image display but also image formation such as printing can form an image that is vertically and horizontally reversed.
[0158]
In the above-described embodiment, the first image data is angularly displaced by 90 degrees counterclockwise, but the first image data may be angularly displaced by 90 degrees clockwise with respect to the first image data. When the first image data is angularly displaced 90 degrees clockwise, among the pixel data groups divided into n pieces in the sub-scanning direction in the first image, the i-th pixel data group from the upstream side in the main scanning direction and the sub-scanning direction The arrangement of the pixel group at the j-th position Pij from the upstream side is rearranged to the (n + 1-j) -th Q (n + 1-j) i from the upstream side in the main scanning direction and the i-th Q (n + 1-j) i from the upstream side in the sub-scanning direction. Create image data.
[0159]
Further, assuming that a pixel data group is a collection of t × u pixel data in which t pixel data groups are collected in the main scanning direction and u pixel data groups are collected in the sub-scanning direction, the arrangement of pixel data in the pixel data group is determined in the main scanning direction. The I-th pixel RIJ from the upstream in the sub-scanning direction and the J-th pixel RIJ from the upstream in the main scanning direction to the (t + 1-I) -th position SJ (t + 1-I) from the upstream in the sub-scanning direction. The arrangement position of the pixel data group is converted so as to be rearranged.
[0160]
In this case, in the first image data, among the pixel data groups divided into m pieces in the main scanning direction and n pieces in the sub-scanning direction, the x-th address is written in accordance with the writing order of the first image data. Is set to be stored in the storage unit read out z-th. However, if the integer term part which is the quotient of (x-1) / m is y, z is represented by {n (x-m-y) -y}.
[0161]
The
[0162]
FIG. 22 is a block diagram showing a
[0163]
The first array conversion unit 51 further includes a
[0164]
The identification
[0165]
The identification
[0166]
FIG. 23 is a flowchart showing a procedure when the comparing means 52 writes data to the
[0167]
In step c1, the comparing means 52 stores the previous identification code generated according to the memory width data corresponding to the first input image data by the identification
[0168]
In step c2, the first image sent from the
[0169]
In step c4, the comparison unit 55 compares the previous identification code read in step c2 with the identification code generated in step c3, and determines whether the two identification codes are the same. When the identification codes are the same, the process proceeds to step c6, and when the identification codes are different, the process proceeds to step c5.
[0170]
In step c5, the memory width data sent from the
[0171]
As described above, according to the
[0172]
In particular, application display screens such as Windows (registered trademark) have many stationary parts, and there are very few parts that actually require rewriting processing. Can be. In addition, since a general run-length method can express only the continuity of the same color, a more reliable identification code can be generated by generating an identification code by enlarging the same data stream.
[0173]
FIG. 24 is a front view showing a
[0174]
Specifically, an
[0175]
FIG. 25 is a block diagram showing an electrical configuration of the
[0176]
[0177]
The
[0178]
For example, the
[0179]
The vertical /
[0180]
The
[0181]
For example, as shown in FIG. 2A, when the
[0182]
Also, as shown in FIG. 2B, when the
[0183]
The vertical /
[0184]
The image data array conversion operation performed by the vertical /
[0185]
For example, since the array conversion of pixel data is realized by hardware composed of a logic circuit, the operation can be performed stably and at high speed without depending on the processing speed of software. Further, since the pixel data is converted in units of the memory width and stored in the
[0186]
When the pixel data is not converted into the memory width unit and the pixel data is stored one by one for each minimum storage unit of the
[0187]
Further, the
[0188]
The
[0189]
For example, when the
[0190]
FIG. 26 is a block diagram showing an electrical configuration of a
[0191]
A feature of the present embodiment is that the
[0192]
The
[0193]
The
[0194]
The
[0195]
The
[0196]
The
[0197]
The
[0198]
The
[0199]
The
[0200]
FIG. 27 is a block diagram showing an electrical configuration of the
[0201]
In brief, the drawing
[0202]
The drawing
[0203]
The
[0204]
After writing the intermediate pixel data for one screen to the
[0205]
The
[0206]
The
[0207]
The
[0208]
As described above, the
[0209]
For example, since the conversion of pixel data is realized by hardware constituted by a logic circuit, the operation can be performed stably and at high speed without depending on the processing speed of software. Further, since the pixel data is converted in units of the memory width and stored in the
[0210]
When the pixel data is not converted into the memory width unit and one pixel data is stored for each minimum storage unit of the
[0211]
Although the pixel data converted by the
[0212]
【The invention's effect】
According to the first aspect of the present invention, data is written in a predetermined address of the storage unit in the data unit of the data amount in the storage unit, so that the storable data amount is increased with respect to the limited storage capacity of the storage unit. be able to. When the individual data is stored in the storage unit without being converted into the data amount unit, an empty storage area in which the individual data is not stored occurs. In this case, the storage means needs to have a storage capacity larger than the data amount of a plurality of individual data to be stored in anticipation of an empty storage area. According to the present invention, the data can be stored without wasting the storage capacity of the storage means, so that a plurality of individual data to be stored using the storage means having a smaller storage capacity can be stored as compared with a case where the data is not converted into data amount units. Can be stored. As a result, a data array conversion device can be realized at low cost by using a storage unit having a small storage capacity.
[0213]
Also, the data amount of the data divided into data amount units is set independently of the data amount of the individual data and the individual data group without any correlation, so that the data amount of the data unit in the storage means is The data amount of the data and the individual data group can be arbitrarily selected. Conversely, it is possible to arbitrarily select the data amount in the data amount unit in the storage means with respect to the data amount of the individual data and the individual data group. Accordingly, when the data array conversion device is configured by hardware, the data amount of the individual data and the individual data group can be determined without depending on the data amount unit in the storage unit. As a result, hardware options can be increased, and an inexpensive configuration can be realized.
[0214]
In addition, by storing a plurality of individual data at a predetermined address of the storage unit in a unit of a combined data amount, the number of times of setting the address can be reduced and the address setting can be performed as compared with a case where the individual data is written at a predetermined address. Can be easier. Also, the set data can be read out in the order in which the addresses are arranged. Furthermore, since a data array conversion device can be realized by hardware, the array conversion operation of individual data can be performed more stably and at a higher speed than when data array conversion is performed by software.
[0215]
According to the present invention, the display control device converts the first image data so that the first image data adapted to the first arrangement state is adapted to the display device in the second arrangement state. I do.
[0216]
Since the display control device writes the data in units of data amount in the storage unit to a predetermined address of the storage unit, it is possible to increase the storable data amount with respect to the limited storage capacity of the storage unit. When the pixel data is stored in the storage unit without being converted into the data amount unit, an empty storage area in which the pixel data is not stored occurs. In this case, the storage means needs to have a storage capacity larger than the data amount of a plurality of pixel data to be stored in anticipation of an empty storage area. According to the present invention, since data can be stored without waste to the storage capacity of the storage means, a plurality of pixel data to be stored using the storage means having a smaller storage capacity can be stored as compared with a case where the data is not converted into data amount units. Can be stored. As a result, the display control device can be realized at low cost by using a storage unit having a small storage capacity.
[0219]
Further, the data amount of the data classified into the data amount unit is set without any correlation with the pixel data and the data amount of the pixel data group. The data amount of the data and the pixel data group can be arbitrarily selected. Conversely, it is possible to arbitrarily select a data amount in a data amount unit in the storage means with respect to the data amount of the pixel data and the pixel data group. Accordingly, when the display control device is configured by hardware, the data amount of the pixel data and the pixel data group can be determined without depending on the data amount unit in the storage unit. As a result, hardware options can be increased, and an inexpensive configuration can be realized.
[0218]
Further, by storing a plurality of pixel data at a predetermined address of the storage unit in a combined data amount unit, address setting can be performed by reducing the number of times of setting an address as compared with a case where writing is performed at a predetermined address for each pixel data. Can be easier. Also, the set data can be read out in the order in which the addresses are arranged. Further, since a data array conversion device can be realized by hardware, the array conversion operation of pixel data can be performed more stably and at a higher speed than when data array conversion is performed by software.
[0219]
This makes it possible to make the arrangement of images displayed on the display device the same regardless of whether the display device is in the first arrangement state or the second arrangement state, and to display images stably and at high speed. Can be.
[0220]
According to the third aspect of the present invention, the display control apparatus converts the first image data adapted to the first arrangement state to the display device in the second arrangement state. Convert.
[0221]
Since the display control device writes the data in units of data amount in the storage unit to a predetermined address of the storage unit, it is possible to increase the storable data amount with respect to the limited storage capacity of the storage unit. When the pixel data is stored in the storage unit without being converted into the data amount unit, an empty storage area in which the pixel data is not stored occurs. In this case, the storage means needs to have a storage capacity larger than the data amount of a plurality of pixel data to be stored in anticipation of an empty storage area. According to the present invention, since data can be stored without waste to the storage capacity of the storage means, a plurality of pixel data to be stored using the storage means having a smaller storage capacity can be stored as compared with a case where the data is not converted into data amount units. Can be stored. Thus, the display control device can be realized at low cost.
[0222]
Further, since the data amount of the data in the pixel data group unit is divided into data amount units in the storage means, and the divided data is written to and read from the storage means, it can be performed in the minimum data amount unit predetermined in the storage means. it can. Further, when the data is read from the storage means, the pixel data included in the pixel data group is already prepared, so that it is possible to eliminate the waiting time until the pixel data included in the pixel data group is completed, Array conversion by the array conversion unit can be easily performed.
[0223]
In addition, by storing a plurality of individual data in a predetermined address of the storage unit in a unit of a combined data amount, the number of times of setting the address can be reduced and the address setting can be performed as compared with a case where the pixel data is written at a predetermined address. Can be easier. Further, since a data array conversion device can be realized by hardware, the array conversion operation of pixel data can be performed more stably and at a higher speed than when data array conversion is performed by software.
[0224]
This makes it possible to make the arrangement of images displayed on the display device the same regardless of whether the display device is in the first arrangement state or the second arrangement state, and to display images stably and at high speed. Can be.
[0225]
According to the fourth aspect of the present invention, since data is read from the storage means by burst read transfer, the transfer efficiency can be increased and the overhead of page switching required for access to the storage means when writing and reading can be reduced. it can. As a result, the time spent for reading data can be further reduced.
[0226]
According to the fifth aspect of the present invention, the comparing means for comparing the first image data input first and the first image data input later compares the pixel data of the changed image portion. Then, the changed pixel data of the image portion is written into the storage means. The first image data input later can be formed only by changing the pixel data of the changed image portion, and it is not necessary to write all the pixel data constituting the image data into the storage means. As a result, the amount of data written to the storage means can be reduced. As a result, the amount of writing to the storage means can be reduced, the load on image processing can be reduced, and power consumption can be reduced. Further, even when displaying a moving image or the like, it can be displayed stably and at high speed.
[0227]
According to the sixth aspect of the present invention, the first image data input first and the first image data input later are compared by the identification code representing the feature of the first image data. As compared with the case where the first images are directly compared, the data amount can be reduced, and the data can be compared in a shorter time.
[0228]
According to the seventh aspect of the present invention, since the data is written into the predetermined address of the storage means in the unit of data amount in the storage means, the amount of data that can be stored is limited with respect to the limited storage capacity of the storage means. Can be increased. When the individual data is stored in the storage unit without being converted into the data amount unit, an empty storage area in which the individual data is not stored occurs. In this case, the storage means needs to have a storage capacity larger than the data amount of a plurality of individual data to be stored in anticipation of an empty storage area. According to the present invention, the data can be stored without wasting the storage capacity of the storage means, so that a plurality of individual data to be stored using the storage means having a smaller storage capacity can be stored as compared with a case where the data is not converted into data amount units. Can be stored.
[0229]
In addition, the data amount of the data divided into data amount units can be set independently of the data amount of the individual data and the individual data group without any correlation. Thereby, the data amount of the individual data and the individual data group can be arbitrarily selected with respect to the data amount of the data amount unit in the storage means. Conversely, it is possible to arbitrarily select the data amount in the data amount unit in the storage means with respect to the data amount of the individual data and the individual data group. Accordingly, when the data array conversion device is configured by hardware, the data amount of the individual data and the individual data group can be determined without depending on the data amount unit in the storage unit. As a result, hardware options can be increased, and an inexpensive configuration can be realized.
[0230]
Also, as compared with the case of writing at a predetermined address for each individual data, the number of times of setting the address can be reduced and the address setting can be facilitated. Also, the set data can be read out according to the order in which the addresses are arranged. Furthermore, since a data array conversion device can be realized by hardware, the array conversion operation of individual data can be performed more stably and at a higher speed than when data array conversion is performed by software.
[0231]
According to the present invention, a comparison step of comparing previously input set data with later input set data is provided, so that individual data of a changed portion of the set data is compared. Then, the individual data of the changed portion is written to the storage means. By simply changing only the individual data of the changed portion, it is possible to form the collective data input later, and it is not necessary to write all the individual data constituting the collective data in the storage means. As a result, the amount of data written to the storage means can be reduced. As a result, the amount of writing to the storage means can be reduced, the load on data array conversion can be reduced, and power consumption can be reduced. Further, even when the data array is frequently changed, it is possible to perform stable and high-speed display.
[0232]
According to the ninth aspect of the present invention, the first input data and the second input data are compared by the identification code representing the feature of the set data. In comparison, the data amount can be reduced, and the data can be compared in a shorter time.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a
FIG. 2 is a schematic diagram showing a relationship between a
FIG. 3 is a schematic diagram for explaining conversion of image data.
FIG. 4 is a schematic diagram for explaining conversion of an array position of each pixel data forming a pixel data group.
FIG. 5 is a schematic diagram for explaining a data write order and a data read order.
FIG. 6 is a schematic diagram showing a
FIG. 7 is a schematic diagram showing an array conversion of a
FIG. 8 is a flowchart showing a procedure for storing memory width data in a
FIG. 9 is a schematic diagram for explaining a procedure for storing intermediate image data.
FIG. 10 is a schematic diagram for explaining a procedure when storing intermediate image data.
FIG. 11 is a schematic diagram for explaining a procedure for storing intermediate image data.
FIG. 12 is a flowchart showing a procedure for reading each pixel data group from the
FIG. 13 is a schematic diagram for explaining a procedure when giving image data to a display device.
FIG. 14 is a schematic diagram for explaining a procedure when giving image data to a display device.
FIG. 15 is a logic circuit diagram showing an
FIG. 16 is a table showing a truth table of a selector.
FIG. 17 is a logic circuit diagram showing a part of a
18 is a timing chart of the logic circuit diagram in FIG. 17;
19 is a timing chart of the logic circuit diagram in FIG.
20 is a logic circuit diagram showing a
21 is a diagram showing an arrangement conversion of pixel data by the logic circuit shown in FIG. 20;
FIG. 22 is a block diagram showing a
FIG. 23 is a flowchart showing a procedure when the comparing
FIG. 24 is a front view showing a
FIG. 25 is a block diagram showing an electrical configuration of the
FIG. 26 is a block diagram showing an electrical configuration of a
FIG. 27 is a block diagram showing an electrical configuration of an
[Explanation of symbols]
1,50,60,70 Display control device
2 Image data generation device
3 Display device
11 Frame memory
12 First array conversion unit
13 Second array conversion unit
14 Input line memory
15 Output line memory
16 First acquisition unit
17 Address control unit
18 Memory controller
19 Second acquisition unit
20 Local rotating part
30 storage
31, 32, 33 Minimum storage unit
100 virtual matrix data
101 Virtual transformation matrix data
102 pixel data
Claims (9)
予め定めるデータ量単位でデータの書込みおよび読出しが行なわれる記憶手段と、
前記個別データ単位で予め定める行列順序に従って入力された集合データを、前記記憶手段における前記データ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって中間データを作成する第1の配列変換手段であって、
入力される集合データを行列方向に並ぶ予め定める数の個別データから成る複数の個別データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順に従って読出したとき、読出されるデータが対応する個別データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき個別データ分のデータがそろってから個別データに復元し、さらに個別データ群に含まれる個別データがすべてそろってから個別データ群を構成し、この個別データ群を構成する各個別データの配列位置を、前記予め定める規則に従って変換してから、復元した個別データを行列順序で出力することによって前記変換集合データを作成する第2の配列変換手段とを備えることを特徴とするデータ配列変換装置。A data array conversion device for creating conversion set data based on set data obtained by arranging a plurality of individual data in a matrix, according to a predetermined rule for an arrangement position of the individual data,
Storage means for writing and reading data in a predetermined data amount unit;
Collective data input according to a matrix order determined in advance in the individual data unit is divided into the data amount units in the storage unit, and the divided data is written by designating the address of the storage unit to write intermediate data. A first array conversion unit to be created,
Assuming that the input set data is virtual matrix data composed of a plurality of individual data groups each composed of a predetermined number of individual data arranged in the matrix direction, the arrangement position of each individual data group constituting this virtual matrix data is determined in advance by the aforementioned Assuming virtual conversion matrix data obtained by conversion in accordance with a prescribed rule, when data is written, the address specified is, when data is read in accordance with the address order, the read data corresponds to the arrangement order of the corresponding individual data group. Is a first array conversion means is an address in the matrix order in the virtual conversion matrix data,
The data is read out in units of the data amount from the storage means in accordance with the address order, and after the data for the individual data to be restored is collected, the data is restored to the individual data. Forming a group, converting the arrangement position of each individual data constituting this individual data group according to the predetermined rule, and then outputting the restored individual data in a matrix order to create the conversion set data. 2. A data array conversion device comprising: a second array conversion unit.
第1配置状態の前記表示デバイスに画像データを適合させるときは、画素データの配列位置を変更することなく第1の画像データをそのまま前記表示デバイスに与え、
第2配置状態の前記表示デバイスに画像データを適合させるときは、第1の画像データを第2配置状態に適合するように画素データの主走査方向および副走査方向の配列位置を予め定められる規則に従って変更した第2の画像データに変換して前記表示デバイスに与える表示制御装置であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行われる記憶手段と、
前記画素データ単位で予め定める行列順序に従って、入力された第1の画像データを前記記憶手段におけるデータ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって、中間画像データを作成する第1の配列変換手段であって、
入力される第1の画像データを、主走査方向にM個並び、副走査方向にN個並ぶM×N(M+N>2、ただしMおよびNは自然数)個の画素データから成る複数の画素データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各画素データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順で読出したとき、読出されるデータが対応する画素データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき画素データ分のデータがそろってから画素データに復元し、さらに画素データ群に含まれる画素データがすべてそろってから、画素データ群を構成し、この画素データ群を構成する各画素データの配列位置を、前記予め定める規則に従って変換してから、復元した画素データを行列順序で出力することによって前記第2の画像データを作成する第2の配列変換手段とを備えることを特徴とする表示制御装置。A display device that can be arranged in the first and second arrangement states in which the vertical and horizontal directions are reversed is provided with image data composed of a plurality of pixel data arranged in a matrix according to the main scanning direction and the sub-scanning direction of the display device. In addition, the first image data arranged in conformity with the first arrangement state is provided so that the image is displayed in the same direction regardless of the arrangement state of the first and second arrangement states. If
When adapting the image data to the display device in the first arrangement state, the first image data is directly provided to the display device without changing the arrangement position of the pixel data,
When the image data is adapted to the display device in the second arrangement state, the arrangement position of the pixel data in the main scanning direction and the sub-scanning direction is predetermined so that the first image data conforms to the second arrangement state. A display control device for converting the second image data changed according to
Storage means for writing and reading data in a predetermined data amount unit;
By dividing the input first image data into data amount units in the storage unit according to a predetermined matrix order in the pixel data unit, and writing the divided data by designating the address of the storage unit, A first array conversion unit for generating intermediate image data,
A plurality of pixel data composed of M × N (M + N> 2, where M and N are natural numbers) pixel data in which M pieces of input first image data are arranged in the main scanning direction and N pieces in the sub-scanning direction. Assuming virtual matrix data consisting of groups, and assuming virtual transformation matrix data obtained by converting the array position of each pixel data group constituting the virtual matrix data according to the predetermined rule, when writing data Is an address such that when the data is read in the order of addresses, the arrangement order of the pixel data groups corresponding to the read data is the matrix order in the virtual transformation matrix data. Means,
The data is read out in units of the data amount in accordance with the address order from the storage means, and after the data for the pixel data to be restored is collected, the data is restored to the pixel data. A data group is formed, the arrangement position of each pixel data forming the pixel data group is converted according to the predetermined rule, and then the restored pixel data is output in a matrix order. A display control device comprising: a second array conversion unit that creates the array.
第1配置状態の前記表示デバイスに画像データを適合させるときは、画素データの配列位置を変更することなく第1の画像データをそのまま前記表示デバイスに与え、
第2配置状態の前記表示デバイスに画像データを適合させるときは、第1の画像データを第2配置状態に適合するように画素データの主走査方向および副走査方向の配列位置を予め定められる規則に従って変更した第2の画像データに変換して前記表示デバイスに与える表示制御装置であって、
予め定めるデータ量単位でデータの書込みおよび読出しが行われる記憶手段と、
前記画素データ単位で予め定められる行列順序に従って、入力された第1の画像データのうち、主走査方向にM個並び、副走査方向にN個並ぶM×N(M+N>2、ただしMおよびNは自然数)個の画素データから成る画素データ群単位のデータを、前記記憶手段におけるデータ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって、中間画像データを作成する第1の配列変換手段であって、
入力される第1の画像データを、複数の前記画素データ群から成る仮想行列データと仮定し、この仮想行列データを構成する前記各画素データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順で読出したとき、読出されるデータが対応する画素データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換手段と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべきM×N個の画素データに復元し、画素データ群を構成する各画素データの配列位置を、前記予め定める規則に従って変換してから、復元した画素データを行列順序で出力することによって前記第2の画像データを作成する第2の配列変換手段とを備えることを特徴とする表示制御装置。A display device that can be arranged in the first and second arrangement states in which the vertical and horizontal directions are reversed is provided with image data composed of a plurality of pixel data arranged in a matrix according to the main scanning direction and the sub-scanning direction of the display device. In addition, the first image data arranged in conformity with the first arrangement state is provided so that the image is displayed in the same direction regardless of the arrangement state of the first and second arrangement states. If
When adapting the image data to the display device in the first arrangement state, the first image data is directly provided to the display device without changing the arrangement position of the pixel data,
When the image data is adapted to the display device in the second arrangement state, the arrangement position of the pixel data in the main scanning direction and the sub-scanning direction is predetermined so that the first image data conforms to the second arrangement state. A display control device for converting the second image data changed according to
Storage means for writing and reading data in a predetermined data amount unit;
M × N (M + N> 2, where M and N) of the input first image data arranged in the main scanning direction and N in the sub-scanning direction among the input first image data in accordance with a matrix order predetermined in units of the pixel data. Is divided into data amount units in the storage means, and the divided data is written by designating the address of the storage means, whereby intermediate image data is obtained. A first array conversion means for generating
Assuming that the input first image data is virtual matrix data composed of a plurality of the pixel data groups, the arrangement position of each pixel data group constituting the virtual matrix data is converted according to the predetermined rule. Assuming the obtained virtual conversion matrix data, the address specified when writing the data is such that when the data is read in the address order, the arrangement order of the pixel data group corresponding to the read data is the virtual conversion matrix. First array conversion means which is an address in a matrix order in the data;
The data is read out from the storage unit in the unit of the data amount in accordance with the address order, restored into M × N pixel data to be restored, and the arrangement position of each pixel data constituting the pixel data group is converted according to the predetermined rule. And a second array conversion unit for generating the second image data by outputting the restored pixel data in a matrix order.
予め定めるデータ量単位でデータの書込みおよび読出しが行なわれる記憶手段に、前記個別データ単位で予め定める行列順序に従って入力された集合データを、前記記憶手段における前記データ量単位に区分し、区分されたデータを前記記憶手段のアドレスを指定して書込むことによって中間データを作成する第1の配列変換工程であって、
入力される集合データを行列方向に並ぶ予め定める数の個別データから成る複数の個別データ群から成る仮想行列データと仮定し、この仮想行列データを構成する各個別データ群の配列位置を、前記予め定める規則に従って変換して得られる仮想変換行列データを仮定した場合、データを書込むときに指定するアドレスは、データをアドレス順に従って読出したとき、読出されるデータが対応する個別データ群の並び順が、前記仮想変換行列データにおける行列順序になるようなアドレスである第1の配列変換工程と、
前記記憶手段からアドレス順に従って前記データ量単位でデータを読出し、復元すべき個別データ分のデータがそろってから個別データに復元し、さらに個別データ群に含まれる個別データがすべてそろってから個別データ群を構成し、この個別データ群を構成する各個別データの配列位置を、前記予め定める規則に従って変換してから、復元した個別データを行列順序で出力することによって前記変換集合データを作成する第2の配列変換工程とを備えることを特徴とするデータ配列変換方法。A data array conversion method for creating conversion set data based on set data obtained by arranging a plurality of individual data in a matrix in accordance with a predetermined rule for an arrangement position of the individual data,
In a storage unit in which data is written and read in a predetermined data amount unit, set data input according to a predetermined matrix order in the individual data unit is divided into the data amount units in the storage unit, A first array conversion step of creating intermediate data by writing data by designating an address of the storage means,
Assuming that the input set data is virtual matrix data composed of a plurality of individual data groups each composed of a predetermined number of individual data arranged in the matrix direction, the arrangement position of each individual data group constituting this virtual matrix data is determined in advance by the aforementioned Assuming virtual conversion matrix data obtained by conversion in accordance with a prescribed rule, when data is written, the address specified is, when data is read in accordance with the address order, the read data corresponds to the arrangement order of the corresponding individual data group. Is a first array conversion step in which the addresses are in a matrix order in the virtual conversion matrix data;
The data is read out in units of the data amount from the storage means in accordance with the address order, and after the data for the individual data to be restored is collected, the data is restored to the individual data. Forming a group, converting the arrangement position of each individual data constituting this individual data group according to the predetermined rule, and then outputting the restored individual data in a matrix order to create the conversion set data. 2. A data array conversion method, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002294116A JP3818951B2 (en) | 2002-06-03 | 2002-10-07 | Data array conversion apparatus, display control apparatus using the same, and data array conversion method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002161930 | 2002-06-03 | ||
JP2002294116A JP3818951B2 (en) | 2002-06-03 | 2002-10-07 | Data array conversion apparatus, display control apparatus using the same, and data array conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004062130A true JP2004062130A (en) | 2004-02-26 |
JP3818951B2 JP3818951B2 (en) | 2006-09-06 |
Family
ID=31949269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002294116A Expired - Fee Related JP3818951B2 (en) | 2002-06-03 | 2002-10-07 | Data array conversion apparatus, display control apparatus using the same, and data array conversion method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3818951B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013516653A (en) * | 2010-01-06 | 2013-05-13 | クォルコム・メムズ・テクノロジーズ・インコーポレーテッド | How to detect changes in display data |
JP2019074559A (en) * | 2017-10-12 | 2019-05-16 | シャープ株式会社 | Image display system |
-
2002
- 2002-10-07 JP JP2002294116A patent/JP3818951B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013516653A (en) * | 2010-01-06 | 2013-05-13 | クォルコム・メムズ・テクノロジーズ・インコーポレーテッド | How to detect changes in display data |
JP2019074559A (en) * | 2017-10-12 | 2019-05-16 | シャープ株式会社 | Image display system |
Also Published As
Publication number | Publication date |
---|---|
JP3818951B2 (en) | 2006-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3976982A (en) | Apparatus for image manipulation | |
JP3645024B2 (en) | Drawing apparatus and drawing method | |
JP3681528B2 (en) | Graphic processor and data processing system | |
WO2011069235A1 (en) | Method and computing device for capturing screen images and for identifying screen image changes using a gpu | |
TWI315056B (en) | Block-based rotation of arbitrary-shaped images | |
JP4971442B2 (en) | Image processing apparatus and method for pixel data conversion | |
JPS62262188A (en) | Picture processor | |
JP2006330704A (en) | Video scaler having minimum size output memory and method for selecting output memory size | |
JP2004159330A (en) | Image processing apparatus and method for conversion between image data of raster scan order and image data of block scan order | |
US11055820B2 (en) | Methods, apparatus and processor for producing a higher resolution frame | |
JP3818951B2 (en) | Data array conversion apparatus, display control apparatus using the same, and data array conversion method | |
TW200304097A (en) | Memory access device, semiconductor device, memory access method and recording medium | |
JPH0934411A (en) | Image display device and liquid crystal display controller | |
US6670965B1 (en) | Single-pass warping engine | |
EP1308899A2 (en) | Image processing apparatus | |
US5745123A (en) | Method for resizing an image by a factor of two | |
JP3548648B2 (en) | Drawing apparatus and drawing method | |
US6489967B1 (en) | Image formation apparatus and image formation method | |
CN108696670A (en) | Tile reuse is carried out in imaging | |
CN110889799B (en) | Method, apparatus and processor for generating higher resolution frames | |
JP3971448B2 (en) | Drawing apparatus and drawing method | |
JP2006141001A (en) | Image processing apparatus reduced in power consumption and method | |
JPS62237581A (en) | Image processor | |
JP3247441B2 (en) | Image processing device | |
JP3934111B2 (en) | Drawing apparatus and drawing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050214 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060130 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060530 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060613 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 3818951 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100623 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110623 Year of fee payment: 5 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110623 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120623 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130623 Year of fee payment: 7 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130623 Year of fee payment: 7 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |