class_docstr: Converts SciPy-style contours (generated by skimage.measure.find_contours) to a more succinct version which only includes
  the pixels to which lines need to be drawn (i.e. not the intervening pixels along each line).
  
  Args:
      height: height of bounding box, used to detect direction of line segment.
      width: width of bounding box, used to detect direction of line segment.
  
  Returns:
      the pixels that need to be joined by straight lines to describe the outmost pixels of the foreground similar to
          OpenCV's cv.CHAIN_APPROX_SIMPLE (counterclockwise)
class_docstr_tok: ["Converts","SciPy-style","contours","(","generated","by","skimage.measure.find_contours",")","to","a","more","succinct","version","which","only","includes","the","pixels","to","which","lines","need","to","be","drawn","(","i.e",".","not","the","intervening","pixels","along","each","line",")",".","Args",":","height",":","height","of","bounding","box",",","used","to","detect","direction","of","line","segment",".","width",":","width","of","bounding","box",",","used","to","detect","direction","of","line","segment",".","Returns",":","the","pixels","that","need","to","be","joined","by","straight","lines","to","describe","the","outmost","pixels","of","the","foreground","similar","to","OpenCV","'s","cv.CHAIN_APPROX_SIMPLE","(","counterclockwise",")"]
code: def __init__(self, height: int, width: int) -> None:
      self.height = height
      self.width = width
  
imports: from __future__ import annotations
  import warnings
  from typing import Callable, Sequence
  import numpy
  import torch
  from monai.config.type_definitions import DtypeLike, NdarrayOrTensor
  from monai.transforms import Activations, AsDiscrete, BoundingRect, FillHoles, GaussianSmooth, RemoveSmallObjects, SobelGradients
  from monai.transforms.transform import Transform
  from monai.transforms.utils_pytorch_numpy_unification import max, maximum, min, sum, unique
  from monai.utils import TransformBackends, convert_to_numpy, optional_import
  from monai.utils.misc import ensure_tuple_rep
  from monai.utils.type_conversion import convert_to_dst_type, convert_to_tensor
label_desc: Use image node_id 1 to create a new GenerateSuccinctContour object from inherited base classes: Transform with example: obj = GenerateSuccinctContour(height, width)