1,167 total contributions since 2017

#Image Processing

#Whatsapp+91-8387942066

#Alma-mater Tezpur University India

Answered

How to plot log-normal probability with x and y values?

Based on the data provided by you, it shows the following plot. x=[44 38 36 35 27 26.5 26 26 24 23.5 23 23 21 20.5...

How to plot log-normal probability with x and y values?

Based on the data provided by you, it shows the following plot. x=[44 38 36 35 27 26.5 26 26 24 23.5 23 23 21 20.5...

1 day ago | 0

Answered

Avoiding coloured pixels in text

Chnage the color of Text, there are multiple features to change the color of the text RGB = insertText(I,position,text_str,'Fo...

Avoiding coloured pixels in text

Chnage the color of Text, there are multiple features to change the color of the text RGB = insertText(I,position,text_str,'Fo...

1 day ago | 0

Answered

Finding series/pattern in an array

I have answered this question with help of @Jan Answer's here A =[0 0 0 1 3 6 9 10 10 10 10 10 0 0]; d=[true,diff(A)~=0,true];...

Finding series/pattern in an array

I have answered this question with help of @Jan Answer's here A =[0 0 0 1 3 6 9 10 10 10 10 10 0 0]; d=[true,diff(A)~=0,true];...

2 days ago | 0

Answered

Index exceeds matrix dimensions error message

Yoi defined z3 as scalar, but in the while loop you trying acess it as vectors #Defined here z3=1.23; # while z3(i)>=0 ...

Index exceeds matrix dimensions error message

Yoi defined z3 as scalar, but in the while loop you trying acess it as vectors #Defined here z3=1.23; # while z3(i)>=0 ...

2 days ago | 0

Answered

correlation coefficient of two images

I have tested it with my sample images, there is no issue A=imread('11.png'); % Read any Gray Image [r,c,ch]=size(A); % C...

correlation coefficient of two images

I have tested it with my sample images, there is no issue A=imread('11.png'); % Read any Gray Image [r,c,ch]=size(A); % C...

2 days ago | 0

Answered

how can I seperate magnitude and phase from an image using 2d dft?(fft2)

Do the same for considering two images and show mag1+phase1 and so on, here I have shown how you calculate the mag and phase for...

how can I seperate magnitude and phase from an image using 2d dft?(fft2)

Do the same for considering two images and show mag1+phase1 and so on, here I have shown how you calculate the mag and phase for...

2 days ago | 1

| accepted

Answered

I need to create letter K with 20 pixel by 20 pixel by plotting

"Now I want to know how to rotate this letter 90 degrees" n=5; % size of matrix x=[2 2 2 3 4 4 4 ]; % x-coordinate y=[1 2 3 ...

I need to create letter K with 20 pixel by 20 pixel by plotting

"Now I want to know how to rotate this letter 90 degrees" n=5; % size of matrix x=[2 2 2 3 4 4 4 ]; % x-coordinate y=[1 2 3 ...

2 days ago | 0

| accepted

Answered

For loop in image translation?

If you want to store in the cell array, may be this one: 3D cell array, due to multiple undefined variables, hence I can't check...

For loop in image translation?

If you want to store in the cell array, may be this one: 3D cell array, due to multiple undefined variables, hence I can't check...

3 days ago | 0

Answered

what does "Undefined function 'f_integration' for input arguments of type 'double' " mean

Because f_integration & K_matrix are not Matlab inbuilt functions, hence you have to defined both function file in the same dire...

what does "Undefined function 'f_integration' for input arguments of type 'double' " mean

Because f_integration & K_matrix are not Matlab inbuilt functions, hence you have to defined both function file in the same dire...

3 days ago | 1

| accepted

Answered

Write a loop that sums and subtracts elements with a lower and upper limit?

The thing i cannot implement is that the value should stop adding values to P_stored once the value lim_max = 500 is reached and...

Write a loop that sums and subtracts elements with a lower and upper limit?

The thing i cannot implement is that the value should stop adding values to P_stored once the value lim_max = 500 is reached and...

3 days ago | 0

Answered

Get (automatically) position of pixels that are white in my binary mask image

"Get (automatically) position of pixels that are white in my binary mask image" Let suppose im1 is a binary image [r c]=find(i...

Get (automatically) position of pixels that are white in my binary mask image

"Get (automatically) position of pixels that are white in my binary mask image" Let suppose im1 is a binary image [r c]=find(i...

4 days ago | 0

| accepted

Answered

How to solve "Index exceeds the number of array elements (39)."

The problem is here z0Le(i) = z0LtW(i-1); x0Le(i) = x0LtW(i-1); When the loop iterate for first i=1, then, in the else state...

How to solve "Index exceeds the number of array elements (39)."

The problem is here z0Le(i) = z0LtW(i-1); x0Le(i) = x0LtW(i-1); When the loop iterate for first i=1, then, in the else state...

5 days ago | 0

Answered

Capture Matrix Results from For Loop for Plotting - MATLAB

How can this possible, you are trying to plot i vs x, where i is scalar (single value) and x is vector having length 3. x = -...

Capture Matrix Results from For Loop for Plotting - MATLAB

How can this possible, you are trying to plot i vs x, where i is scalar (single value) and x is vector having length 3. x = -...

5 days ago | 0

Answered

vector is not overwritten after certain interation during loop

for a=1:n k=k0+num(:,a); stpx(a)= stpx_0+[stpx(k(1,1));stpx(k(2,1));stpx(k(3,1));stpx(k(4,1));stpx(k(5,1))]; stpy...

vector is not overwritten after certain interation during loop

for a=1:n k=k0+num(:,a); stpx(a)= stpx_0+[stpx(k(1,1));stpx(k(2,1));stpx(k(3,1));stpx(k(4,1));stpx(k(5,1))]; stpy...

5 days ago | 0

Answered

graph cuts result produce two image

Your question is still not clear, but I am trying to answer In the code, "if condition" true, then only it shows first figure wi...

graph cuts result produce two image

Your question is still not clear, but I am trying to answer In the code, "if condition" true, then only it shows first figure wi...

5 days ago | 0

| accepted

Answered

change initial condition with binary data in matlab

"change initial condition with binary data in matlab" Is this? Change here u(:,1)=randi([0 1],nx,1) And uk(:,2) =randi(...

change initial condition with binary data in matlab

"change initial condition with binary data in matlab" Is this? Change here u(:,1)=randi([0 1],nx,1) And uk(:,2) =randi(...

5 days ago | 0

Answered

hello, how can I resolve this?

data=[2 1 2 1 2 2 4 1 2 3 8 1 2 4 16 1 2 5 32 1 2 6 64 1 2 7 128 1 2 8 256 ...

hello, how can I resolve this?

data=[2 1 2 1 2 2 4 1 2 3 8 1 2 4 16 1 2 5 32 1 2 6 64 1 2 7 128 1 2 8 256 ...

5 days ago | 0

| accepted

Answered

How to erode certain parts of an image

You can do that in multiple ways: result1=bwareafilt(binary_image,1); result2=~bwareafilt(~result1,9); imshow(result2)

How to erode certain parts of an image

You can do that in multiple ways: result1=bwareafilt(binary_image,1); result2=~bwareafilt(~result1,9); imshow(result2)

7 days ago | 0

| accepted

Answered

How to draw ROC for 6 algorithms

See here to draw ROC %Draw the ROC of individual algo hold on;

How to draw ROC for 6 algorithms

See here to draw ROC %Draw the ROC of individual algo hold on;

7 days ago | 0

Answered

Best way to vary the threshold value of a greyscale image

Let say im is the gray image, assumed you are try to convert gray to binary % Define all threshold values here, you would like ...

Best way to vary the threshold value of a greyscale image

Let say im is the gray image, assumed you are try to convert gray to binary % Define all threshold values here, you would like ...

7 days ago | 0

Answered

problem in plotting figure

In the line no 44, see both variable have different lengths, how can plot two different lengths vectors here plot(tvec,abs(z...

problem in plotting figure

In the line no 44, see both variable have different lengths, how can plot two different lengths vectors here plot(tvec,abs(z...

7 days ago | 0

Answered

Correcting blsprice(...) when I have negative foreign rate

[call, put]=blsprice(stock,strike,rate,time,volatility) See more details here

Correcting blsprice(...) when I have negative foreign rate

[call, put]=blsprice(stock,strike,rate,time,volatility) See more details here

8 days ago | 0

Answered

Array of images indexing

Use cell array data={frame1,frame2,........} Frame is an image, you can same multiple frames in cell array. Its very easy to c...

Array of images indexing

Use cell array data={frame1,frame2,........} Frame is an image, you can same multiple frames in cell array. Its very easy to c...

8 days ago | 0

Answered

Creating 3D Plot using Surf

format long e n=1:1:5; m=1:1:10; alpha=0.01; A=zeros(length(n),length(m)); B=zeros(length(n),length(m)); f=zeros(length(n)...

Creating 3D Plot using Surf

format long e n=1:1:5; m=1:1:10; alpha=0.01; A=zeros(length(n),length(m)); B=zeros(length(n),length(m)); f=zeros(length(n)...

8 days ago | 0

Answered

How can I plot points of different color shade each iteration?

One way: col=[define colors here]; % define colors in strings, like 'b','r'...see color in Matlab. % Define colors equal to ...

How can I plot points of different color shade each iteration?

One way: col=[define colors here]; % define colors in strings, like 'b','r'...see color in Matlab. % Define colors equal to ...

8 days ago | 0

Answered

I don't know what's wrong in this code, it doen't produce a graph.

IR(i)= (cos(beta(i)).^2).*(sin(alpha(i))./alpha(i)).^2; %..^ here inside for loop

I don't know what's wrong in this code, it doen't produce a graph.

IR(i)= (cos(beta(i)).^2).*(sin(alpha(i))./alpha(i)).^2; %..^ here inside for loop

8 days ago | 0

| accepted

Answered

for loop indexing per allocating

LA(t/0.1+1)=1.15-(5*t); %.....^ indexing value must be positive integer Just an examples : LA(0.02)>> Not allow LA(1)>> Allo...

for loop indexing per allocating

LA(t/0.1+1)=1.15-(5*t); %.....^ indexing value must be positive integer Just an examples : LA(0.02)>> Not allow LA(1)>> Allo...

8 days ago | 0

| accepted

Answered

Plotting multiple Values on one axis

num=[0.1, 1, 10, 100, 1000]; den=[1 0.1]; for i=1:length(num) G=tf(num(i),den); CIsys=feedback(G,1) step(CIsys) title('Ste...

Plotting multiple Values on one axis

num=[0.1, 1, 10, 100, 1000]; den=[1 0.1]; for i=1:length(num) G=tf(num(i),den); CIsys=feedback(G,1) step(CIsys) title('Ste...

8 days ago | 0

| accepted

Answered

how to find an optimal window size for moving averaging filter among several windows?

"then how to find an optimal window size for moving" As, average filter smooths the original image, its based on result on pari...

how to find an optimal window size for moving averaging filter among several windows?

"then how to find an optimal window size for moving" As, average filter smooths the original image, its based on result on pari...

9 days ago | 0

| accepted