Community Profile # Amir

16 total contributions since 2015

View details...

Contributions in
View by

Question

i have files in a folder and i want to re-number them in ascending order (increasing order ) of digits? Anyone provide help PLZ??
previously files are not named order wise e.g 1st file is named 23 then second file 34 , i want all files to be renamed from 1 t...

4 years ago | 1 answer | 0

### 1

can anyone provide a code for converting an connected binary component labelling into a 4-connected labelling??
There is one more thing ? if i store the positions of 1's of a binary image in an array, can i perform labeling by applying suit...

4 years ago | 0

Question

can anyone provide a code for converting an connected binary component labelling into a 4-connected labelling??
<</matlabcentral/answers/uploaded_files/28552/8-bit%20path.png>> I want to convert this 8 connected binary image into a 4 con...

4 years ago | 2 answers | 0

### 2

Question

i have this code of " Power law transformation " on an image ?? why is the error occuring ??
a = imread('pout.tif') imshow(a); title('Original Image') gray = rgb2gray(a); I = im2double(gray) [row col] = size(I); c=i...

4 years ago | 0 answers | 0

### 0

Question

I want to find whether the selected elements of a matrix are adjacent or not?
For e,g A=[0 1 1 0; 0 1 0 0] i have selected A(1,2), A(1,3), A(2,2) for use , i want to know that which pair is ad...

4 years ago | 2 answers | 0

### 2

Question

I want to know the position of all the 1's in the matrix in form of rows and cols ??
For example; A=[0 1 1 0;0 1 0 1] how would i find that (1,2) , (1,3) , (2,2) , (2,4) are 1's ?

4 years ago | 2 answers | 0

### 2

Question

i want an algorithm to convert an 8 connected labelling into a 4 connected labelling on this binary image ?

4 years ago | 1 answer | 0

### 1

Question

I have an 8-connected binary path in this image? I want to convert it to a 4-connected path , Suggest an algorithm in c ?

4 years ago | 0 answers | 0

### 0

Question

i want to make a function ''user(A,B,C)'' in which A is an image , B is [X,Y] / [R] where R, X,Y are numerical values and C is a string ? please help me out !
I want to implement if condition on B and C to obtain outputs but getting an error of "Undefined function for input arguments of...

5 years ago | 0 answers | 0

### 0

Question

i need to brighten or darken an 8 bit image by taking an input , a number between 0 (means no change ) and 100 (means intensity of all pixels is 255 ) , can anyone help ??
the aim is to perform brightness correction or contrast improvement using suggested algorithm !

5 years ago | 1 answer | 0

### 1

Question

how would i plot upper half of an ellipse in matlab using standar form?
(x^2/a^2) + (y^2/b^2) = 1

5 years ago | 1 answer | 0

### 1

Question

How would we use Euclidean Distance Method to assign colours to specific pixels of an image ? For eg. i want to add rainbow in the given image !

5 years ago | 1 answer | 0

### 1

Question

Plz explain this code ? why is the loop required , and how parameters are restricted in the 4th last line of the code ?
if true % code x=0:255; for i=1:20 if i==1;y=x; else x=[x;y]; end end p= 100*ones(16,200) ...

5 years ago | 0 answers | 0

### 0

Question

im uploading two codes which have different outputs. Wats the difference between these two pieces of code. I mean , why there outputs are different . Shudn't outputs be same ?
if true % code block=20*ones(200); block1=60*ones(500); block2=100*ones(500); block3=150*ones(500); block1(151:350,1...

5 years ago | 3 answers | 0