{
 "last_node_id": 7,
 "last_link_id": 6,
 "nodes": [
  {
   "id": 1,
   "type": "MarkdownNote",
   "pos": [
    0,
    -438.0
   ],
   "size": [
    640,
    268
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [],
   "properties": {},
   "widgets_values": [
    "Photos to a Gaussian-splat training set: the blur filter keeps the sharpest 80 % of the photos of input/sfm_photos, structure from motion finds the cameras and a sparse cloud, and the dataset node writes undistorted images (images/, images_2, images_4, images_8), a COLMAP model (sparse/0) and a nerfstudio transforms.json under output/fastforks/splat_data_00001. Train with `ns-train splatfacto --data <folder>` (nerfstudio) or gsplat's `simple_trainer.py default --data_dir <folder> --data_factor 2` (a free Colab GPU is enough), or open the folder in any 3DGS trainer. A batch job of minutes; 30 to 200 photos of one scene work best."
   ]
  },
  {
   "id": 2,
   "type": "FastforksSharpFilter",
   "pos": [
    0.0,
    0.0
   ],
   "size": [
    330,
    230
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "sharp_folder",
     "type": "STRING",
     "links": [
      1,
      3
     ],
     "slot_index": 0
    },
    {
     "name": "scores",
     "type": "STRING",
     "links": [
      6
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "sfm_photos",
    0.8,
    0.0,
    "fastforks/sharp"
   ]
  },
  {
   "id": 3,
   "type": "FastforksSfM",
   "pos": [
    410.0,
    0.0
   ],
   "size": [
    400,
    420
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "images_folder",
     "type": "STRING",
     "widget": {
      "name": "images_folder"
     },
     "link": 1
    }
   ],
   "outputs": [
    {
     "name": "model_path",
     "type": "STRING",
     "links": [
      2
     ],
     "slot_index": 0
    },
    {
     "name": "stats",
     "type": "STRING",
     "links": [],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "sfm_photos",
    "loma-b",
    "megaloc",
    "auto",
    "auto",
    20,
    4.0,
    false,
    "incremental",
    "fastforks/sfm"
   ]
  },
  {
   "id": 4,
   "type": "FastforksGaussianSplatDataset",
   "pos": [
    890.0,
    0.0
   ],
   "size": [
    330,
    230
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "model_path",
     "type": "STRING",
     "link": 2
    },
    {
     "name": "images_folder",
     "type": "STRING",
     "widget": {
      "name": "images_folder"
     },
     "link": 3
    }
   ],
   "outputs": [
    {
     "name": "dataset_folder",
     "type": "STRING",
     "links": [
      4
     ],
     "slot_index": 0
    },
    {
     "name": "stats",
     "type": "STRING",
     "links": [
      5
     ],
     "slot_index": 1
    }
   ],
   "properties": {},
   "widgets_values": [
    "sfm_photos",
    "2,4,8",
    "fastforks/splat_data"
   ]
  },
  {
   "id": 5,
   "type": "PreviewAny",
   "pos": [
    1300.0,
    0.0
   ],
   "size": [
    300,
    120
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 4
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "dataset folder",
   "widgets_values": []
  },
  {
   "id": 6,
   "type": "PreviewAny",
   "pos": [
    1300.0,
    160.0
   ],
   "size": [
    300,
    160
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 5
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "dataset statistics",
   "widgets_values": []
  },
  {
   "id": 7,
   "type": "PreviewAny",
   "pos": [
    410.0,
    460.0
   ],
   "size": [
    300,
    200
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "source",
     "type": "*",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "STRING",
     "type": "STRING",
     "links": [],
     "slot_index": 0
    }
   ],
   "properties": {},
   "title": "blur scores",
   "widgets_values": []
  }
 ],
 "links": [
  [
   1,
   2,
   0,
   3,
   0,
   "STRING"
  ],
  [
   2,
   3,
   0,
   4,
   0,
   "STRING"
  ],
  [
   3,
   2,
   0,
   4,
   1,
   "STRING"
  ],
  [
   4,
   4,
   0,
   5,
   0,
   "*"
  ],
  [
   5,
   4,
   1,
   6,
   0,
   "*"
  ],
  [
   6,
   2,
   1,
   7,
   0,
   "*"
  ]
 ],
 "groups": [
  {
   "id": 1,
   "title": "fastforks",
   "bounding": [
    -30.0,
    -90.0,
    1660.0,
    780.0
   ],
   "color": "#3f789e",
   "font_size": 24,
   "flags": {}
  }
 ],
 "config": {},
 "extra": {},
 "version": 0.4
}