#Image Processing

#Learner Alma #TezpurUniv

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

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

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

8 giorni 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]} ...

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

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

11 giorni 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;

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

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

11 giorni 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

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

13 giorni 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+...

19 giorni 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

19 giorni ago | 0

| accepted

Answered

how to remove 2d fourier transform image noise

Decide the cutt off frequency, apply filter and do the inverse More Detail: https://www.clear.rice.edu/elec301/Projects01/im...

how to remove 2d fourier transform image noise

Decide the cutt off frequency, apply filter and do the inverse More Detail: https://www.clear.rice.edu/elec301/Projects01/im...

20 giorni ago | 0

Answered

How to build a class map from multiple binary images?

"I want to acquire an output containing all these classes with a random color asigned to each class" Here @Image Analyst Answer...

How to build a class map from multiple binary images?

"I want to acquire an output containing all these classes with a random color asigned to each class" Here @Image Analyst Answer...

20 giorni ago | 0

Answered

How to save the matrix value of bmp image ?

Once you load the image,Matlab itself save it as a Matrix with assigned variable name. In the above mentioned example m1 is the ...

How to save the matrix value of bmp image ?

Once you load the image,Matlab itself save it as a Matrix with assigned variable name. In the above mentioned example m1 is the ...

21 giorni ago | 0

| accepted

Answered

find pixels of a line in picture

% Load the image rgbImage=imread('image_line.png'); % Get the one plane/Gray Image red_channel=rgbImage(:,:,1); % Segment th...

find pixels of a line in picture

% Load the image rgbImage=imread('image_line.png'); % Get the one plane/Gray Image red_channel=rgbImage(:,:,1); % Segment th...

21 giorni ago | 0

Answered

how to conver image matrix into bipolar values

Bipolar Values, considering two data value only (Same number with Positive & Negative) bw_image=%Convert to binary image image...

how to conver image matrix into bipolar values

Bipolar Values, considering two data value only (Same number with Positive & Negative) bw_image=%Convert to binary image image...

21 giorni ago | 2

| accepted

Answered

Using double precision, find x for which exp(x) doesn't overflow.

All data creates in MATLAB are douple precision (Standard /By Default) Double More: e^x = 1 + (x ^ 1 / 1!) + (x ^ 2 / 2!) .....

Using double precision, find x for which exp(x) doesn't overflow.

All data creates in MATLAB are douple precision (Standard /By Default) Double More: e^x = 1 + (x ^ 1 / 1!) + (x ^ 2 / 2!) .....

21 giorni ago | 0

Answered

save image names form a loop in a new variable

Here, I answered based on decription of the questions j=1; for i=1:total_images %Images call one by one %Detection Part r...

save image names form a loop in a new variable

Here, I answered based on decription of the questions j=1; for i=1:total_images %Images call one by one %Detection Part r...

21 giorni ago | 0

| accepted

Answered

Concatenation of 2 different feature maps of different dimension

Have you refered the following links? (External Links) https://ai.stackexchange.com/questions/2932/concatenate-convolution-laye...

Concatenation of 2 different feature maps of different dimension

Have you refered the following links? (External Links) https://ai.stackexchange.com/questions/2932/concatenate-convolution-laye...

21 giorni ago | 0

Answered

How to save output from the for loop in a matrixs?

Use Cell array to save the Matrices result pks_data=cell(1,length(x)); locs_data=cell(1,length(x)); for i=1:x [pks,locs]...

How to save output from the for loop in a matrixs?

Use Cell array to save the Matrices result pks_data=cell(1,length(x)); locs_data=cell(1,length(x)); for i=1:x [pks,locs]...

21 giorni ago | 0

Answered

Segmentation of the microscope circle

You can direct thresold the largest black area. Here the shown code is quite lengthy, but it is easier to understand. bwImage=i...

Segmentation of the microscope circle

You can direct thresold the largest black area. Here the shown code is quite lengthy, but it is easier to understand. bwImage=i...

22 giorni ago | 0

| accepted

Answered

How to pick the lowest element for each row by different matrices?

I'm looking for the code to create a matrix D (4x2), such that each row is picked by a, b, c with the lowest item in the first c...

How to pick the lowest element for each row by different matrices?

I'm looking for the code to create a matrix D (4x2), such that each row is picked by a, b, c with the lowest item in the first c...

30 giorni ago | 1

| accepted

Answered

Pause a Frame in an Animation

Adjust the frame rate this way? video_data=VideoWriter('test_video'); video_data.FrameRate=5; open(video_data) for i=1:50 ...

Pause a Frame in an Animation

Adjust the frame rate this way? video_data=VideoWriter('test_video'); video_data.FrameRate=5; open(video_data) for i=1:50 ...

30 giorni ago | 0

Answered

How to make the time invtervals between two index fixed when plotting in real time using function 'tic toc'

"But I want the time intervals to be fixed, for example, it recordes index every 0.3 seconds regularly. My code is look like bel...

How to make the time invtervals between two index fixed when plotting in real time using function 'tic toc'

"But I want the time intervals to be fixed, for example, it recordes index every 0.3 seconds regularly. My code is look like bel...

circa un mese ago | 0

Answered

Plot each individual cells in different graphs

datecell=load('datecell.mat'); datecell=datecell.datecell; smcell=load('smcell.mat'); smcell=smcell.smcell; figure, for ci=...

Plot each individual cells in different graphs

datecell=load('datecell.mat'); datecell=datecell.datecell; smcell=load('smcell.mat'); smcell=smcell.smcell; figure, for ci=...

circa un mese ago | 0

| accepted

Answered

I'm trying to plot my function into a graph but it won't even run

function y=displacement(theta) y=zeros(1,length(theta)); for i=1:length(theta) if theta(i)>=0 & theta(i)<= pi/2 y(i)=6*(...

I'm trying to plot my function into a graph but it won't even run

function y=displacement(theta) y=zeros(1,length(theta)); for i=1:length(theta) if theta(i)>=0 & theta(i)<= pi/2 y(i)=6*(...

circa un mese ago | 0

| accepted

Answered

I want to use circshift until a certain value in my vector until it reaches the end of the array.

front_pos = 17800; rear_pos = 58400; B = [0 0 0 0 rear_pos 0 front_pos 0 0 0 0 0 0 0 0 0 0 0 0 0 0]'; while B(end)~=front_pos...

I want to use circshift until a certain value in my vector until it reaches the end of the array.

front_pos = 17800; rear_pos = 58400; B = [0 0 0 0 rear_pos 0 front_pos 0 0 0 0 0 0 0 0 0 0 0 0 0 0]'; while B(end)~=front_pos...

circa un mese ago | 0