{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "Q8DWXQ2WG0"
    },
    {
      "field": "defines",
      "target": "ZVDW0BJ4FY"
    }
  ],
  "body": "\n## Summary\n\nBilinear interpolation estimates a function of two variables inside a rectangle from its values at the four corners.\nIt uses the unique function of the form $a + bx + cy + dxy$ that matches the four values.\nIt is the two-dimensional analogue of linear interpolation and a basic tool for resampling images and gridded data.\n\n## Explanations\n\n### L1 human\n\nSuppose the temperature is known at the four corners of a rectangular field.\nTo estimate it at a point inside, first interpolate linearly along the bottom edge and along the top edge, and then interpolate linearly between those two results.\nDoing it in the other order, first along the vertical edges, gives the same answer.\nFor example, on the unit square with corner values $0$, $0$, $0$ and $1$ (the last at $(1, 1)$), the estimate at $(x, y)$ is $xy$, so the center gets $1/4$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65D05",
      "41A05"
    ],
    "name": "Bilinear interpolation",
    "same_as": {
      "wikidata": "Q612143",
      "wikipedia": "Bilinear interpolation"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Bilinear_interpolation"
      }
    ],
    "specializes": [
      "BM703GV34G"
    ],
    "tag": "5QJYCNRYMQ"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/5QJYCNRYMQ/",
  "links": [
    {
      "field": "specializes",
      "target": "BM703GV34G"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/5QJYCNRYMQ.md",
  "msc": [
    "65D05",
    "41A05"
  ],
  "name": "Bilinear interpolation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/5QJ/5QJYCNRYMQ.md",
  "status": null,
  "tag": "5QJYCNRYMQ",
  "uri": "m2://5QJYCNRYMQ",
  "url": "https://tamnd.github.io/math2/wiki/bilinear-interpolation/",
  "writing": {
    "tag": "5QJYCNRYMQ",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
