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

12 years 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...

12 years 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...

12 years 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...

12 years 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...

12 years 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; ...

12 years 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...

12 years 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...

12 years ago | 3

| accepted

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

12 years 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...

12 years 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 ...

12 years 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...

12 years 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 ...

12 years 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...

12 years 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...

12 years ago | 2

| accepted

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

12 years 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...

12 years 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...

12 years 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 ...

12 years 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...

12 years 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*...

12 years 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...

12 years 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...

12 years 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>

13 years 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 ...

13 years 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...

13 years 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(:); ...

13 years 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) ?

13 years 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...

13 years 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...

13 years ago | 2

| accepted

Load more