已回答
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...

15 years 前 | 1

已回答
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...

15 years 前 | 1

| 已接受

已回答
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.

15 years 前 | 0

已回答
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...

15 years 前 | 0

| 已接受

已回答
Represent an image as vector
vector = img(:);

15 years 前 | 0

已回答
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...

15 years 前 | 0

已提交


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

15 years 前 | 9948 次下载 |

4.9 / 5
Thumbnail

已回答
IFFT21
Yes. Use ifftshift before ifft2.

15 years 前 | 0

已提交


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

15 years 前 | 1734 次下载 |

0.0 / 5
Thumbnail

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

15 years 前 | 0

| 已接受

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

15 years 前 | 0

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

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

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

15 years 前 | 0

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

15 years 前 | 1

| 已接受

已回答
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 ...

15 years 前 | 0

已回答
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...

15 years 前 | 2

| 已接受

已回答
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...

15 years 前 | 0

| 已接受

已回答
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....

15 years 前 | 1

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

15 years 前 | 0

| 已接受

已回答
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...

15 years 前 | 0

已回答
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.

15 years 前 | 3

| 已接受

已回答
??? 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));

15 years 前 | 0

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

15 years 前 | 0

已回答
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...

15 years 前 | 0

已回答
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...

15 years 前 | 2

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

15 years 前 | 0

| 已接受

已回答
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 ...

15 years 前 | 0

| 已接受

加载更多