{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Image

HDR

High Dynamic Range

HDR (High Dynamic Range) คือเทคนิคการถ่ายภาพและแสดงผลที่ขยายช่วงความสว่างระหว่างส่วนที่มืดที่สุดและสว่างที่สุดในภาพ ทำให้ภาพมีรายละเอียดทั้งในเงาและไฮไลต์มากกว่าเทคนิคมาตรฐาน SDR

รายละเอียดทางเทคนิค

ภาพ HDR มักใช้ความลึกบิต 10 บิตขึ้นไป (เทียบกับ 8 บิตของ SDR) และพื้นที่สีกว้าง เช่น Rec. 2020 มาตรฐานหลัก ได้แก่ HDR10 (ฟรี, static metadata, PQ transfer function) และ Dolby Vision (ไดนามิก metadata, 12 บิต) ฟังก์ชัน transfer หลัก ได้แก่ PQ (Perceptual Quantizer, ST 2084) และ HLG (Hybrid Log-Gamma)

ตัวอย่าง

```javascript
// HDR: processing with Canvas API
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
ctx.drawImage(sourceImage, 0, 0);
const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
// Process pixels in imageData.data (RGBA array)
```

เครื่องมือที่เกี่ยวข้อง

คำศัพท์ที่เกี่ยวข้อง