Community Profile

Active since 2011

#### Content Feed

View by

Question

finding submatrix and index
Hi I have the following matrix as two small sample matrix. I want to fill the matrix value zero with 1 between two diagonal 1. ...

circa 9 anni ago | 2 answers | 0

### 2

Question

How to do set subtraction
I have two array a=[1,2,3] and b=[2,3,4,5] I need a array c=b\a. Here \ is the set subtract operation. result is as follows: ...

oltre 9 anni ago | 2 answers | 0

### 2

Question

how to generate customize color
hi, I have a matrix m as follows: 1 1 1 1 3 3 3 4 4 4 1 1 1 1 ...

oltre 9 anni ago | 0 answers | 0

### 0

Question

subscript problem
I have a code as follows: hsv=rgb2hsv(iOrg); g=stdHue(hsv(:,:,1)*360); where stdHue is a user defined function. but it ...

oltre 10 anni ago | 1 answer | 0

### 1

Question

finding longest length
Hi ,I have a matrix as follows I = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

oltre 10 anni ago | 0 answers | 0

### 0

Question

color conversion
Hi I have three value r=60 g=120 b=50; I need to convert this in Luv color space what will be the formula.i.e i need correspo...

oltre 10 anni ago | 1 answer | 0

### 1

Question

problem in perimeter
hi, I have a matrix as follows: I = 0 0 0 0 0 0 0 0 1 1 0 0 ...

oltre 10 anni ago | 4 answers | 0

### 4

Question

finding homogineity of a portion of matrix
i have a matrix as follows: I = 1 1 1 1 8 1 2 1 1 8 8 8 2 1 ...

oltre 10 anni ago | 0 answers | 0

### 0

Question

finding homogineity of a matrix
I have the following code: [r c]=find(I==1); smallGrayImage=grayImage([r c]); smallGLCM=graycomatrix(smallGrayI...

oltre 10 anni ago | 1 answer | 0

### 1

Question

how to find uniformity of an image
I have an image I (colored image). I have standard deviation and entropy of the image say 7 and 5 How to get the uniformity of...

oltre 10 anni ago | 1 answer | 0

### 1

Question

conversion formula
I have three value h=20 s=60 v=30 I want to convert this value to Lab color space.i.e. the value of L , a,b Is there any one ...

oltre 10 anni ago | 1 answer | 0

### 1

Question

for loop problem
for i=1:a:20 idx=find(consecutiveDiff(:,1)==val(i)); a=numel(idx); end i need to increment the value i as th...

oltre 10 anni ago | 1 answer | 0

### 1

Question

finding value index within a range
hi i have a matrix a = 1 2 3 4 5 6 7 8 9 I need to find the index of those who...

circa 11 anni ago | 1 answer | 1

### 1

Question

combination problem
Hi suppose I have some values 1 2 3 4. I want to find all possible combination of these four, taking only two distinct elemen...

circa 11 anni ago | 1 answer | 0

### 1

Question

Hi suppose I have a matrix as follows: I = 1 1 2 2 1 1 3 1 1 1 2 2 I...

circa 11 anni ago | 0 answers | 0

### 0

Question

Hi suppose I have two variable idx1= 1 2 3 idx2= 4 5 I need to have a third variable idx3 where idx3= 1 2 3 4 5 ...

circa 11 anni ago | 1 answer | 0

### 1

Question

how to exit for loop
Hi, I have the following code: for m=1:10 for n=1:sz(2) if(Isingle(m,n)==1) ...

circa 11 anni ago | 2 answers | 1

### 2

Question

finding pixel near border
Hi, I have a matrix as follows: I = 1 0 0 0 0 1 0 1 0 0 1 0 0 ...

circa 11 anni ago | 1 answer | 0

### 1

Question

finding index inside a region
suppose I have a matrix I. I = 4 4 4 4 4 4 4 4 1 1 1 1 3 0 4 ...

circa 11 anni ago | 2 answers | 0

### 2

Question

finding lenght of each branch
Hi, I have a matrix as follows: I = 1 0 0 0 0 1 1 0 0 0 1 0 0 ...

circa 11 anni ago | 0 answers | 0

### 0

Question

function problem
I have a function function [I]=removehole(a,b,c) I=zeros(size(a)); I called this function from another file as follows: map=...

circa 11 anni ago | 1 answer | 0

### 1

Question

hist problem
I have the following code: out=I(outPixel); [counts,values] = hist(transpose(out),unique(out)); Frequency=[...

circa 11 anni ago | 1 answer | 0

### 1

Question

removing area
I have a code like this. CC = bwconncomp(I2); STATS = regionprops(CC,'Area'); idx = find([STATS.Area] <100); I2(idx)...

circa 11 anni ago | 3 answers | 0

### 3

Question

sub2ind problem for matrix
I have a matrix r = 6 1 5 2 4 3 3 3 2 3 1 2 2 3 ...

circa 11 anni ago | 1 answer | 0

### 1

Question

finding region
Hi I have a matrix as follows: I= 1 1 0 0 0 0 0 0 0 0 0 0 1 ...

circa 11 anni ago | 3 answers | 0

### 3

Question

finding interior or exterior points
Hi, I have a matrix as follows: I = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

circa 11 anni ago | 2 answers | 0

### 2

Question

finding neighbor of a position
Hi, I have a matrix. I = 1 0 0 2 5 0 0 0 3 0 0 0 I know the posi...

circa 11 anni ago | 4 answers | 1

### 4

Question

filling regions of matrix
Hi have a matrix. I = 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 ...

circa 11 anni ago | 2 answers | 0

### 2

Question

finding endpoints of a label
Hi, I have the following matrix. I = 0 0 0 0 0 1 1 1 0 0 0 0 0 ...

circa 11 anni ago | 3 answers | 0