Community Profile # Junaid

### Asian Institute of Technology

Last seen: 8 meses ago Active since 2011

#### Statistics

All
• • • • • • • • • • • #### Content Feed

View by

Submitted

Center-symmetric local binary patterns (CSLBP)
An extension of Local Binary Pattern (LBP), that is quantized in nature. Used as descriptor.

alrededor de 4 años ago | 4 downloads |

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

más de 4 años ago | 3

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

más de 9 años ago | 1

| accepted

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

casi 10 años ago | 0

| accepted

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

casi 10 años ago | 0

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

casi 10 años ago | 0

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

alrededor de 10 años ago | 0

| accepted

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

alrededor de 10 años ago | 0

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

alrededor de 10 años 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...

más de 10 años ago | 2 answers | 0

### 2

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

más de 10 años ago | 1

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

más de 10 años ago | 0

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

más de 10 años ago | 2

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

más de 10 años ago | 1

| accepted

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'); ...

más de 10 años ago | 1

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

más de 10 años ago | 1

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

más de 10 años ago | 1

| accepted

How to count average value from each row of matrix?
mean(A, 2) will you average by row.

más de 10 años ago | 0

| accepted

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

más de 10 años ago | 1

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

más de 10 años ago | 4

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

más de 10 años ago | 0

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

más de 10 años ago | 0

how to manipulate new point on graph?
hold your figure by following command. hold on; then add point. plot(x,y);

más de 10 años ago | 1

| accepted

initial centroid in k-means
Usually initial centroids are Random. You can initialize them with any values you like.

más de 10 años ago | 1

| accepted

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

más de 10 años ago | 1

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

más de 10 años ago | 1

| accepted

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

más de 10 años ago | 2

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

más de 10 años ago | 3

| accepted