#Image Processing

#MATLAB Learner

#Whatsapp+91-8387942066

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

9 days 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) ...

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

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

9 days 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

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

16 days 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=...

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

17 days 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)

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

17 days 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

23 days 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

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

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

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

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

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

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

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

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

1 month ago | 0

Answered

How to store index values in the form of arrays using for loop?

Cell array rng default M = zeros(randi([3 6]),randi([3 6])) [u,v] = size(M) indices=cell(u,v); for i = 1:u for j = 1:...

How to store index values in the form of arrays using for loop?

Cell array rng default M = zeros(randi([3 6]),randi([3 6])) [u,v] = size(M) indices=cell(u,v); for i = 1:u for j = 1:...

1 month ago | 1

Answered

Finding specific iteration in a triple for loop

You can't do that, as all having different lengths. For equaly vector sie you can get the undex position and find the correspond...

Finding specific iteration in a triple for loop

You can't do that, as all having different lengths. For equaly vector sie you can get the undex position and find the correspond...

2 months ago | 0

| accepted

Answered

difference of image histograms

im1=rgb2gray(imread('image1_name')); im2=rgb2gray(imread('image2_name')); diff_hist=imhist(im1)-imhist(im2); plot(diff_hist) ...

difference of image histograms

im1=rgb2gray(imread('image1_name')); im2=rgb2gray(imread('image2_name')); diff_hist=imhist(im1)-imhist(im2); plot(diff_hist) ...

2 months ago | 0

Answered

Plot a signal in an interval of time

If you already have the sata ranges transXn, then you can extract only those data points having >-2 and <2 Xnsum=transXn(trans...

Plot a signal in an interval of time

If you already have the sata ranges transXn, then you can extract only those data points having >-2 and <2 Xnsum=transXn(trans...

2 months ago | 0

Answered

how to use abs function in this code?

a=input('Enter the size of rows:'); b=input('Enter the size of columns:'); A=randi([-30 30],a,b) r=zeros(a); d=zeros(a); fo...

how to use abs function in this code?

a=input('Enter the size of rows:'); b=input('Enter the size of columns:'); A=randi([-30 30],a,b) r=zeros(a); d=zeros(a); fo...

2 months ago | 0

Answered

What is this Matlab symbol '' | ''

Logical OR Operation See details here https://www.mathworks.com/help/symbolic/or.html

What is this Matlab symbol '' | ''

Logical OR Operation See details here https://www.mathworks.com/help/symbolic/or.html

2 months ago | 1

Answered

Find aggrement for Classification problem between 5 raters

Then count the number of tumors, in the result image

Find aggrement for Classification problem between 5 raters

Then count the number of tumors, in the result image

2 months ago | 0