I have two images each of "48(rows) X 366(columns)", and want to calculate the Mutual Information between the images by using a sliding window of size "4(rows) X 30(columns)" window size. The mutual information to be gathered also at row lag from -4 to 4. Here, lag means the images to be shifted a maximum upward row-shift of 4 rows and also downward row-shift upto 4 rows. So, it will be really helpful, if someone can tell, how can I code this thing in R and also provide the solution to this problem. Thank you so much.

More Sayan Mukhopadhaya's questions See All
Similar questions and discussions