Submitted

Center-symmetric local binary patterns (CSLBP)

An extension of Local Binary Pattern (LBP), that is quantized in nature. Used as descriptor.

3 years ago | 6 downloads |

Answered

Euclidian Norm and Brightness between 2 images

You question is not quite clear, if you take the Euclidean norm between two images, then the formula you have written would retu...

Euclidian Norm and Brightness between 2 images

You question is not quite clear, if you take the Euclidean norm between two images, then the formula you have written would retu...

3 years ago | 3

Answered

How to select only one column from multiple matrices, to create a new matrix of them?

this should work str = 'acc_'; index = 1; final = zeros(2560,797); % declare your new matrix for i=1:797 new_st...

How to select only one column from multiple matrices, to create a new matrix of them?

this should work str = 'acc_'; index = 1; final = zeros(2560,797); % declare your new matrix for i=1:797 new_st...

8 years ago | 1

| accepted

Answered

Threshold the matrix with vector

One possible way is .. lets us assume that N is 1 x n vector N = repmat(N,size(M,1),1); M_binary = M > N; or...

Threshold the matrix with vector

One possible way is .. lets us assume that N is 1 x n vector N = repmat(N,size(M,1),1); M_binary = M > N; or...

8 years ago | 0

| accepted

Answered

Why Matlab publish code function show only the last figure of every cell?

If there are different plot figures then there should be *subplot* function, or if on one figure you have many curves, then af...

Why Matlab publish code function show only the last figure of every cell?

If there are different plot figures then there should be *subplot* function, or if on one figure you have many curves, then af...

8 years ago | 0

Answered

while using som how to cluster the data into three clusters?

Try using <http://www.vlfeat.org/ VLFEAT> matlab implementation for Clustering, it has many algorithms with tutorial and example...

while using som how to cluster the data into three clusters?

Try using <http://www.vlfeat.org/ VLFEAT> matlab implementation for Clustering, it has many algorithms with tutorial and example...

8 years ago | 0

Answered

Precision and Recall based on Matrix

As I understand, you have 10 copies for your each given searching image. So I try to do it with loops based on some assumptions ...

Precision and Recall based on Matrix

As I understand, you have 10 copies for your each given searching image. So I try to do it with loops based on some assumptions ...

8 years ago | 0

| accepted

Answered

How to find minimum or maximum value

min (matrix) return the minimum. If you have more then one matrix with different dimensions then you can do it like this. Let...

How to find minimum or maximum value

min (matrix) return the minimum. If you have more then one matrix with different dimensions then you can do it like this. Let...

8 years ago | 0

Answered

How to get the binary value inside the binary image?

Could you explain the example little more. Let say you have binary image *B*, it is already binary so you can convert into ar...

How to get the binary value inside the binary image?

Could you explain the example little more. Let say you have binary image *B*, it is already binary so you can convert into ar...

8 years ago | 2

| accepted

Question

reduce the length by summing the bins

dear all, Let say I have matrix of Histograms, where each column is one histogram vector. What I want is to sum two bins each...

9 years ago | 2 answers | 0

Answered

How to these permutations?

Take a look over <http://www.mathworks.com/matlabcentral/fileexchange/20011-nchoose-v2-1-mar-2010 this link>. This might be usef...

How to these permutations?

Take a look over <http://www.mathworks.com/matlabcentral/fileexchange/20011-nchoose-v2-1-mar-2010 this link>. This might be usef...

9 years ago | 1

Answered

Compare two strings based on ASCII dictionary order

Can you give one example. As I understand, you can do it by compare operator. a = 'abd'; b = 'abc'; a <= b out...

Compare two strings based on ASCII dictionary order

Can you give one example. As I understand, you can do it by compare operator. a = 'abd'; b = 'abc'; a <= b out...

9 years ago | 0

Answered

image/ imagesc of matrix

A=randn(100,200); T=linspace(1,40,200); imagesc(A) datefmt = 'HH:MM'; %adjust as appropriate xticks = 1:20:20...

image/ imagesc of matrix

A=randn(100,200); T=linspace(1,40,200); imagesc(A) datefmt = 'HH:MM'; %adjust as appropriate xticks = 1:20:20...

9 years ago | 1

Answered

matrix

C = A * B; Just make sure that dimensions of A and B are consistent to be multiplied as Suggested by Wayne King above.

matrix

C = A * B; Just make sure that dimensions of A and B are consistent to be multiplied as Suggested by Wayne King above.

9 years ago | 1

| accepted

Answered

image/ imagesc of matrix

could you share your code. For quick answer. You can change the x label by this. xlabel('This is the label caption'); ...

image/ imagesc of matrix

could you share your code. For quick answer. You can change the x label by this. xlabel('This is the label caption'); ...

9 years ago | 1

Answered

Averaging Matrix and store it in a new matrix

try this if it works for you. x = [1 2 3 4; 5 6 7 8; 9 10 11 12;13 14 15 16]; f = fspecial('average',3,3); % create filter...

Averaging Matrix and store it in a new matrix

try this if it works for you. x = [1 2 3 4; 5 6 7 8; 9 10 11 12;13 14 15 16]; f = fspecial('average',3,3); % create filter...

9 years ago | 1

Answered

distance between two matrices

hamming is not for hamming distance I guess. What is the type of input you want to compute the hamming distance. Hamming dist...

distance between two matrices

hamming is not for hamming distance I guess. What is the type of input you want to compute the hamming distance. Hamming dist...

9 years ago | 1

| accepted

Answered

How to count average value from each row of matrix?

mean(A, 2) will you average by row.

How to count average value from each row of matrix?

mean(A, 2) will you average by row.

9 years ago | 0

| accepted

Answered

error using ==> times

I think whatever vector you are trying to multiplying should have same class (data types). So first you type cast to one class. ...

error using ==> times

I think whatever vector you are trying to multiplying should have same class (data types). So first you type cast to one class. ...

9 years ago | 1

Answered

How to round the decimals?

This also works. X = 0.135678; Y = sprintf('%.2f',X) You can set as many decimals as you want.

How to round the decimals?

This also works. X = 0.135678; Y = sprintf('%.2f',X) You can set as many decimals as you want.

9 years ago | 4

Answered

Generation of a matrix

you can generate matrix by number of ways. For example: m = zeros(m,n); m is the matrix of m rows and n columns. If matrix...

Generation of a matrix

you can generate matrix by number of ways. For example: m = zeros(m,n); m is the matrix of m rows and n columns. If matrix...

9 years ago | 0

Answered

rescale histogram

I guess if you normalize your histogram, you will your desired output .. May be ? As after normalizing your histogram, the su...

rescale histogram

I guess if you normalize your histogram, you will your desired output .. May be ? As after normalizing your histogram, the su...

9 years ago | 0

Answered

how to manipulate new point on graph?

hold your figure by following command. hold on; then add point. plot(x,y);

how to manipulate new point on graph?

hold your figure by following command. hold on; then add point. plot(x,y);

9 years ago | 1

| accepted

Answered

initial centroid in k-means

Usually initial centroids are Random. You can initialize them with any values you like.

initial centroid in k-means

Usually initial centroids are Random. You can initialize them with any values you like.

9 years ago | 1

| accepted

Answered

Loading images in a variable..

you share what is your error and also post that in error as new Question. In given code. ([*.jpg']); should be this ...

Loading images in a variable..

you share what is your error and also post that in error as new Question. In given code. ([*.jpg']); should be this ...

9 years ago | 1

Answered

How to find the Union of two 2D arrays of different size

in your given example, either dimension should be same, A and b should have same number of columns. I think you can make your 2-...

How to find the Union of two 2D arrays of different size

in your given example, either dimension should be same, A and b should have same number of columns. I think you can make your 2-...

9 years ago | 1

| accepted

Answered

Loading images in a variable..

There are number of methods to compare two images. Most famous are Histogram based comparison, Entropy based comparison-- these ...

Loading images in a variable..

There are number of methods to compare two images. Most famous are Histogram based comparison, Entropy based comparison-- these ...

9 years ago | 2

Answered

Loading images in a variable..

let say your Directory where you image is myDir = 'images/'; and extension of all images are jpg ext_img = '*.jpg'...

Loading images in a variable..

let say your Directory where you image is myDir = 'images/'; and extension of all images are jpg ext_img = '*.jpg'...

9 years ago | 3

| accepted

Answered

Loading images in a variable..

to load image in a variable. a = imread('myimage.jpg'); and you can check ... imshow(a); and you can do any ...

Loading images in a variable..

to load image in a variable. a = imread('myimage.jpg'); and you can check ... imshow(a); and you can do any ...

9 years ago | 2

Answered

memory allocation problem

one way is to increase the RAM. or try to understand your data. If your data is integer and its class (data type) is double then...

memory allocation problem

one way is to increase the RAM. or try to understand your data. If your data is integer and its class (data type) is double then...

9 years ago | 2