Answered
imshow - plotting a circular image, how to make corners white?
Could you share your matrix. Or try following command. colormap gray; This will make show boundary either black or white...

mer än 12 år ago | 0

Answered
quick itteration
Though your code requires cleaning but this code will generate exact output you are required. In your code there are many variab...

mer än 12 år ago | 1

Answered
quick itteration
I guess this can be done in one line without using for loop, and second line for plot. Could you tell us about L, N and other va...

mer än 12 år ago | 0

Answered
compressing a image
What you explained about ratio, you better use <http://en.wikipedia.org/wiki/Run-length_encoding Run length Encoding (RLE)>. You...

mer än 12 år ago | 2

Answered
Highlight a point on graph.
Lets say you have a curve, and you know one point which you want to highlight. Then simply plot that point with different marker...

mer än 12 år ago | 7

Answered
How to make mex file of C program in matlab
if it is mex file, its mean C code for matlab. then simply compile it by this command in matlab editor. mex unravel.c; ...

mer än 12 år ago | 2

| accepted

Answered
Testing/training set
it totally depends on type of dataset. One of the famous technique is <http://en.wikipedia.org/wiki/Cross-validation_(statistics...

mer än 12 år ago | 1

| accepted

Answered
finding the best match between set of images using SIFT algorithm
As I understood, you want to do image to image matching. Let say your template image is T, and you set of images D. Each image...

mer än 12 år ago | 3

| accepted

Answered
cell array
try like this. entryname=[entryname1 entryname2]; use [] instead of {}. I hope it will work.

mer än 12 år ago | 3

Answered
How can i capture image from webcame and save it in a folder ( for recognization)
May be this tutorial is helpful to you. <http://www.mathworks.com/matlabcentral/fileexchange/22792-video-tutorial-how-to-conn...

mer än 12 år ago | 1

Answered
Searching files
yes it is possible to search files. you can write code as you like. For example I want to search file 'test.txt' in current ...

mer än 12 år ago | 1

| accepted

Answered
How to add gaussian noise to the 1D signal
Other then obove given solution, this might work.. Let say your 1D signal is *H*, then GH = H.*fspecial('gaussian', size...

mer än 12 år ago | 1

Answered
K means clustering in ECG Signal
<http://www.vlfeat.org/ Vlfeat> is one the best opensource library for many computer vision and machine learning algorithms. It ...

mer än 12 år ago | 2

Answered
help about (=) operator
You might not be using US keyboard layout. About keyboard layouts <http://en.wikipedia.org/wiki/Keyboard_layout click here>. Tr...

mer än 12 år ago | 2

Answered
Help with For/If commands
Use switches .. I hope it will solve your problem. ex. switch choice case {1,4,6,7,8,10,11} % your code here...

mer än 12 år ago | 2

| accepted

Answered
image conversion
yes, you can convert color image to gray scale image, and gray scale image is 2-D image.

mer än 12 år ago | 2

Answered
random number generation within the defined range
As Daniel suggested that we might not get exactly what you want. But there can be several tricks. Once possible trick is that yo...

mer än 12 år ago | 2

Answered
How to put a good threshold in comparing images
It totally depends on type of images and applications. But you can keep various values of Threshold and on each value you calcul...

mer än 12 år ago | 2

| accepted

Answered
multiply col vector with matrix
You can do it like this. bsxfun(@times,M,N) If N is column vector then each colmn in M is multiplied by N, else if N is ...

mer än 12 år ago | 1

| accepted

Answered
crop image automatically
let say your image is I, and if you know your know the areas for your image to crop and those remain for all images then followi...

mer än 12 år ago | 2

Question


Vectorization
Let say I have Matrix *M* with *i* rows and *j* columns. And one constant number *a* is given. Final output Matrix should be *N*...

mer än 12 år ago | 2 answers | 0

2

answers

Question


rotate image
Dear all, Let say I have patch *P* and I want to rotate it in the direction of angle *T* (in degrees). Rotation should be si...

mer än 12 år ago | 2 answers | 0

2

answers

Answered
pixel value in given direction
let say you want to get point (x2,y2) then x2 = x1 + d * cos(T); y2 = y1 + d * sin(T); I hope this is what you wanted...

mer än 12 år ago | 2

| accepted

Answered
Publishing a Pdf
Hi, may be this discussion help you. <http://mathworks.com/matlabcentral/answers/26903-exporting-image-to-bounded-pdf>

nästan 13 år ago | 2

Answered
reordering the data
Second possible way is D = [1 2 3 4 5 6 7]; declare any temp variable to have the order of indices. For example. T ...

nästan 13 år ago | 2

Answered
magnitude and direction
I think you want to compute the SIFT right ? Anyway to divide the image into blocks, you can use following tip <http://mat...

nästan 13 år ago | 3

Answered
Euclidian Norm and Brightness between 2 images
then I guess for L you can do following. R1 = R1(:); R2 = R2(:); G1 = G1(:); G2 = G2(:); B1 = B1(:); B2 = B2(:); ...

nästan 13 år ago | 2

| accepted

Answered
magnitude and direction
what do you mean by direction of images. I hope you are talking about gradient value and direction (orientation) ?

nästan 13 år ago | 3

Answered
calculating the mean
Hi, could you please reformat the code. As it is difficult to see code. whenever you have line other then code then make that...

nästan 13 år ago | 1

Answered
edit-error in calculating dsit
Well I guess you want to get single scalar value as distance of A2 for each Chanel in A1. If so then I try to do in steps. There...

nästan 13 år ago | 2

| accepted

Load more