urbanlc.analyze.visualizer.plot_change#
- urbanlc.analyze.visualizer.plot_change(img_paths: Optional[List[str]] = None, root: Optional[str] = None, framerate: Optional[float] = 1, save_path: Optional[str] = 'output.mp4') None #
Create a video plot to visualize changes over time based on image paths or a root directory.
This function creates a video plot to visualize changes over time either based on a list of image paths or images within a root directory. The framerate of the output video can be specified, and the resulting video is saved to the specified file path.
- Parameters:
img_paths (List[str], optional) – List of image paths for creating the video. Defaults to None.
root (str, optional) – Root directory containing images to create the video. Defaults to None.
framerate (float, optional) – Framerate of the output video. Defaults to 1.
save_path (str, optional) – File path to save the output video. Defaults to “output.mp4”.
- Returns:
None
- Return type:
None