Lut

Lut สามารถเป็นคุณสมบัติขององค์ประกอบภาพหรือวิดีโอ ซึ่งจะมีผลต่อองค์ประกอบเฉพาะนั้น หรืออาจเป็นองค์ประกอบหนึ่งที่ใช้กับทั้งผืนผ้าใบ

ทรัพย์สินประเภทจำเป็นตัวอย่างช่วงค่าคำอธิบาย
titlestringtrueLabradorite-ชื่อของตารางการค้นหา
typestringtrue3D-ประเภทของตารางการค้นหา
sizenumbertrue33-ขนาดของตารางการค้นหา
domainarraytrue--โดเมนของตารางการค้นหา
dataarraytrue--อาเรย์ข้อมูลของตารางการค้นหา ควรเป็นอาเรย์แบนของค่าระดับสี RGB โดยมีความยาว = size³ × 3
strengthnumberfalse10 to 1ความเข้มของเอฟเฟกต์ LUT 0 = ไม่มีเอฟเฟกต์, 1 = เอฟเฟกต์เต็มรูปแบบ
imageElement.json
{
  "type": "",
  "width": 1920,
  "height": 1080,
  "fill": "#000000",
  "view": [
      {
          "id": "6b91fbc5-a69c-4783-8216-395b8feac9b2",
          "type": "Image",
          "start": 0,
          "duration": 5,
          "trackIndex": 1,
          "x": 0,
          "y": 0,
          "blendMode": "normal",
          "anchorX": 1310.5,
          "anchorY": 1965.5,
          "rotation": 0,
          "scaleX": 0.27473925209870265,
          "scaleY": 0.27473925209870265,
          "alpha": 1,
          "skewX": 0,
          "skewY": 0,
          "keyframes": [],
          "externalUrl": "https://images.pexels.com/photos/30473423/pexels-photo-30473423.jpeg",
          "ext": "jpeg",
          "lut": {
              "title": "Lava",
              "type": "3D",
              "size": 33,
              "domain": [
                  [
                      0,
                      0,
                      0
                  ],
                  [
                      1,
                      1,
                      1
                  ]
              ],
              "data": [/* LUT data array omitted for brevity - should contain size³ × 3 RGB values */],
              "strength": 1
          }
      }
  ],
  "audio": [],
  "effect": [
      {
          "id": "88ac9e96-2c66-40e8-b932-7fd590fd5a13",
          "start": 0,
          "duration": 5,
          "trackIndex": 0,
          "lut": {
              "title": "Labradorite",
              "type": "3D",
              "size": 33,
              "domain": [
                  [
                      0,
                      0,
                      0
                  ],
                  [
                      1,
                      1,
                      1
                  ]
              ],
              "data": [/* LUT data array omitted for brevity */],
              "strength": 1
          },
          "type": "Lut"
      }
  ],
  "transition": [],
  "version": 0,
  "duration": 5
}