跳至內容

File:Polarlicht 2 kmeans 16 large.png

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書

原始檔案(3,008 × 1,960 像素,檔案大小:653 KB,MIME 類型:image/png


摘要

描述

File:Polarlicht 2.jpg reduced to 16 colors using the k-means algorithm. Implemented in MATLAB as follows:

  1. Read in source image.
  2. Convert to 3-dimensional matrix of [y-value, x-value, rgb] using imread. Each entry is an integer between 0 and 255 representing the value of the color indicated by rgb at (x, y).
  3. Reduce linear resolution 8 times by averaging the values in each 8x8 matrix block (for faster processing).
  4. Run k-means (self-implemented) for 20 iterations with k = 16, obtaining 16 colors which are the centroids of each cluster.
  5. For each pixel in the original image, replace its value with the closest color based on Euclidean norm of RGB.
Note: Please do not convert this to a JPEG. It must remain in a lossless format to preserve the integrity of the RGB values.
日期
來源 自己的作品
作者 Senior Airman Joshua Strang, derivative work by King of Hearts
其他版本 See gallery

授權條款

Public domain 我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。
這可能在某些國家不合法,如果是的話:
我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。
Public domain
本圖像是美國空軍的軍人或僱員的職務作品。作為美國聯邦政府的作品,本圖像屬於公有領域

العربية  беларуская (тарашкевіца)  català  čeština  Deutsch  English  español  eesti  فارسی  suomi  français  italiano  日本語  한국어  македонски  മലയാളം  မြန်မာဘာသာ  norsk bokmål  Plattdüütsch  Nederlands  polski  português  português do Brasil  русский  sicilianu  slovenčina  slovenščina  српски / srpski  svenska  Türkçe  українська  Tiếng Việt  中文(简体)  中文(繁體)  +/−

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2012年11月20日 (二) 20:50於 2012年11月20日 (二) 20:50 版本的縮圖3,008 × 1,960(653 KB)King of HeartsVicuñaUploader 1.16

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

詮釋資料