Code covered by the BSD License  

Highlights from
Joint entropy and histogram calculation for 3D+ images

Be the first to rate this file! 16 Downloads (last 30 days) File Size: 1.82 KB File ID: #41714

Joint entropy and histogram calculation for 3D+ images

by ja

 

13 May 2013

Reasonably fast. Build for any number of dimensions.

| Watch this File

File Information
Description

Set up for joint entropy only, but code for joint histogram is in there (just commented out).

This uses no for loops - only index manipulation. For a 512x512x128 image it took about a fourth of the time as the conventional for-loop method, and about a tenth of the time for a 16x16x4 image.

Only two inputs are 'needed,' per say, and those are the two images to be processed. However, it does speed things up to allocate memory outside the function for two other variables (as explained in the code).

Required Products Image Processing Toolbox
MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File  
Everyone's Tags
3d, joint entropy, joint histogram, nd
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us