Community Profile

# Junaid

### Asian Institute of Technology

Last seen: bijna 2 jaar ago Active since 2011

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

meer dan 5 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...

meer dan 10 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...

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

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

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

meer dan 11 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...

meer dan 11 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...

meer dan 11 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...

meer dan 11 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...

meer dan 11 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.

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

meer dan 11 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...

meer dan 11 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...

meer dan 11 jaar ago | 1

| accepted

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

meer dan 11 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. ...

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

meer dan 11 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...

meer dan 11 jaar ago | 0

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

meer dan 11 jaar ago | 1

| accepted

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

meer dan 11 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 ...

meer dan 11 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-...

meer dan 11 jaar ago | 1

| accepted

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

meer dan 11 jaar ago | 2

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

meer dan 11 jaar ago | 3

| accepted

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

meer dan 11 jaar ago | 2