1 / 6

專題進度報告

專題進度報告. 指導教授:鄭朝榮 組長:王俊元 組員:朱勝群 梁森凱. 本次所學. 了解影像構成 了解一個影像的檔案 JAVA 基本概知. 影像構成. 由許多的點構成 顯示時採用掃描的方式 一個點要記下一個色彩 (ex. 1 or 0 來表式黑白 ) 色彩系統 (RGB 、 CMY 、 YIQ 、 YUV 、 YCbCr. 圖片檔的結構 (DIB 結構 ). 檔頭 ( 檔案類型、大小 … 等 ) 資訊 ( 圖片的長、寬、是否壓縮 … 等 ) 調色盤 ( 有些點陣影像要有 ) 影像數據. .jpg. .bmp. JAVA. 宣告 陣列

gema
Download Presentation

專題進度報告

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 專題進度報告 指導教授:鄭朝榮 組長:王俊元 組員:朱勝群 梁森凱

  2. 本次所學 • 了解影像構成 • 了解一個影像的檔案 • JAVA基本概知

  3. 影像構成 • 由許多的點構成 • 顯示時採用掃描的方式 • 一個點要記下一個色彩(ex. 1 or 0 來表式黑白) • 色彩系統(RGB、CMY 、YIQ 、 YUV、YCbCr

  4. 圖片檔的結構(DIB結構) • 檔頭(檔案類型、大小…等) • 資訊(圖片的長、寬、是否壓縮…等) • 調色盤(有些點陣影像要有) • 影像數據 .jpg .bmp

  5. JAVA • 宣告 • 陣列 • 判斷式、迴圈 • Class (一點)

  6. public class Image_pro001 { public static void main(String[] args) { char[] photo = {' ',' ',' ','/','|','\\',' ',' ', ' ',' ','/',' ','|',' ','\\',' ', ' ','/',' ',' ','|',' ',' ','\\', ' ','-','-','-','|','-','-','-', ' ',' ',' ',' ','|',' ',' ',' ', '\\','-','-','-','-','-','-','-', ' ','\\',' ',' ',' ',' ',' ','/', ' ',' ','\\','_','_','_','/',' '}; int phw,phh; //phw:photo width ;phh:photo height phw=8; phh=8; int p=0; for(int i=0;i < phh;i++){ for(int j=0;j<phw;j++){ System.out.print(photo[p]); p++; } System.out.println(""); } } } 程式試用

More Related