Respondida
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...

casi 15 años hace | 1

Respondida
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...

casi 15 años hace | 1

| aceptada

Respondida
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.

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
Represent an image as vector
vector = img(:);

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Enviada


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

casi 15 años hace | 9948 descargas |

5.0 / 5
Thumbnail

Respondida
IFFT21
Yes. Use ifftshift before ifft2.

casi 15 años hace | 0

Enviada


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

casi 15 años hace | 1734 descargas |

0.0 / 5
Thumbnail

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

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

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

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
Circular window
*EDIT*: Deleted request for additional information. Modified reference to original question. Added suggested code. This relates...

casi 15 años hace | 1

| aceptada

Respondida
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 ...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 2

| aceptada

Respondida
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...

casi 15 años hace | 0

| aceptada

Respondida
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....

casi 15 años hace | 1

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

casi 15 años hace | 0

| aceptada

Respondida
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...

casi 15 años hace | 0

Respondida
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.

casi 15 años hace | 3

| aceptada

Respondida
??? 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));

casi 15 años hace | 0

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

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 0

Respondida
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...

casi 15 años hace | 2

Respondida
calling method (and sum'ing answer) on every class instance in a matrix
sum(arrayfun(@(x) GetTotal(x), myCollection))

casi 15 años hace | 0

| aceptada

Respondida
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 ...

casi 15 años hace | 0

| aceptada

Cargar más