Restrict camera parameters to those in a dataset
camera/restrict_cameras parameters.json in_cameras.json out_cameras.json
Also sorts the camera array in the order of the dataset indices.