geomapi.tools.validationtools.geomapi_updates

geomapi.tools.validationtools.geomapi_updates.decode_depthmap(source, resize=True, size=(8192, 4096), show=False)

Function to decode the depthmaps generated by the navvis processing source: Location of the PNG files containing the depthmap resize(bool): If the resulting dethmap needs to be resized to match the size of the corresponding pano, by default True size: size of the corresponding pano, by default 8192x4096

geomapi.tools.validationtools.geomapi_updates.plot_pano_positions(panos, colors=None, headings=False, z=False)

ppcs: list of PanoPoseCollection headings: boolean (default: False) - plots headings as vectors with size 1.

geomapi.tools.validationtools.geomapi_updates.get_heading(orientation)

Heading measured as angle from x to y axis. In equirectangular format this is the center of the pano. Headings are always positive to simplify subsequent calculations.

See ‘https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Rotation.html

geomapi.tools.validationtools.geomapi_updates.get_zenit(orientation)

Angle with the vertical

geomapi.tools.validationtools.geomapi_updates.navvis_csv_to_nodes(csvPath: str, panoPath: str = None, includeDepth: bool = True, depthPath: str = None, skip: int = None, filterByFolder=True, **kwargs) List[PanoNode]

Parse Navvis csv file and output a set of PanoNodes

Args:

csvPath (str): csv file path e.g. “D:/Data/pano/pano-poses.csv” panoPath (str, optional): _description_. Defaults to None. includeDepth (bool, optional): _description_. Defaults to True. depthPath (str, optional): _description_. Defaults to None. skip (int, optional): select every nth image from the xml. Defaults to None. filterByFolder (bool, optional): _description_. Defaults to True.

Returns:

List[panonode.PanoNode]: