COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### image fusion using laplacian pyramid #3

• Follow

```how to calculate cross entropy if the image
```
 0

```If you provide the formula, and your attempt at coding it up in
MATLAB, then we could correct your MATLAB code for you.
```
 0

```ImageAnalyst <imageanalyst@mailinator.com> wrote in message <eb160556-ef87-40fd-80fc-dd6e07bc0aa5@l20g2000yqe.googlegroups.com>...
> If you provide the formula, and your attempt at coding it up in
> MATLAB, then we could correct your MATLAB code for you.
overall cross entropy of the source images I1, I2 and the fused image If is:
CE(I1,I2;I3)=CE(I1;If)+CE(I2;If)/2;

where   CE(I1;If)= Summation from i=0 to L (hI1* log(hI1/hIf));
CE(I2;If)= Summation from i=0 to L (hI2* log(hI2/hIf));
where h is histogram of the image...
```
 0
Reply psangulgi (5) 9/1/2010 5:19:04 AM

```overall cross entropy of the source images I1, I2 and the fused image If is:
CE(I1,I2;I3)=CE(I1;If)+CE(I2;If)/2;
where   CE(I1;If)= Summation from i=0 to L (hI1* log(hI1/hIf));
CE(I2;If)= Summation from i=0 to L (hI2* log(hI2/hIf));
where h is histogram of the image...
```
 0
Reply psangulgi (5) 9/1/2010 10:26:24 AM

```Can you give some sample code, using the standard MATLAB demo images
on how to generate "lf".
After that it looks like you just use the cumsum() function to compute
your sum as a function of L.
```
 0

4 Replies
838 Views

Similiar Articles:

7/20/2012 9:09:22 PM