#Image Processing

#MATLAB Learner

#Whatsapp+91-8387942066

Answered

how can we read matrix step by step in kalman filter

See you have mat variable xt = rand(3,50); if you wish to read thia xt variable matrix column by column then 1 Column=xt(:,1);...

how can we read matrix step by step in kalman filter

See you have mat variable xt = rand(3,50); if you wish to read thia xt variable matrix column by column then 1 Column=xt(:,1);...

6 days ago | 0

| accepted

Answered

segmentation medical image irm

Lets say "seg_image" is the segmented image. Once segmentation, all regions have different pixels value, please check the pixel ...

segmentation medical image irm

Lets say "seg_image" is the segmented image. Once segmentation, all regions have different pixels value, please check the pixel ...

7 days ago | 0

Answered

matrix component algebra with digraph

[row,col]=size(A); %Expecting C is 1 D vector and having col number of rows minimum M=zeros(row,col); for i=1:row for j=1:co...

matrix component algebra with digraph

[row,col]=size(A); %Expecting C is 1 D vector and having col number of rows minimum M=zeros(row,col); for i=1:row for j=1:co...

7 days ago | 1

Answered

Error: "index in position 2 exceeds array bounds"

Temp = DOdata.data(:,3) DOdata.data have only 2 columns, you are trying to access 3rd column.

Error: "index in position 2 exceeds array bounds"

Temp = DOdata.data(:,3) DOdata.data have only 2 columns, you are trying to access 3rd column.

7 days ago | 0

Answered

I want to add some of requiring to my codes ? How can I ?

while n<=0 n=input('Please enter the number of pizzas to order: '); if n<=0 disp('Value should be atleast 1 pizza to continue...

I want to add some of requiring to my codes ? How can I ?

while n<=0 n=input('Please enter the number of pizzas to order: '); if n<=0 disp('Value should be atleast 1 pizza to continue...

7 days ago | 0

Answered

find Center pixel to maximum distance

[r,c]=size(image); centre_pix=image(round(r/2),round(c/2)); The position of the pixel is [round(r/2),round(c/2)], now calculat...

find Center pixel to maximum distance

[r,c]=size(image); centre_pix=image(round(r/2),round(c/2)); The position of the pixel is [round(r/2),round(c/2)], now calculat...

16 days ago | 0

Answered

How to interchange both plot and bar colour

I feel you are looking for transperancy, so that both plots shoud clearly visible. month = {'apr19', 'may19', 'june19', 'july1...

How to interchange both plot and bar colour

I feel you are looking for transperancy, so that both plots shoud clearly visible. month = {'apr19', 'may19', 'june19', 'july1...

16 days ago | 0

Answered

Undefined function or variable

As you mentioned that it is main scripts (Not associated function call). The error clearly stated that "Undefined function or va...

Undefined function or variable

As you mentioned that it is main scripts (Not associated function call). The error clearly stated that "Undefined function or va...

1 month ago | 0

Answered

How to find the difference (in pixels) between two boundaries/countours?

You can do number of ways: (Considering the single pixel value, as both section has same pixel value, may have small different) ...

How to find the difference (in pixels) between two boundaries/countours?

You can do number of ways: (Considering the single pixel value, as both section has same pixel value, may have small different) ...

1 month ago | 0

| accepted

Answered

Detecting and segmenting bubbles in a video

As you have already tried for basic segmentation approaches, according to my initial observation all bubbles are also quite chal...

Detecting and segmenting bubbles in a video

As you have already tried for basic segmentation approaches, according to my initial observation all bubbles are also quite chal...

1 month ago | 0

| accepted

Answered

How to call a function with multiple inputs in a script file?

Lets say the function name is fun1, which having 3 inputs and 3 outputs . Now call the function form another Matlab script, as f...

How to call a function with multiple inputs in a script file?

Lets say the function name is fun1, which having 3 inputs and 3 outputs . Now call the function form another Matlab script, as f...

1 month ago | 0

| accepted

Answered

How to create a loop on a matrix whose elements are also a row/column matrix.

%Partial Code DT=zeros(1,length(x)); for i=1:length(x) Z=[E(i)-V K1; K2 F(i)-V]; DT(i)=det(Z); end

How to create a loop on a matrix whose elements are also a row/column matrix.

%Partial Code DT=zeros(1,length(x)); for i=1:length(x) Z=[E(i)-V K1; K2 F(i)-V]; DT(i)=det(Z); end

1 month ago | 0

| accepted

Answered

counting how many times a certain value is repeated in a fixed interval

Multiple Ways: One way X=[0,0,1,1,0,1,1,1,1,1,0,0]; idx=find(X==1) for i=1:2:length(idx)-1 data(i)=idx(i+1)-idx(i) end ...

counting how many times a certain value is repeated in a fixed interval

Multiple Ways: One way X=[0,0,1,1,0,1,1,1,1,1,0,0]; idx=find(X==1) for i=1:2:length(idx)-1 data(i)=idx(i+1)-idx(i) end ...

1 month ago | 0

Answered

For - While Loop Nested

R = 8.914; T=linspace(1.1,0.1,250); deltaG = -287500 + 22.75.*T; a= %?? % Define it PCO=linspace(a,0.01,100); deltaGnew=...

For - While Loop Nested

R = 8.914; T=linspace(1.1,0.1,250); deltaG = -287500 + 22.75.*T; a= %?? % Define it PCO=linspace(a,0.01,100); deltaGnew=...

1 month ago | 0

Answered

Image Processing Operator Approximation Using Deep Learning

As clearly stated in the documentation, this example uses two tollboxes- Image Processing Toolbox Deep Learning Toolbox If yo...

Image Processing Operator Approximation Using Deep Learning

As clearly stated in the documentation, this example uses two tollboxes- Image Processing Toolbox Deep Learning Toolbox If yo...

1 month ago | 0

Answered

Counter in for loop is not working as expected

data1=ones(1,3); data2=1+ones(1,5); result=repmat([data1,data2],1,5)

Counter in for loop is not working as expected

data1=ones(1,3); data2=1+ones(1,5); result=repmat([data1,data2],1,5)

1 month ago | 0

Answered

How to use an if statement to substitute NaN

p1=[11 15 7 40 50 100]; p2=[8 14 6 38 35 95]; %Combine and take row mean p3=[p1' p2']; p4=mean(p3,2); %Determine percent di...

How to use an if statement to substitute NaN

p1=[11 15 7 40 50 100]; p2=[8 14 6 38 35 95]; %Combine and take row mean p3=[p1' p2']; p4=mean(p3,2); %Determine percent di...

1 month ago | 0

| accepted

Answered

Results as a loop

%Last section data1=0; results=[]; for i=1:length(T) result(b+data1,:)= params(:,:,T(i)); data1=data1+5; end

Results as a loop

%Last section data1=0; results=[]; for i=1:length(T) result(b+data1,:)= params(:,:,T(i)); data1=data1+5; end

2 months ago | 1

Answered

Calculating the contributing terms of a summation equation

Please try any issue let me know https://www.mathworks.com/help/symbolic/symsum.html

Calculating the contributing terms of a summation equation

Please try any issue let me know https://www.mathworks.com/help/symbolic/symsum.html

2 months ago | 0

Answered

Measure the spreading length using image analysis.

Two ways: I am considering the pixel distance length based on spaial coordinates (Not the general scale length like mm or cm) O...

Measure the spreading length using image analysis.

Two ways: I am considering the pixel distance length based on spaial coordinates (Not the general scale length like mm or cm) O...

2 months ago | 0

Answered

Creating a histogram with specified data

If you want two remove those extra blank space, you can use xlim (Limitinng x axis scale). x = 2.5*rand(1,200)-1.7 hist(x,[-6...

Creating a histogram with specified data

If you want two remove those extra blank space, you can use xlim (Limitinng x axis scale). x = 2.5*rand(1,200)-1.7 hist(x,[-6...

2 months ago | 0

| accepted

Answered

Unrecognized function or variable 'helperExtractAuditoryFeatures'

I sense two possible reasons: Deep learning toolbox in not installed. (Type "ver" in the command window, it shows all installe...

Unrecognized function or variable 'helperExtractAuditoryFeatures'

I sense two possible reasons: Deep learning toolbox in not installed. (Type "ver" in the command window, it shows all installe...

2 months ago | 0

Answered

How to extract second largest blob from image?

large_1=bwareafilt(binary_image,1); %Extracting Large Blob large_2=binary_image & ~large_1; % Logical Operation to get 2nd larg...

How to extract second largest blob from image?

large_1=bwareafilt(binary_image,1); %Extracting Large Blob large_2=binary_image & ~large_1; % Logical Operation to get 2nd larg...

2 months ago | 1

Answered

I am trying to calculate the perimeterof leaf but i'm getting the output as 2.7895e+3 in this way .please check this and correct my code. Thankyou in advance

As the sample leaf image is not attched with the question , hence I have checked with another image and it shown correctly lea...

I am trying to calculate the perimeterof leaf but i'm getting the output as 2.7895e+3 in this way .please check this and correct my code. Thankyou in advance

As the sample leaf image is not attched with the question , hence I have checked with another image and it shown correctly lea...

2 months ago | 0

Answered

Median (Median) Filter Matlab

disp('##Input Data') a=randi([1,10],[4,5]) %Any random data %% # Using MATLAB Function medfilt2 disp('##Using MATLAB Median...

Median (Median) Filter Matlab

disp('##Input Data') a=randi([1,10],[4,5]) %Any random data %% # Using MATLAB Function medfilt2 disp('##Using MATLAB Median...

2 months ago | 0

Answered

How can I save 'H' using Runge-Kutta time-step in a single . mat file each day while the code will be running for six days?

Alert: I have no experience running code for six days. I also do not know the system requirements for this work. But here, based...

How can I save 'H' using Runge-Kutta time-step in a single . mat file each day while the code will be running for six days?

Alert: I have no experience running code for six days. I also do not know the system requirements for this work. But here, based...

2 months ago | 0

Answered

why this is Index exceeds matrix dimensions?

Vc = 2; Vm = 1.5; fc = 100; fm = 10; ts= 1/1000; n = 0:99; t = ts*n; vc = Vc*cos(2*pi*fc*t); vm = Vm*cos(2*pi*fm*t); va...

why this is Index exceeds matrix dimensions?

Vc = 2; Vm = 1.5; fc = 100; fm = 10; ts= 1/1000; n = 0:99; t = ts*n; vc = Vc*cos(2*pi*fc*t); vm = Vm*cos(2*pi*fm*t); va...

2 months ago | 0