From be0a04324923afb88ac8f96e3aa1ebfccdd10da4 Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Thu, 23 Sep 2021 13:30:33 +0200 Subject: [PATCH] remove 2 unnesservcery files from git --- mask.svg | 197 ------------------------------------- thermal-image-extractor.py | 43 -------- 2 files changed, 240 deletions(-) delete mode 100644 mask.svg delete mode 100644 thermal-image-extractor.py diff --git a/mask.svg b/mask.svg deleted file mode 100644 index b3c8604..0000000 --- a/mask.svg +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/thermal-image-extractor.py b/thermal-image-extractor.py deleted file mode 100644 index e1104e5..0000000 --- a/thermal-image-extractor.py +++ /dev/null @@ -1,43 +0,0 @@ -import cv2 -# import flirimageextractor -# flir = flirimageextractor.FlirImageExtractor() -# flir.process_image('source_images_full/20200621_125936_R.jpg',RGB=True) -# c = flir.get_metadata('source_images_full/20200621_125936_R.jpg') -# img = flir.extract_embedded_image() - -import flirimageextractor -from matplotlib import cm -import numpy as np -# flir = flirimageextractor.FlirImageExtractor() -# flir.process_image('source_images_full/20200621_125936_R.jpg') -# flir.save_images() -# flir.plot() - - - -flir = flirimageextractor.FlirImageExtractor() -flir.process_image('source_images_full/20200621_125936_R.jpg') -# img = flir.save_images() #min=0,max=64, -# print(dir(img)) -# print(img) -thermal_img_np = flir.thermal_image_np -h,w = thermal_img_np.shape -# print(flir.flir_img_bytes()) - -print(thermal_img_np) -print(type(thermal_img_np[0][0])) -print(h) -print(w) - -# cv2.imdecode(thermal_img_np) - -multiplied_image = cv2.multiply(thermal_img_np, 1000) - -cv2.imwrite('color_img.png', multiplied_image.astype(np.uint16)) - - - -# img.astype('uint8') - -# image = cv2.imdecode(thermal_img_np,4) -# print('Image Dimensions :', image.shape)