CITY LOG / SECTOR 01

CVE 취약점 분석부터
디지털 포렌식까지_

최신 CVE 취약점 분석, 패치 확인 방법, 디지털 포렌식과 보안 공부 기록을 정리합니다.

기록 탐험하기
기록 접속 중READ. BUILD. REPEAT.WORLD 01 ● ● ●

EXPLORATION LOG

기록 보관소 /

SELECT YOUR NEXT QUEST

RGB python

1개의 기록
Language

RGB image analysis.py

import numpy as npimport mpl_toolkits.mplot3d.axes3d as p3import matplotlib.pyplot as pltimport colorsysfrom PIL import Image # (1) Import the file to be analyzed!img_file = Image.open("sunset.jpg")img = img_file.load() # (2) Get image width & height in pixels[xs, ys] = img_file.sizemax_intensity = 100hues = {} # (3) Examine each pixel in the image filefor x in xrange(0, xs): for y in xrange(0, ..

2016. 12. 21.기록 열기 ↗