回答済み
matlab code to smooth and enhance the fingerprint image
A partial answer: to smooth the image you can use fspecial to generate a Gaussian smoothing mask, and conv2 to convolve it with ...

14年以上 前 | 0

回答済み
better detection of -45 degree line edges using kernel
First, this is a bar detector, not an edge detector, so it isn't comparable with the Canny edge detector. Second, an important ...

14年以上 前 | 0

回答済み
selecting the highest value
I don't understand why the first row of your result is not 1 2 03 .6 98 as 98 is bigger than 90. Assuming you...

14年以上 前 | 0

| 採用済み

回答済み
Maximum value of the function
There are three problems with your code. First, this is a normal numerical computation, so you don't need subs V at the start. ...

14年以上 前 | 0

回答済み
Help to vectorize this matrix operation
Try preallocating TCH. Instead of setting it initially to [], work out its final size, and set it initially to a matrix of zeros...

14年以上 前 | 0

回答済み
about computing fft in wavenumber domain
Use fft(data, [], 2)

14年以上 前 | 0

| 採用済み

回答済み
Does the fft automatically use a dft algorithm?
The DFT isn't an algorithm: it's a mathematical formula that defines the transform. You can find the formula in textbooks and in...

14年以上 前 | 0

回答済み
what is a variable
See this <http://en.wikipedia.org/wiki/Variable_%28computer_science%29 Wikipedia article>, or any programming textbook.

14年以上 前 | 0

回答済み
edge detection using fourier transform
See the code in my answer to <http://www.mathworks.co.uk/matlabcentral/answers/16141 this question>.

14年以上 前 | 1

回答済み
Sudden error occurs on executing Matlab program
Try changing the current MATLAB directory to the folder containing your M-files, or else adding that folder to your MATLAB path,...

14年以上 前 | 0

回答済み
finding homogineity of a matrix
The first two lines do not look correct: [r c]=find(I==1); smallGrayImage=grayImage([r c]); Indexing grayImage this way do...

14年以上 前 | 0

| 採用済み

回答済み
How to convert an array into matrix of different sized cloumns
A matrix, by definition, has the same number of elements in each column, and the same number of elements in each row. Two possi...

14年以上 前 | 0

| 採用済み

回答済み
editor in matlab
Yes, unless you prepare your scripts and functions outside of the MATLAB environment.

14年以上 前 | 0

| 採用済み

回答済み
matrix manipulation
A1 = A(1:2, 1:3); A2 = A(1:2, 4:7); and so on.

14年以上 前 | 0

回答済み
How to summon a double variable that it's name was stored in a string?
Use *eval*. For example xxx = 3; % variable with value varname = 'xxx'; % name of variable stored as a string % ....

14年以上 前 | 1

| 採用済み

回答済み
Edge detector performance (Pratt's Figure of Merit)
The Pratt measure requires a "gold standard" - that is, something that gives you perfect or ideal edges for your images. You cou...

14年以上 前 | 1

| 採用済み

回答済み
Finding speed of vehicles using dopler shift
If the spectrum has a definite peak you can use that to estimate the dominant frequency of the sound before and after the vehicl...

14年以上 前 | 0

回答済み
why does it not work on my matlab this example from the book
The second end is the end of the function. If you run the code outside a function, you must omit it.

14年以上 前 | 0

| 採用済み

回答済み
For Loop Help Needed
It would help if you told us which is line 18, but I'm guessing it's probably the one that says: for Order.Low = X, since th...

14年以上 前 | 0

| 採用済み

回答済み
How do i change my image
Have a look at *rgb2gray*. Alternatively, consider applying imhist to the separate colour planes.

14年以上 前 | 0

| 採用済み

回答済み
creating a frame(image), randn
Your existing code will clip the pixel values at 0 and 1, so all the negative values are shown as black and all values greater t...

14年以上 前 | 0

| 採用済み

回答済み
What does +(A>0) do?
Looks like someone is forcing the class of A to be double rather than logical. A = double(A>0) would have the same effec...

14年以上 前 | 3

| 採用済み

回答済み
1D median filtering
Assuming your data are stored as a row vector D, and the sampling interval is T ms, and you have the Image Processing Toolbox, y...

14年以上 前 | 1

| 採用済み

回答済み
How to identified left side or right side view mammogram by using mean?
If LM and RM are images, you need to say mean_LM = mean(LM(:)); mean_RM = mean(RM(:)); If that's not the problem, you...

14年以上 前 | 0

| 採用済み

回答済み
Creating multiple instances of a class from within a class
The line obj.patient = patientClass(patientID); does indeed overwrite the single patient stored in trialClass. One so...

14年以上 前 | 0

回答済み
what is the difference between conv2, filter2 and imfilter..?
filter2 and conv2 do almost the same thing: the results are related like this: conv2(image, mask) is the same as filter2(rot90...

14年以上 前 | 6

| 採用済み

回答済み
running mean of circular data (angles)
Have a look at doc unwrap

14年以上 前 | 0

回答済み
image magnification
If you have the Image Processing Toolbox, you can use imresize to do this: imnew = imresize(imold, scale);

14年以上 前 | 1

| 採用済み

回答済み
try and catch help
A better solution, and better practice in general, is for the code in the catch block to check the identifier of the error. If i...

14年以上 前 | 0

回答済み
Differences of images
You could start with imsubtract.

14年以上 前 | 0

さらに読み込む