Fast mutual information of two images or signals

버전 1.6 (2.26 KB) 작성자: Jose Delpiano
Optimized function for mutual information of two images or signals
다운로드 수: 16.3K
업데이트 날짜: 2015/2/23

라이선스 보기

Usage: I=mi(A,B), where A and B are equally sized images/signals.
Function hist2 (included) is used to determine the joint histogram of the images/signals.

Assumptions: 1) 0*log(0)=0, 2) mutual information is obtained on the intersection between the supports of partial histograms.

Example (in mi_test.m):

disp('Test: Mutual information between two images')
load mri
A=D(:,:,8);
B=D(:,:,9);
mi(A,B)

disp('Test: Mutual information between two signals')
load garchdata
nasdaq = price2ret(NASDAQ);
nyse = price2ret(NYSE);
mi(nasdaq,nyse)

인용 양식

Jose Delpiano (2025). Fast mutual information of two images or signals (https://kr.mathworks.com/matlabcentral/fileexchange/13289-fast-mutual-information-of-two-images-or-signals), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Image Arithmetic에 대해 자세히 알아보기
도움

도움 준 파일: Image mutual information, image_MI.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.6

Available as toolbox

1.5.0.0

Speed improvements suggested in comments by Andrew Hill.

1.1.0.0

Added support for signals (1D matrices) and for non-double images.

1.0.0.0

Needed modification of input arguments. Example added.