摘要:
[toc] 8邻域去噪 阅读全文
摘要:
中值滤波1 阅读全文
摘要:
``` import os from PIL import Image # filename = os.listdir("D:\\Work\\process\\样本处理\\polyu-all-train") # base_dir = "D:\\Work\\process\\样本处理\\polyu-all-train\\" # new_dir = "D:\\Work\\process\\样本处理\\ 阅读全文
摘要:
``` import matplotlib.pyplot as plt import numpy as np import math from PIL import Image import cv2 import os def rgb2gray(rgb): return np.dot(rgb[..., :3], [0.5,0.5,0]) def change_all_xml(path): file 阅读全文
摘要:
``` # --** coding="UTF-8" **-- # # author:SueMagic time:2019-01-01 import os import re import sys fileList = os.listdir(r"E:\正课\大二上\计算机网络\网络编程\图像去噪声\dice") # 输出此文件夹中包含的文件名称 # print("修改前:" + str(fileLi 阅读全文
摘要:
``` import os import random # trainval_percent = 1 # trainval占总数的比例 # train_percent = 0.8 # train占trainval的比例 # xmlfilepath = r'E:\正课\大二上\计算机网络\网络编程\tensorflow-deeplab_v3_plus\data\Taidi\Annotations' 阅读全文