Réponse apportée
Circle detection from Irregular arcs.
This looks quite difficult, because the circles are not very circular. You could try the various Hough transforms for circles th...

plus de 15 ans il y a | 0

Réponse apportée
Finding tires on a car.
Also see rgb2gray from the Image Processing Toolbox. Note that you should not binarise your image before using Tao's code - i...

plus de 15 ans il y a | 0

Réponse apportée
zero crossing
In the context of images, the classic reference is the book "Vision" by David Marr, in which the idea of zero-crossings is heavi...

plus de 15 ans il y a | 1

Réponse apportée
Laplacian edge operator
I assume that the mask you applied in C++ was 0 -1 0 -1 4 -1 0 -1 0 and not what you gave in your comment to Oleg's...

plus de 15 ans il y a | 2

| A accepté

Réponse apportée
Image Stitching/Mosaicing
A common approach to this is to find distinctive features in each of the images, match them up on the basis of their local prope...

plus de 15 ans il y a | 0

Réponse apportée
How can i discard half of the fouier transformed (frenquncy domain) components NOT normal image ?
See the last part of my answer to <http://www.mathworks.com/matlabcentral/answers/754-2d-fft-problems-with-fftshift-setting-up-w...

plus de 15 ans il y a | 0

Réponse apportée
DTW(Dynamic Time Warping Algorithm)
Perhaps some of <http://www.mathworks.com/matlabcentral/fileexchange/?term=dtw these contributions> to the file exchange would h...

plus de 15 ans il y a | 0

Réponse apportée
iFFT for Band-pass Measurement
Solve the problem in two stages: # Read the data from the file into an array, containing complex values. See textread, or the...

plus de 15 ans il y a | 0

Réponse apportée
Image processing of confocal images (flattening)
I think this is quite difficult. There seem to be two problems with the images: one is the defocusing; the other is the change i...

plus de 15 ans il y a | 0

| A accepté

A soumis


2-D convolution using the FFT
Convolution in 2-D using the Fast Fourier Transform.

plus de 15 ans il y a | 3969 téléchargements |

4.33333 / 5

Réponse apportée
how to convert time domain data to frequency domain using fast fourier transform
See doc fft

plus de 15 ans il y a | 1

Réponse apportée
Isolate Digits in a number
Well, since Matt's answer has been accepted (!), I guess I might as well offer mine, for non-char input: nary = floor(c*10....

plus de 15 ans il y a | 1

Réponse apportée
What is the fastest way to do 2-D convolution in Matlab?
The FFT method may be faster if the two arrays to be convolved are of similar size. You can pad the smaller to be same size as t...

plus de 15 ans il y a | 8

| A accepté

Réponse apportée
vector not produced missing some '.' ?
If you don't understand the operators, the most straighforward thing is to use g = (0.30 ./ (2 .* (pi .* t .^ 3) .^ 0.5)) ....

plus de 15 ans il y a | 0

Réponse apportée
Image Processing ( calculate perimeter)
If you have the Image Processing Toolbox, have a look at using morphology operations to simplify the binary image into one blob....

plus de 15 ans il y a | 0

Réponse apportée
assigning probability
if rand < probability A1 = A2; end

plus de 15 ans il y a | 1

| A accepté

Réponse apportée
Matrix construction
The are a few problems with your code. One is the square brackets in the expression MATRIX([cont1:p*11,cont2:q*11]). This builds...

plus de 15 ans il y a | 1

| A accepté

Réponse apportée
checking that at least one value in a row of a matrix is greater than zero
if any(T(end, 1:end-(m+1)) < 0) % actions end

plus de 15 ans il y a | 0

Réponse apportée
set of points and derivative
It's not clear to me why you'd use the DOT function in this context rather than convolution? (I know convolution is just the dot...

plus de 15 ans il y a | 0

| A accepté

Réponse apportée
create M file
These are very general questions, and it would be easier to give an answer to a more specific problem. For your first question,...

plus de 15 ans il y a | 0

Réponse apportée
Convert Two Arrays into One Matrix Containing Incremented Between Values
bsxfun(@plus, I, 0:i(1)-I(1))

plus de 15 ans il y a | 0

| A accepté

Réponse apportée
Detecting ROI based on edges(Vertical) Density in image
If you have the Image Processing Toolbox, look at the edge function as a start for finding edges. It may be important to set a g...

plus de 15 ans il y a | 2

| A accepté

Réponse apportée
Variograms on Images
If I've understood correctly what you need, I'd use a function something like the following (which doesn't use blkproc or any of...

plus de 15 ans il y a | 0

| A accepté

Réponse apportée
Convert matrix to vector of structs
My answer to your subsequent question, <http://www.mathworks.com/matlabcentral/answers/4581-deleting-the-i-th-entry-from-all-fie...

plus de 15 ans il y a | 1

Réponse apportée
Deleting the i-th entry from all fields of a struct
Have a look at the section in the manual on "Organizing Data in Structure Arrays", also available <http://www.mathworks.com/help...

plus de 15 ans il y a | 4

Réponse apportée
finding specific value stored in cell
I assume your image dimensions are actually 200 x 200 x 3, and also that the call to mat2cell had the image as the first argumen...

plus de 15 ans il y a | 0

Réponse apportée
Finding neighbors of an object from labeled image
One possibility: % assume labelled array is called "labelled" label = 8; % label of object to find neighbours of o...

plus de 15 ans il y a | 0

Réponse apportée
random noise matlab.
There are many choices you might make for the distribution of the noise. For independent additive Gaussian noise you could do th...

plus de 15 ans il y a | 1

| A accepté

Réponse apportée
How can I use attribute GLOBAL efficiently?
If you find a real need to use global variables to share data between functions, consider adopting an object-based approach inst...

plus de 15 ans il y a | 0

Réponse apportée
regionprops
Try this for a start: img = zeros(5,5); img(2:4, 2:4) = 1; props = regionprops(img, 'PixelList'); disp(img); disp(pro...

plus de 15 ans il y a | 3

| A accepté

Charger plus