docstr: Gets the data object at index :obj:`idx` and transforms it (in case
  a :obj:`self.transform` is given).
  In case :obj:`idx` is a slicing object, *e.g.*, :obj:`[2:5]`, a list, a
  tuple, a  LongTensor or a BoolTensor, will return a subset of the
  dataset at the specified indices.
docstr_tok: ["Gets","the","data","object","at","index",":","obj",":","`","idx","`","and","transforms","it","(","in","case","a",":","obj",":","`","self.transform","`","is","given",")",".","In","case",":","obj",":","`","idx","`","is","a","slicing","object",",","*","e.g",".","*",",",":","obj",":","`","[","2:5","]","`",",","a","list",",","a","tuple",",","a","LongTensor","or","a","BoolTensor",",","will","return","a","subset","of","the","dataset","at","the","specified","indices","."]
code: def __getitem__(self, idx):
      r"""Gets the data object at index :obj:`idx` and transforms it (in case
      a :obj:`self.transform` is given).
      In case :obj:`idx` is a slicing object, *e.g.*, :obj:`[2:5]`, a list, a
      tuple, a  LongTensor or a BoolTensor, will return a subset of the
      dataset at the specified indices."""
  
      data = self.get(idx)
      return data
  
imports: import glob
  import json
  import logging
  import numpy
  import os
  import os.path
  import shutil
  import torch
  from torch_geometric.data import Dataset, download_url, extract_zip
  from torch_geometric.data import Data
  from torch_points3d.datasets.registration.detector import RandomDetector
  from torch_points3d.datasets.registration.utils import rgbd2fragment_rough
  from torch_points3d.datasets.registration.utils import rgbd2fragment_fine
  from torch_points3d.datasets.registration.utils import compute_overlap_and_matches
  from torch_points3d.datasets.registration.utils import to_list
  from torch_points3d.datasets.registration.utils import files_exist
  from torch_points3d.datasets.registration.utils import makedirs
  from torch_points3d.datasets.registration.utils import get_urls
  from torch_points3d.datasets.registration.utils import PatchExtractor
label_desc: Use image node_id 9 for calling the BaseKitti obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: data