Réponse apportée
find most frequent characters in a string
One way to get the commonest n characters, in descending order of frequency: >> str = 'hello world'; >> n = 5; % number of...

plus de 14 ans il y a | 1

Réponse apportée
Segment Vehicles in crowded scene.
I suggest that you approach this by trying to generate a background image from the video. You are able to segment the images whe...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Feeding a vector to a cost function
How about CostFunction(vector(:,1), vector(:,2)) though whether this is useful depends on what you want to achieve.

plus de 14 ans il y a | 0

Réponse apportée
How to make intensity attenuated image or defocused image
Your question is not very clear, but I think you want to know how to take a focused image and generate a new image that simulate...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Represent an image as vector
vector = img(:);

plus de 14 ans il y a | 0

Réponse apportée
Sobel Edge Thresholds
I think there are two problems here. The first is that it's not clear exactly what the Sobel option in edge() really does, as...

plus de 14 ans il y a | 0

A soumis


Image correspondences using cross-correlation
Find matching features in pairs of images using normalised cross-correlation: class file and demo.

plus de 14 ans il y a | 6 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
IFFT21
Yes. Use ifftshift before ifft2.

plus de 14 ans il y a | 0

A soumis


Extended Brookshear Machine emulator and assembler
Emulator and assembler for a simple computer, a teaching aid for computer science courses.

plus de 14 ans il y a | 2 téléchargements |

0.0 / 5
Thumbnail

Réponse apportée
First and second derivative of the function using fft?
See my answer to <http://www.mathworks.co.uk/matlabcentral/answers/16141 this question>.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
CELL2CSV
Maybe you were using <http://www.mathworks.com/matlabcentral/fileexchange/7601-cell2csv this file exchange contribution>. It's u...

plus de 14 ans il y a | 0

Réponse apportée
SIFT feature extraction, Knowledge base classifier
Have a look at <http://vision.ucla.edu/~brian/papers/vedaldi10vlfeat.pdf VLFeat>.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
reaaranging filesnames
You can sort the filenames into the order you require like this. First, all the filenames need to be a cell array. Their orde...

plus de 14 ans il y a | 0

Réponse apportée
Slope Magnitude Technique with Sobel Operator
As Walter says, it's not clear what you mean by extracting shape. I'm also not sure whether you want help in implementing the th...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
JPG to RGB image?
JPEG images are read directly as rgb - so there's no map. So you don't need the call to ind2rgb (or the second result from imrea...

plus de 14 ans il y a | 0

Réponse apportée
Log gabor filter
This looks good: <http://www.csse.uwa.edu.au/~pk/research/matlabfns/PhaseCongruency/Docs/convexpl.html>

plus de 14 ans il y a | 0

Réponse apportée
Circular window
*EDIT*: Deleted request for additional information. Modified reference to original question. Added suggested code. This relates...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
with this code, im trying to display the results for (y0-y100). But im always getting the error. need help on this.thanks
In MATLAB, indices start from 1. The first time through the loop, the code tries to do this: y(1) = y(0)*1; but there is no ...

plus de 14 ans il y a | 0

Réponse apportée
Interpret string to form sequence of numbers
Could you ask the user to enter 4:9 instead of 4-9, and 12:2:20 instead of 12-20(2)? If so (and also if you can trust the user n...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
using classdef, is it possible to mix run-time data access through the dot syntax with methods elegantly?
"Elegantly" is hard to do in this context, I think. There's some discussion of this kind of issue <http://www.mathworks.co.uk/ma...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Writing matlab function to go through all the elements of its input
It's just z = hypot(x, y); The function automatically operates on all the x,y pairs and returns a matrix of the results....

plus de 14 ans il y a | 1

Réponse apportée
converting data from minutes to hours
>> data_minute = rand(180, 1); % synthetic data >> data_hour = mean(reshape(data_minute, 60, []))

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Sliding a circular window on an image for feature extraction...
If you know how to work with a sliding rectangular window, but you need to use a circular window instead, it might help to learn...

plus de 14 ans il y a | 0

Réponse apportée
Smoothing the edges of an image
If you use the edge() function, try the 'canny' option and adjust the sigma parameter to give edges as smooth as you need them.

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
??? Improper assignment with rectangular empty matrix.
I suspect your problem is that this line: X=x(1+(i-1)*step:seg+(i-1)); should read X=x(1+(i-1):step:seg+(i-1));

plus de 14 ans il y a | 0

Réponse apportée
renaming a cell
naming(1) is a cell, but naming{1} is a string. *EDIT*: added example >> naming = {'data1', 'data2', 'data3', 'data4'...

plus de 14 ans il y a | 0

Réponse apportée
starting with oop
You need to replace obj.t1=myclass.p(arg1); with obj.t1=myclass.pi(arg1); You're making the (I suspect quite com...

plus de 14 ans il y a | 0

Réponse apportée
folder in a directory
It's perhaps worth noting that 'folder' and 'directory' mean the same thing. Anyway, do you want something like this: files...

plus de 14 ans il y a | 2

Réponse apportée
calling method (and sum'ing answer) on every class instance in a matrix
sum(arrayfun(@(x) GetTotal(x), myCollection))

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Help with function dealing with struct and importing data.
I think the instruction about attaching the text file just means that you submit both the m-file (containing your code) and the ...

plus de 14 ans il y a | 0

| A accepté

Charger plus