Hadi Ghahremannezhad
Followers: 0 Following: 0
Feeds
提问
im2uint8 only generates 0 or 255
I am trying to present an image of class double using imshow. suppose this is the image: a = [78.4630409671845,90,0; 78.4...
4 years 前 | 1 个回答 | 1
1
个回答提问
How to compare two 3D matrices element-wise?
I have two RGB images (3D matrix: x, y, z) of the same size, and I wanted to compare the corresponding values. Suppose there ar...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to apply conditions to fill an area in 3D space?
I wanted to fill an area in 3D space using some conditions on a vector. Suppose the vector is: x1 = 100; y1 = 100; z1 = 100;...
4 years 前 | 0 个回答 | 0
0
个回答提问
Watermarking in the Frequency Domain
I am new in Matlab and I have an assignment that is asking for watermarking an image using DCT transform: Read Lin.jpg color im...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to get the threshold value from Otsu's method?
On MathWorks webpage for the function imbinarize it says: "Use graythresh or otsuthresh to compute a global image threshold." ...
4 years 前 | 0 个回答 | 0
0
个回答提问
how to apply low pass and high pass filters using fft2 and fftshift?
I am trying to apply low-pass and high-pass filters on a jpg image. The filters are calculated by: function [cL,cH] = getfilte...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to know the size of imageDatastore?
Is there a function that returns the total number of images in an imageDatastore? For example, if I load images from a director...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to binarize a grayscale image with multiple thresholds?
I am trying to convert a grayscale image into a binary image with two thresholds: img = a grayscale image b = the output bin...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to overlay a binary mask over an rgb image?
I am trying to overlay a binary mask over an RGB color image. I want to change the white area of the mask to a transparent red a...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to perform a sparse eigendecomposition in order to compute only the eigenvectors of smallest eigenvalues?
I have a large n * n sparse matrix called L. k is a given value. I am supposed to do this: "perform a sparse eigendecomposition...
5 years 前 | 0 个回答 | 0
0
个回答提问
How to create a custom matrix?
I want to create a matrix that look like this: The first n rows are all 0. The second n rows are calculated separately by som...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to enforce element-wise condition in matrix operations?
I am trying to use \ for Euler's backward method: where dt and lambda are constant numbers like: dt = 0.01 lambda = 0.5 an...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to implement backward Euler's method?
I am trying to implement these formulas: Forward Euler's method: this is what I have tried: x_new = (speye(nv)+ dt * lambda...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to calculate the volume of a 3D triangular mesh?
I have a pyramid with these vertices (each side is a triangle): [-4 0 5; 1 -5 5; 1 0 1; 1 5 5; 1 0 0] How can I calculate ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Matrix division does not work because of matrix dimensions
I have two matrices: A: 5 by 5 B: 5 by 3 How can I claculate matrix division as B divided by A? I have used: B / A B \ ...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to replace for loop with vectorization?
Is there any way I can replace this for loop with a vectorized approach? v = zeros(4, 3); ii = [1 ; 2 ; 3 ; 1 ; 3 ; 4]; res =...
5 years 前 | 2 个回答 | 0
2
个回答提问
How to perform norm on each row of a matrix?
I have a matrix and each row of the matrix is a vector. I want to perform norm function on each row of this matrix and save the ...
5 years 前 | 2 个回答 | 1
2
个回答提问
How to calculate determinant of matrices without loop?
I am new to Matlab and this might seem very easy. I have 2 matrices: a = [1 1 1; 2 2 2 ; 3 3 3 ; 4 4 4 ; 5 5 5]; ...
5 years 前 | 3 个回答 | 0