自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 svd图像压缩代码

# -*- coding: utf-8 -*- """ Created on Mon Jan 10 16:51:39 2022 @author: Liu_Jun_Desktop """ import numpy as np from PIL import Image import xlrd import openpyxl import xlwt import pandas as pd import matplotlib.pyplot as plt def load_image(filepath):#.

2022-01-11 22:37:03 1510

原创 SVD图像处理数据写入代码excel代码:

import numpy as np from PIL import Image import xlrd import openpyxl # from pandas import options import xlwt import pandas as pd import matplotlib.pyplot as plt # options.io.excel.xlsx.write='xlsxwriter' def load_image(filepath):#下载图像 im = Image.ope.

2021-11-22 20:37:32 1155

原创 python调色

# import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt sns.set(rc={"figure.figsize": (6, 6)}) np.random.seed(sum(map(ord, "palettes"))) sns.color_palette() color_palette函数可以接受任何seaborn或者matplotlib颜色表中颜色名称(除了jet),也可.

2021-11-17 22:45:36 1493

原创 词云封装代码

from wordcloud import WordCloud from PIL import Image import numpy as np import matplotlib.pyplot as plt import jieba # 打开文本 def get_wordList(): with open(r"data/mytext.txt") as f: s = f.read() # 中文分词 text = ' '.join(jieba.cut(s)) return t.

2021-11-17 13:31:04 259

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除