このページは 故 意 に 空 白 にしている



Similar documents
TS-3GA (Rel10)v Telecommunication management; File Transfer (FT) Integration Reference Point (IRP); Requirements

Application Guidelines for International Graduate Programs in Engineering

Procedures to file a request to the JPO for Patent Prosecution Highway Pilot Program between the JPO and the HPO

Grant Request Form. Request Form. (For continued projects)

Quality of. Leadership. Quality Students of Faculty. Infrastructure

Document and entity information

California Subject Examinations for Teachers

Request for Taxpayer Identification Number and Certification 納 税 者 番 号 および 宣 誓 の 依 頼 書

JAPAN PATENT OFFICE AS DESIGNATED (OR ELECTED) OFFICE CONTENTS

レッドハット 製 品 プライスリスト Red Hat Enterprise Linux2013 新 製 品 (ベースサブスクリプション) 更 新 :2015 年 4 22

Panasonic AC-DC Power Supply Design Support Service

Special Program of Engineering Science 21 st Century. for Graduate Courses in English. Graduate School of Engineering Science, OSAKA UNIVERSITY

IS MAC Address Restriction Absolutely Effective?

JF Standard for Japanese-Language Education 2010

Graduate School of Engineering. Master s Program, 2016 (October entrance)

Let s ask Tomoko and Kyle to the party. A. accept B. except C. invite D. include

Cost Accounting 1. B r e a k e v e n A n a l y s i s. S t r a t e g y I m p l e m e n t a t i o n B a l a n c e d S c o r e c a r d s

自 計 式 農 家 経 済 簿 記 とその 理 論

Unwillingness to Use Social Networking Services for Autonomous Language Learning among Japanese EFL Students

Course Material English in 30 Seconds (Nan un-do)

Discover the power of reading for university learners of Japanese in New Zealand. Mitsue Tabata-Sandom Victoria University of Wellington

Local production for local consumption( 地 産 地 消 ) Worksheet 1. Task: Do you agree with this idea? Explain the reasons why you think so.

この 外 国 弁 護 士 による 法 律 事 務 の 取 扱 いに 関 する 特 別 措 置 法 施 行 規 則 の 翻 訳 は 平

Integrating Elements of Local Identity into Communication Activities

Direct Marketing Production Printing & Value-Added Services: A strategy for growth

レッドハット 製 品 プライスリスト Red Hat Enterprise Linux 製 品 (RHEL for HPC) 更 新 :2015 年 4 22

英 語 上 級 者 への 道 ~Listen and Speak 第 4 回 ヨーロッパからの 新 しい 考 え. Script

医 学 生 物 学 一 般 問 題 ( 問 題 用 紙 1 枚 解 答 用 紙 2 枚 )

グローバル 人 材 育 成 言 語 教 育 プログラム. Global Linkage Initiative Program 2015 GLIP 履 修 ガイド. 夏 学 期 集 中 英 語 プログラム Summer Intensive English が 始 まります

EDB-Report. 最 新 Web 脆 弱 性 トレンドレポート( ) ~ Exploit-DB( 公 開 されている 内 容 に 基 づいた 脆 弱 性 トレンド 情 報 です

Grade 9 Language and Literature (English) Course Description

Electricity Business Act ( Act No. 170 of July 11, 1964)


世 界 のデブリ 関 連 規 制 の 動 向 Current situation of the international space debris mitigation standards

Linc English: A Web-Based, Multimedia English Language Curriculum Implementation and Effectiveness Report

Universities are coming under more pressure to prove

2015 ASPIRE Forum Student Workshop Student Reports 参 加 学 生 報 告 書

平 成 26 年 度 生 入 学 選 考 試 験 英 語 [ 特 待 生 入 試 ]

October Agency, Food Labeling Division

The acute osteoporotic vertebral compression fracture

The existence of credential effects in Canadian nursing education; Quebec versus the rest of Canada

TS-3GB-S.R v1.0 VoIP Supplementary Services Descriptions: Call Forwarding - Unconditional

Kumiko Sakamoto, Ms., Acad, Social Science, Japan: Women and men in changing societies: Gender division of labor in rural southeast Tanzania [A2]

Japan s Civil-Military Coordination in U.N. Peacekeeping Operations

JPShiKen.COM 全 日 本 最 新 の IT 認 定 試 験 問 題 集

育 デジ (Iku-Digi) Promoting further evolution of digital promotion

Introducing DIGNIO and WEB DIGNIO Targeting Male Executives in Japan

Teacher Training and Certificate System

Current Situation of Research Nurse Education and Future Perspectives in Japan

Data Mining for Risk Management in Hospital Information Systems

Public Financial Assistance for Formal Education in Japan

Internal USB port kit installation

How To Teach English At Kumon

Quality Risk Management as a Tool for Improving Compliance and E ciency

(2) 合 衆 国 では, 人 口 の 増 加 のほぼ 三 分 一 が 移 民 [ 移 住 ]によってもたらさている

Financial Modeling & Valuation Training

Advanced Training Program for Teachers of the Japanese-Language Application Instructions For FY 2016

第 9 回 仮 想 政 府 セミナー Introduction Shared Servicesを 考 える ~Old but New Challenge~ 東 京 大 学 公 共 政 策 大 学 院 奥 村 裕 一 2014 年 2 月 21 日

In-class student presentations are a common method of oral evaluation in communicationfocused

Graduate Program in Japanese Language and Culture (Master s Program) Application Instructions

Grade 8 Language and Literature (English) Course Description

Exam : FM0-308 日 本 語 版 Title : Developer Essentials for FileMaker 13 Vendor : FileMaker Version : DEMO 1 / 4

宇 宙 機 および 衛 星 のワイヤレス 化 を 支 えるマイクロ 波 半 導 体 デバイス 集 積 回 路 技 術 と 無 線 電 力 伝 送

Introduction to the revised Child Care and Family Care Leave Law

MPLS Configration 事 例

ࢪ 㛤 ᅜ ࠉ Ẽ ኚ ᨻ ሗ 㞟 ㄆㄪᰝ ࢪ 㛤 ᅜ Ẽ ኚ ᨻ ሗ 㞟 ㄆㄪᰝ ࠉ ሗ ሗ ᖹᡂ ᖺ ᖹᡂ 㸦 ᖺ㸧 ᖺ ᨻἲ ᨻἲ ᅜ㝿༠ຊᶵᵓ㸦-,&$㸧 ࠉ ᅜ㝿༠ຊᶵᵓ 㝈 ࢫ ࠉᮏࠉᕤࠉႠࠉ ࠉᘧࠉ ࠉ ቃ JR ࠉ ࠉసᴗ㸹 ᕝ

HP Optical Bay Hard Drive Bracket

Christ Episcopal Church Sei Ko Kai

レッドハット 製 品 プライスリスト 標 準 価 格. Red Hat Enterprise Linux 製 品 (RHEL Server)

IHS Technology. IHS Technology Business Intelligence Enabling market leadership through research, analysis and strategy

ENGLISH TRANSLATION. Data Coding and Transmission Specification for Digital Broadcasting ARIB STANDARD. ARIB STD-B24 Version 5.

LSI MegaRAID SAS 8888ELP Host Bus Adapter installation

Why today? What s next?

2016 July 5. August 16

NEC Storage Performance Monitor/Optimizer User s Manual

Upper Secondary Education in Japan

7 myths about cars and free trade agreements

My experience of Ruby Education in Taiwan

OKI-T/3-W40 Series Adjustable Output 3-Amp DOSA-SMT DC/DC Converters

Instructional Design and Teachers and Learners Factors Affecting Active and Meaningful Participation in Online Discussion


外 部 委 託 が 進 む 中 での 地 方 自 治 体 職 員 の 雇 用 の 保 護 PROTECTION OF EMPLOYMENT FOR LOCAL GOVERNMENT WORKERS UNDER OUTSOURCING

NSPU510CS Built-in ESD Protection Device RoHS Compliant

JASIN SYLLABUS. Spring VIA VERITAS VITA. Nagasaki University of Foreign Studies

Chiba Institute of Technology Graduate School

LEAVING CERTIFICATE 2011 MARKING SCHEME JAPANESE HIGHER LEVEL

For thousands of years, teachers have looked for products to assist them in educating

ポストムーア 時 代 に 向 けた プログラミングモデルと 実 装 技 術 Programming Models and Implementation After the End of Moore s Law

Design Act ( Act No. 125 of 1959)

Transcription:

このページは 故 意 に 空 白 にしている

改 訂 履 歴 訂 符 日 付 改 訂 ページ 改 訂 理 由 - 2009/03/27 - 初 版 2009/7/15 1 概 要 から 契 約 に 関 する 文 章 を 削 除 適 用 文 書 を 削 除 2 不 要 な 情 報 ( 初 期 化 する 内 部 変 数 の 一 覧 ) を 削 除 science header の 記 述 を 実 験 計 画 書 に 合 わせ science data header に 変 更 モジュールの 呼 出 し 形 式 に パケットの SIRIUS 時 刻 JPEG データ 時 刻 バイナリ 情 報 を 追 加 引 数 の 説 明 を 詳 細 化 3 引 数 の 説 明 に JPEG データ 時 刻 バイナリ 情 報 を 追 加 5 誤 記 修 正 欠 損 フラグテーブルの 参 照 方 法 についての 補 足 追 加 6 構 造 体 定 義 が 増 えたことに 伴 い 説 明 を 変 更 メンバ Data type の 説 明 を 詳 細 化 8 構 造 体 定 義 を 追 加 以 降 のページを 1 ページずつずらした 10 science header の 記 述 を science data header に 統 一 Depacketizeody() 呼 出 しに 引 数 を 追 加 2011/03/01 i 誤 記 修 正 2 DePacketizeody() を 呼 出 す 際 の 引 数 を 変 更 packet, utime_pkt, jpg_data, chk_tbl の 型 を 変 更 3 戻 り 値 のステータス 名 の 誤 記 修 正 9 マクロ 定 義 の 名 前 が 間 違 っていたものを 修 正 MX_PIXELS, MX_COMP_LEN を 追 加 10 DePacketizeody() に 渡 す 引 数 の 型 を 変 更 また それに 伴 い Depacketizeody() の 呼 出 し 形 式 を 変 更 説 明 文 を 修 正

有 効 ページ 一 覧 有 効 ページ i 版 1 版 2 版 3 版 4 初 版 5 版 6 版 7 初 版 8 版 9 版 10 版

Contents 1. Overview...1 2. ssociated document...1 3. JPEG data restoration module...1 3.1 Module specification...1 3.1.1 DePacketizeody.c...2 3.2 Structure specification...6 3.3 Macro definition...9 4. Use of the module...10 i

このページは 故 意 に 空 白 にしている

1. Overview This document is the summary of the specification for the JPEG data restoration module and the usage of the module. The JPEG data restoration module constructs the image data as a data which only lacks partial images where the packet losses occurred, by inserting the JPEG restart marker into the image data. The entire image data had been discarded when the packet losses occurred in the observational data from the Hinode satellite under the current processing method. 2. ssociated document (1) "Experimental plan for Scientific Satellite Solar-" SES-TD-05-010 (2) "Investigation of JPEG format" SED-TEC21016 3. JPEG data restoration module The JPEG data restoration module extracts or restores the JPEG data from the input CCSDS packet. 3.1 Module specification The module specification is shown on the next page. 1

3.1.1 DePacketizeody.c Name Language Invoker DePacketizeody.c C Functional overview This module is composed of the following two functions. (1) Initialization(DePacketizeody_init) Initialize internal variables which are used in the JPEG restoration process. (2) JPEG data extraction and restoration processing (DePacketizeody) extract or restore the JPEG data from the input CCSDS packet output the science data header of the extracted/restored JPEG data, the size of the JPEG data, PID, and the JPEG data loss flag table Input-output file: Submodule: Syntax: (1) Initialization void DePacketizeody_init(void) (2) JPEG data extraction and restoration processing int DePacketizeody(const unsigned char packet[], const int64_t *utime_pkt, int *apid, struct sci_head_t *sci_head, unseigned char jpg_data[mx_comp_len], int *jpg_size, unsigned char chk_tbl[mx_pixels], struct jpg_time_t *jpg_time, struct bin_head_t *bin_head) parameters Type and size 1 packet const unsigned char [] Unit Description input/ output - CCSDS packet to be processed input 2 utime_pkt const int64_t * μs packet edition time (elapsed micro-seconds from 2000/01/01 00:00:00 (UT)) This parameter will be sotred in jpg_time->utime if corresponding packet is the first packet of JPEG data. If this parameter is NULL, jpg_time->utime is set to 0. input 3 apid int * - PID of the corresponding packet output 4 sci_head struct sci_head_t * - the science data header of the extracted/restored JPEG image data (details of the structure are shown in section 3.2) output 5 jpg_data unsigned char [] - the buffer where JPEG data is stored output 6 jpg_size int * - Size of JPEG data output 7 chk_tbl unsigned char [] - buffer where JPEG data loss flag table is stored chk_tbl[i] =0: indicates the JPEG image data is extracted =1: indicates the JPEG image data is lost output 2

parameters Type and size Unit Description input/ output 8 jpg_time struct jpg_time_t * μs - packet edition time of the first packet for the extracted/ restored JPEG image data jpg_time->utime: elapsed micro-seconds from 2000/01/01 00:00:00 (UT) jpg_time->ti_time: Solar- S/C low resolution TI time (the value in the CCSDS secondary header) output This parameter can be set to NULL. 9 bin_head struct bin_head_t * - following binary data (1) Version information of MDP compression tables (2) Packet information and Data compression information in the science data header (3) Data information in the science data header output (details of the structure are shown in section 3.2) This parameter can be set to NULL. 10 Return value int - Processing status = UFF_NOW(0): buffering JPEG data = JPEG_EXTRCT(1): The JPEG data is able to be extracted. = JPEG_RESTORED(2): The JPEG data is restored. = RESTORED_IRRETRIEVLE(3): The part of the first half of the JPEG data was restored, and the latter half was discarded. =NOT_PID(-1): input packet is not a packet to be processed. =NOT_JPEG_DT(-2): input packet is not a packet of the JPEG data. =JPEG_IRRETRIEVLE(-3): The JPEG data is not able to be restored. output 3

(Complement) The JPEG data loss flag table (chk_tbl) is two dimensional array (Xsize and Ysize are same as image data size)* that indicates whether the data segments of the JPEG data are lost. Each elements of the array corresponds to the pixel of the subimage. The JPEG data segments in the observational data of the Hinode satellite have the following sizes, and the correspondence of the JPEG data segment and the image pixel position is as shown in Figure 3.1.1-1. When the compress mode is DCT X size: 512 pixel Y size: 8pixel When the compress mode is DPCM X size: It is the same as X size of the subimage. Y size: JPEG Restart Interval X size When the compress mode is DCT X size of subimage 512 pixels 8 pixels RST0 RST1 Y size of subimage RST2 RST3 RST4 When the compress mode is DPCM X size of subimage X size of the data segment is the same as X size of the subimage. RST0 Y size of subimage RST1 RST2 RST3 RST4 Y size of the data segment is a value in which the restart interval is divided by X size. Figure 3.1.1-1 Correspondence of JPEG data segment and image pixel position *) ecause variable-length two dimensional array can not be passed in C language, chk_tbl is passed as one dimensional array of size X by Y. 4

If the data segment RST1 of the JPEG data is lost in the compress mode DCT, and X size of the subimage is assumed to be 600 pixels, the loss flag table is set as follows. the following area is set to one (Figure 3.1.1-2). rest is set to zero. 0th line : chk_tbl[0][512]~chk_tbl[0][599] 1st line : chk_tbl[1][512]~chk_tbl [1][599] 2nd line : chk_tbl[2][512]~chk_tbl [2][599] 3rd line : chk_tbl[3][512]~chk_tbl [3][599] 4th line : chk_tbl[4][512]~chk_tbl [4][599] 5th line : chk_tbl[5][512]~chk_tbl [5][599] 6th line : chk_tbl[6][512]~chk_tbl [6][599] 7th line : chk_tbl[7][512]~chk_tbl [7][599] 8th line : chk_tbl[8][0]~chk_tbl [8][424] 9th line : chk_tbl[9][0]~chk_tbl [9][424] 10th line : chk_tbl[10][0]~chk_tbl [10][424] 11th line: chk_tbl[11][0]~chk_tbl [11][424] 12th line: chk_tbl[12][0]~chk_tbl [12][424] 13th line: chk_tbl[13][0]~chk_tbl [13][424] 14th line: chk_tbl[14][0]~chk_tbl [14][424] 15th line: chk_tbl[15][0]~chk_tbl [15][424] index number of the array 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 ~ 511 512 ~ 599 00000000000 000000000000000000000000 1111 1111111 00000000000 000000000000000000000000 1111 1111111 00000000000 000000000000000000000000 1111 1111111 RST1 00000000000 RST0 000000000000000000000000 111RST1 1 1111111 00000000000 000000000000000000000000 1111 1111111 00000000000 000000000000000000000000 1111 1111111 00000000000 000000000000000000000000 1111 1111111 00000000000 000000000000000000000000 1111 1111111 1111 11111111111111 00000000000 000000000000000 1111 11111111111111 00000000000 000000000000000 1111 11111111111111 00000000000 000000000000000 1111 111 RST1 11111111111 1111 11111111111111 1111 11111111111111 1111 11111111111111 1111 11111111111111 600 00000000000 RST2 000000000000000 00000000000 000000000000000 00000000000 000000000000000 00000000000 000000000000000 00000000000 000000000000000 Figure 3.1.1-2 Example of the setting of JPEG data loss flag table ecause chk_tbl is an one-dimensional array, chk_tbl[0][512]~chk_tbl[0][599] are actually referred as chk_tbl[512]~chk_tbl[599], chk_tbl[1][512]~chk_tbl[1][599] are referred as chk_tbl[1112]~chk_tbl[1199], and so on. 5

3.2 Structure specification This module defines following three structures. (1) sci_head_t (2) jpg_time_t (3) bin_head_t The specification of each structure is shown below. Structure 1 Name sci_head_t (1/2) Description Science data header member Type and size Unit description DataType int - Data type SOT 0x42, 0x43 FG Data 0x44, 0x45 SP Data 0x52, 0x53 CT Reference image 0x54, 0x55 CT Live Image 0x56, 0x57 CT Diagnostic Data 0x58, 0x59 Operating System Diagnostic Data 0x5E, 0x5F Memory Dump Data via Mission I/F PacketSize int - Packet size SerialPacketNo int - Packet sequence Number MainID int - Main ID XRT 0x2, 0x3 2sec Data + Diagnostic Data EIS 0xC2, 0xC3 Memory Dump Data MainSQFlag int - Main sequence flag 0:Continuation Frame 2:Last Frame 1:First Frame 3:Stand_alone Frame MainSQCount int - Main sequence number NumOfPacket int - Number of packets in image frame NumOfFrame int - Number of image frames in data set SubID int - SubID SubSQFlag int - Sub sequence flag 0:Continuation Frame 2:Last Frame 1:First Frame 3:Stand_alone Frame SubSQCount int - Sub sequence number FullImageSizeX int - Width of full image data FullImageSizeY int - Height of full image data 6

Structure 1 Name sci_head_t (2/2) Discription Science data header member Type and size Unit description asepointcoorx int - X position of partial image data in full image data asepointcoory int - Y position of partial image data in full image data PartImageSizeX int - Width of partial image data PartImageSizeY int - Height of partial image data itcompmode int - it compression mode 0:no compression 1:16U to 12U 2:14U to 12U 3:16S to 12U 4:14.5S to 12U 5:13S to 12U 6:Low order 12U 7:EIS table ImageCompMode int - Image compression mode 0:noimage 3:DPCM 7:DCT HTCNo int - C Haffman table number Table number : 1 or 2 HTDCNo int - DC Haffman table number Table number : 1 QTNo int - Quantization table number Table number : 0 ~ 7 DataInfo unsigned char[256] - Data Information The data length is different according to the data type. (1) FLT_OS1, FLT_OS2, SPP_OS1, SPP_OS2 are 48 bytes (2) XRT_OS1, XRT_OS2 are 64 bytes (3) EIS_OS1, EIS_OS2 are 224 bytes 7

Structure 2 Name Description member jpg_time_t packet edition time of the first packet for the extracted/restored JPEG image data Type and Unit description size utime int64_t μs packet edition time expressed in micro-seconds elapsed from 2000/01/01 00:00:00 (UT). ti_time int - packet edition time expressed in Solar- S/C low resolution TI. (the value in the CCSDS secondary header of the first packet) Structure 3 Name bin_head_t Description binary information of the extracted/restored JPEG image data member Type and size Unit description verinfo unsigned char[8] - Version information of MDP compression tables in first CCSDS packet verinfo [0~1]: it compression lookup table version [2~3]: C Huffman table version [4~5]: DC Huffman table version [6~7]: Quantization table version mdphead unsigned char[32] - first 32 byte of the science data header datainfo unsigned char[256] - Data information in the science data header datainfo_len int - length of the data information 8

3.3 Macro definition The following macro definitions used in this module. Macro name Value Content UFF_NOW 0 buffering The JPEG data in the CCSDS packet. JPEG_EXTRCT 1 The JPEG data in the CCSDS packet has been extracted. JPEG_RESTORED 2 The JPEG data in the CCSDS packet was restored. RESTORED_IRRETRIEVLE 3 The processing The part of the first half of the JPEG data in the CCSDS packet was restored, and the latter half status value. was discarded. NOT_PID -1 PID in the CCSDS packet is not PID of the object. NOT_JPEG_DT -2 The data in the CCSDS packet is not JPEG data. JPEG_IRRETRIEVLE -3 The JPEG data in the CCSDS packet was discarded. MX_PIXELS 256x1024 Maximum image pixel from the telescopes. Maximum image size @MDP = 256k pixel (for EIS), 64k (for SOT and XRT) MX_COMP_LEN MX_PIXELS x4 Maximum compressed size of a image. 9

4. Use of the module In this module, the DePacketizeody_init() function should be called first, and the DePacketizeody() function should be called after each input of the CCSDS packet. In the DePacketizeody() function, the JPEG data contained in the CCSDS packet is accumulated in an internal buffer, whenever extraction of one subimage is completed, the JPEG data and the status extracted are returned to the caller module. The function prototype, the structure, and the macros of this module are defined in include file (DePacketizeody.h). The example of using this module is shown below. #include <DePacketizeody.h> #define MX_PCKET 1024*1024; Specification of include file int main() { unsigned char packet[mx_pcket]; The storage buffer for the CCSDS packet must be prepared by the caller. } int apid; unsigned char jpg_data[mx_comp_len]; int jpg_size; unsigned char chk_tbl[mx_pixels]; struct sci_head_t sci_head; The storage buffer for JPEG data must be prepared by the caller. The storage buffer for the loss flag table must be prepared by the caller. The storage buffer for the science data header must be prepared by the caller. The structure of the science data header is defined in the include file. int proc_apid; DePacketizeody_init(); The initialization function should be called first. scanf ( %X, &proc_apid); while (recv_packet(&packet)!= PCKET_END) { /*DePacketizeody function should be called after each input of the CCSDS packet */ iret=depacketizeody(recv_packet(&packet), NULL, &apid, &sci_head, jpg_data, &jpg_size, chk_tbl, NULL, NULL); switch (iret) { branch on the return value. case UFF_NOW: continue; case JPEG_EXTRCT: case JPEG_RESTORED: case RESTORED_IRRETRIEVLE: if (apid == proc_apid) { image_data = ImageProcessing (jpg_data, sci_head, jpg_size); /*image data output*/ fwrite (image_data, sci_head.partimagesizex, sci_head.partimagesizey, fpout1); fwrite (chk_tbl, sci_head.partimagesizex, sci_head.partimagesizey, fpout2); } default: continue; } } return 0; The processing of the user program is executed by using the data that the JPEG restoration module outputs. 10