# Junaid

### Asian Institute of Technology

Last seen: 2 years ago Active since 2011

Followers: 0   Following: 0

All

#### Feeds

View by

Submitted

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

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

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

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

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

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

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

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

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

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

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

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

12 years ago | 0

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

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

12 years ago | 2

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

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

12 years ago | 1

| accepted

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

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

12 years ago | 1

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

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

12 years ago | 0

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

12 years ago | 1

| accepted

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

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

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

12 years ago | 1

| accepted

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

12 years ago | 2

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

12 years ago | 3

| accepted

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

12 years ago | 2

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

12 years ago | 2