class_docstr: Collect image boundary information.
docstr: Get VISIR and HRV (if ROI) image boundaries from the SelectedRectangle information stored in the header.
docstr_tok: ["Get","VISIR","and","HRV","(","if","ROI",")","image","boundaries","from","the","SelectedRectangle","information","stored","in","the","header","."]
code: def _get_selected_img_bounds(self, dataset_id):
      """Get VISIR and HRV (if ROI) image boundaries from the SelectedRectangle information stored in the header."""
      sec15hd = self._header["15_SECONDARY_PRODUCT_HEADER"]
      south_bound = int(sec15hd["SouthLineSelectedRectangle"]["Value"])
      east_bound = int(sec15hd["EastColumnSelectedRectangle"]["Value"])
  
      if dataset_id["name"] == "HRV":
          nlines, ncolumns = self._get_hrv_img_shape()
          south_bound = self._convert_visir_bound_to_hrv(south_bound)
          east_bound = self._convert_visir_bound_to_hrv(east_bound)
      else:
          nlines, ncolumns = self._get_visir_img_shape()
  
      north_bound = south_bound + nlines - 1
      west_bound = east_bound + ncolumns - 1
  
      img_bounds = {
          "south_bound": [south_bound],
          "north_bound": [north_bound],
          "east_bound": [east_bound],
          "west_bound": [west_bound],
      }
  
      return img_bounds
  
imports: import logging
  import warnings
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import xarray
  from pyresample import geometry
  from satpy._compat import cached_property
  from satpy.readers._geos_area import get_area_definition, get_geos_area_naming
  from satpy.readers.eum_base import get_service_mode, recarray2dict, time_cds_short
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.seviri_base import CHANNEL_NAMES, HRV_NUM_COLUMNS, HRV_NUM_LINES, REPEAT_CYCLE_DURATION, SATNUM, VISIR_NUM_COLUMNS, VISIR_NUM_LINES, NoValidOrbitParams, OrbitPolynomialFinder, SEVIRICalibrationHandler, add_scanline_acq_time, calculate_area_extent, create_coef_dict, dec10216, get_cds_time, get_satpos, pad_data_horizontally, pad_data_vertically, round_nom_time
  from satpy.readers.seviri_l1b_native_hdr import DEFAULT_15_SECONDARY_PRODUCT_HEADER, GSDTRecords, get_native_header, native_trailer
  from satpy.readers.utils import reduce_mda
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 4 for calling the ImageBoundaries obj's underlying member method code with example usage: obj._get_selected_img_bounds(dataset_id) and returns: img_bounds