extract the intersection of two matrices
Hi I have two matrices, one is binary (A) and other one with values between [0-1] (B). My aim is to extract the intersection of...
20 hours ago | 1 answer | 0
Extract pixel values inside a Binary Mask
I have an image and the ROI points. I did the following to extract the ROI by creating a binary mask with poly2mask. now I want ...
1 month ago | 1 answer | 0
Access to matrix elements
I have two matrices, A and B. I want to extract values of matrix A based on indexes of B. Consider B like a pixel position in a...
2 months ago | 1 answer | 0
Shanon entropy of a matrix
I defined a matrix like A and I want to calculate its entropy and when I use the entropy function it returns zero : A = [2,3,4...
4 months ago | 1 answer | 0
how to define a gradient colormap
I have different matrices with elements between zero and one, then I want to subtract some of them from each other and plot the ...
5 months ago | 2 answers | 0
Create a mask for different values
I want to subtract two images and show the results in another figure. For instance, if the subtraction matrix has 0 value indica...
5 months ago | 1 answer | 0
how to avoid for loops or faster way for compute 3x3 avarage value of an image
I have a few pixels in an image and I want to calculate the average values of a 3x3 window centred on those pixels in Matlab. ...
9 months ago | 1 answer | 0