MCPcopy Create free account
hub / github.com/a-nau/Plane-Segmentation-Refinement / load_data

Method load_data

refiner/models/image_data.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.planercnn_image_file_path = os.path.join(self.data_directory, cfg.file_name_planercnn_image(self.number))
39
40 def load_data(self):
41 # Load mask data
42 self.load_plane_data()
43 self.load_ground_truth_masks()
44 # Load image data
45 self.img = ImageData.load_image(self.original_image_file)
46 self.get_edge_img()
47
48 def load_plane_data(self):
49 plane_masks = np.load(self.plane_masks_file)

Callers 1

mainFunction · 0.95

Calls 4

load_plane_dataMethod · 0.95
get_edge_imgMethod · 0.95
load_imageMethod · 0.80

Tested by

no test coverage detected