#Image Processing

#Learner Alma #TezpurUniv

Answered

dsolve for multiple plots on a single figure

Using Loop A = 2; % cross-sectional area (m^2) T = 0.1; % integral time c...

dsolve for multiple plots on a single figure

Using Loop A = 2; % cross-sectional area (m^2) T = 0.1; % integral time c...

17 days ago | 0

Answered

How do I select the particular region of the segmented image in MATLAB

Possible: Convert the image to binnary & trace the region?? If you can perform an operation on a binary image, its indexes can a...

How do I select the particular region of the segmented image in MATLAB

Possible: Convert the image to binnary & trace the region?? If you can perform an operation on a binary image, its indexes can a...

17 days ago | 0

Answered

how to save the data in csv file from the plot

Options: The plot is a figure, you can save as Matlab .fig files (Use save as option) Save the figure plot result as an image ...

how to save the data in csv file from the plot

Options: The plot is a figure, you can save as Matlab .fig files (Use save as option) Save the figure plot result as an image ...

18 days ago | 0

Answered

Given a linear system i want to do Gauss-Seidel iteration.But getting error.Would appreciate if anyone fix me the code. Thanks.

No coding syntax error x(1)=1.5; y(1)=-1; z(1)=1; iter(1)=0; for n=1:4 iter(n+1)=n; x(n+1)=(16+3*y(n)-2*z(n))/8; y...

Given a linear system i want to do Gauss-Seidel iteration.But getting error.Would appreciate if anyone fix me the code. Thanks.

No coding syntax error x(1)=1.5; y(1)=-1; z(1)=1; iter(1)=0; for n=1:4 iter(n+1)=n; x(n+1)=(16+3*y(n)-2*z(n))/8; y...

19 days ago | 0

Answered

Add multiple elements to array

Yes it's OK, horizontal concatenation x=[x,3] Example: >> x=1:4 x = 1 2 3 4 >> x=[x,9:12] x = 1 ...

Add multiple elements to array

Yes it's OK, horizontal concatenation x=[x,3] Example: >> x=1:4 x = 1 2 3 4 >> x=[x,9:12] x = 1 ...

19 days ago | 0

Answered

Image pre-processing to remove noise

Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND o...

Image pre-processing to remove noise

Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND o...

19 days ago | 0

| accepted

Answered

I want to Generate Chirp Signal

See the MATLAB inbuilt function, you need to change the properties only https://in.mathworks.com/help/signal/ref/chirp.html

I want to Generate Chirp Signal

See the MATLAB inbuilt function, you need to change the properties only https://in.mathworks.com/help/signal/ref/chirp.html

19 days ago | 0

Answered

How to write loops within loops for a function.

Vs = 8:-0.1:7 o/p: 8 7.9 7.8 7.7 7.6 7.5 7.4 7.3 7.2 7.1 7 Hoe you can do the ...

How to write loops within loops for a function.

Vs = 8:-0.1:7 o/p: 8 7.9 7.8 7.7 7.6 7.5 7.4 7.3 7.2 7.1 7 Hoe you can do the ...

19 days ago | 0

Answered

xlswrite() to write to csv file not working

You are trying to save in CSV, Prefer this one https://in.mathworks.com/help/matlab/ref/writematrix.html

xlswrite() to write to csv file not working

You are trying to save in CSV, Prefer this one https://in.mathworks.com/help/matlab/ref/writematrix.html

19 days ago | 0

Answered

Matrix dimension conversion for image input layer

Sir, you can convert the size of the image from 2D to 3D using the following way (The image isualization is not affected) ori_i...

Matrix dimension conversion for image input layer

Sir, you can convert the size of the image from 2D to 3D using the following way (The image isualization is not affected) ori_i...

19 days ago | 0

Answered

sum of array by specific index value

result=sum(second_arary(first_array)) More result=sum(hasil_tambah_array(index))

sum of array by specific index value

result=sum(second_arary(first_array)) More result=sum(hasil_tambah_array(index))

20 days ago | 0

Answered

Image pre-processing to make pixels in one straight line

Yes, you can do that multiple ways Get the two highest-spaced white pixels in the image, column numbers (left column and right ...

Image pre-processing to make pixels in one straight line

Yes, you can do that multiple ways Get the two highest-spaced white pixels in the image, column numbers (left column and right ...

22 days ago | 0

| accepted

Answered

HSV color assignment depending on the height of the corresponding histogram bin

If you use less than & equal (both inclusion), it may be cover the entire image. e.g if h_level>0.75 & s_level>0.75 pixel...

HSV color assignment depending on the height of the corresponding histogram bin

If you use less than & equal (both inclusion), it may be cover the entire image. e.g if h_level>0.75 & s_level>0.75 pixel...

22 days ago | 0

Answered

How to count objects in an image?

The approprite approach based on the type of input images, though you can follow the following (General Case) Steps: Do the se...

How to count objects in an image?

The approprite approach based on the type of input images, though you can follow the following (General Case) Steps: Do the se...

26 days ago | 1

| accepted

Answered

Keep track of Matrix row indices after deleting some rows

You can store the A in a temporary variable, and do the modification on temp temp=A; Now do the all modification on temp. Res...

Keep track of Matrix row indices after deleting some rows

You can store the A in a temporary variable, and do the modification on temp temp=A; Now do the all modification on temp. Res...

2 months ago | 0

Answered

representation of many curves

Snippet: % Images Folder Directory % Call the images one by one, there are multiple simmilar question, please check % Load an...

representation of many curves

Snippet: % Images Folder Directory % Call the images one by one, there are multiple simmilar question, please check % Load an...

2 months ago | 0

Answered

help with pie chart

Suficients Hints: Enter the levels by yourself. counts=input('Enter the Total Cetegory'); p=[]; i=1; while i<=counts p(...

help with pie chart

Suficients Hints: Enter the levels by yourself. counts=input('Enter the Total Cetegory'); p=[]; i=1; while i<=counts p(...

2 months ago | 0

Answered

plot to the function

Hint: z=[0, 0.03, 0.2, 0.5, 1,2]; r=0:0.01:3; for i=1:length(z) eq=..... % Here z(i) plot(eq); % r vs. eq hold on; end A...

plot to the function

Hint: z=[0, 0.03, 0.2, 0.5, 1,2]; r=0:0.01:3; for i=1:length(z) eq=..... % Here z(i) plot(eq); % r vs. eq hold on; end A...

2 months ago | 0

| accepted

Answered

Plot two curve of different program in same graphs

Call two programs as function, see the following example Code 1: function code1(x) y=exp(x); plot(y); hold on; end Code 2...

Plot two curve of different program in same graphs

Call two programs as function, see the following example Code 1: function code1(x) y=exp(x); plot(y); hold on; end Code 2...

2 months ago | 0

| accepted

Answered

How to convert 'NaN' to numeric NaN

Is this? >> str2num('NaN') ans = NaN Or data={2,5,NaN,6} cell2mat(data) # data = 1×4 cell array {[2]} ...

How to convert 'NaN' to numeric NaN

Is this? >> str2num('NaN') ans = NaN Or data={2,5,NaN,6} cell2mat(data) # data = 1×4 cell array {[2]} ...

2 months ago | 0

Answered

Difficulty plotting equations.

#Do modification, no coding error t=0:.2:2; y1=1*cos(2*pi*3*t)+0.8*sin(2*pi*8*t); y2=0.6*cos(2*pi*0.6*t)+(pi/3)+0.25*sin(2*p...

Difficulty plotting equations.

#Do modification, no coding error t=0:.2:2; y1=1*cos(2*pi*3*t)+0.8*sin(2*pi*8*t); y2=0.6*cos(2*pi*0.6*t)+(pi/3)+0.25*sin(2*p...

2 months ago | 1

| accepted

Answered

3 equations with 3 unknowns I need the answer ASAP plz help

Solve System of Linear Equations Using linsolve https://in.mathworks.com/help/symbolic/solve-a-system-of-linear-equations.html

3 equations with 3 unknowns I need the answer ASAP plz help

Solve System of Linear Equations Using linsolve https://in.mathworks.com/help/symbolic/solve-a-system-of-linear-equations.html

3 months ago | 0

Answered

Positive angles in a graph

%Force all angles must be positive. mask=theta<0; mask=360*double(mask); theta=theta+mask;

Positive angles in a graph

%Force all angles must be positive. mask=theta<0; mask=360*double(mask); theta=theta+mask;

3 months ago | 0

| accepted

Answered

Why do i need to use .^ notation ?

It's based on equation. .^ represent the element wise to the power of any array/vector. See the example a = 1 2 ...

Why do i need to use .^ notation ?

It's based on equation. .^ represent the element wise to the power of any array/vector. See the example a = 1 2 ...

3 months ago | 0

| accepted

Answered

I want to reduce the width of certain plots in a subplot from other plots.

One way to plot multiple subplots with diffeent aspect size: tiledlayout function https://in.mathworks.com/help/matlab/ref/tile...

I want to reduce the width of certain plots in a subplot from other plots.

One way to plot multiple subplots with diffeent aspect size: tiledlayout function https://in.mathworks.com/help/matlab/ref/tile...

3 months ago | 0

Answered

How do I split and assign a matrix sized 1880,2 into N smaller matrices (or a struct holding the matrices) where N matrices have 5 elements of dim1,dim2, the next five and so on (incremental looping)?

mat2cell https://in.mathworks.com/help/matlab/ref/mat2cell.html

How do I split and assign a matrix sized 1880,2 into N smaller matrices (or a struct holding the matrices) where N matrices have 5 elements of dim1,dim2, the next five and so on (incremental looping)?

mat2cell https://in.mathworks.com/help/matlab/ref/mat2cell.html

3 months ago | 0

Answered

How to connect all result?

Use cell array to store the vectors B=cell(1,bond(860)+1) for i=1:bond(860)+1 %bond is data that include 860*2 tabl...

How to connect all result?

Use cell array to store the vectors B=cell(1,bond(860)+1) for i=1:bond(860)+1 %bond is data that include 860*2 tabl...

3 months ago | 0

Answered

Getting a vector for different x value

Is this? a=0; b=1; h=b-a/2; n=0.01; xnew=[];% Number of Iteration is not known xnew(1)=h; i=1; while xnew(i)>n xnew(i+...

Getting a vector for different x value

Is this? a=0; b=1; h=b-a/2; n=0.01; xnew=[];% Number of Iteration is not known xnew(1)=h; i=1; while xnew(i)>n xnew(i+...

3 months ago | 0

Answered

Hi i need some help here to put this into a matlab

h=0.5; a=0; x=a+h; i=2; tol=...? while err<tol x=[x a+i*h]; h=h/2; i=i+2; err=..% Update end

Hi i need some help here to put this into a matlab

h=0.5; a=0; x=a+h; i=2; tol=...? while err<tol x=[x a+i*h]; h=h/2; i=i+2; err=..% Update end

3 months ago | 0

| accepted