본문 바로가기

CV3

[CV] 이미지 유사성 평가 지표 SSIM 정리 최근에 학위보고서를 하나 쓰면서 이미지와 적대적 공격에 대한 작업을 진행했는데, 그 중 적대적 공격의 성능 평가지표로 많은 논문들이 사용하는 SSIM 지표에 대해 정리해보고자 한다. https://ieeexplore.ieee.org/document/1284395 Image quality assessment: from error visibility to structural similarityObjective methods for assessing perceptual image quality traditionally attempted to quantify the visibility of errors (differences) between a distorted image and a reference image.. 2025. 1. 6.
[CV] opencv ImportError: libGL.so.1: 오류 해결법 엘리스클라우드에서 코딩을 하고 있었는데 처음 opencv를 설치하고 import하니 다음과 같은 오류가 발생했다. ImportError: libGL.so.1: cannot open shared object file: No such file or directory 이런 문제는 코랩 같은 클라우드 환경을 사용할 때 자주 일어나는 것으로 보인다. 다행히 어렵지 않게 해결법을 찾아서 공유한다. https://hufs4programming.tistory.com/59 [opencv]ImportError: libGL.so.1: cannot open shared object file: No such file or directory 에러 발생시 해결1. 문제 발생 쿠버플로우 환경의 주피터노트북에서 opencv를 사용하고.. 2024. 12. 8.
[CV] OpenCV cv2 imread() 할 때 can't open/read file: check file path/integrity 오류 해결 요즘 이미지 처리 작업을 하고 있어서 cv2 라이브러리를 많이 사용하는데, 하루는 이런 오류가 발생했다.  integrity가 맞지 않아서 오류가 발생하는 것.구글링을 해본 결과 해답을 얻을 수 있었다.https://stackoverflow.com/questions/72022176/warning-cant-open-read-file-check-file-path-integrity warning can't open/read file: check file path/integrityimages_per_class = 80 fixed_size = tuple((500, 500)) train_path = "dataset/train" train_labels = os.listdir(train_path) for trainin.. 2024. 12. 4.