Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
about computing fft in wavenumber domain
Use fft(data, [], 2)

14 years ago | 0

| accepted

Answered
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 years ago | 0

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

14 years ago | 0

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

14 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
editor in matlab
Yes, unless you prepare your scripts and functions outside of the MATLAB environment.

14 years ago | 0

| accepted

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

14 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

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

14 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 3

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 6

| accepted

Answered
running mean of circular data (angles)
Have a look at doc unwrap

14 years ago | 0

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

14 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
Differences of images
You could start with imsubtract.

14 years ago | 0

Load more