Community Profile # Junaid

### Asian Institute of Technology

Last seen: 4 maanden 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.

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

bijna 4 jaar 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...

ongeveer 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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 ...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar 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.

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

bijna 10 jaar 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...

bijna 10 jaar 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...

bijna 10 jaar ago | 1

| accepted

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

ongeveer 10 jaar 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. ...

ongeveer 10 jaar 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.

ongeveer 10 jaar 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...

ongeveer 10 jaar 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...

ongeveer 10 jaar ago | 0

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

ongeveer 10 jaar ago | 1

| accepted

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

ongeveer 10 jaar 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 ...

ongeveer 10 jaar 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-...

ongeveer 10 jaar ago | 1

| accepted

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

ongeveer 10 jaar ago | 2

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

ongeveer 10 jaar ago | 3

| accepted