#Image Processing

#Learner Alma #TezpurUniv

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

7 hours ago

Solved

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

7 hours ago

Answered

Delete Cells from Cell Array, when size is less than 50% of biggest cell

Here one way: The given cell data a={[1,2;3,4;5,6;7,8],[9,10;11,12],[13,14;15,16;17,18]} Check data a = 1×3 cell array ...

Delete Cells from Cell Array, when size is less than 50% of biggest cell

Here one way: The given cell data a={[1,2;3,4;5,6;7,8],[9,10;11,12],[13,14;15,16;17,18]} Check data a = 1×3 cell array ...

9 hours ago | 0

| accepted

Answered

Looping until threshold is met

You have to initialize "error" before the loop. The initial value must be less than a threshold value as defined. Also make sure...

Looping until threshold is met

You have to initialize "error" before the loop. The initial value must be less than a threshold value as defined. Also make sure...

12 hours ago | 0

Answered

Generating two Random sequences

Hint: One Way, you can do multiple ways data=repmat([1,-1],[1,50]) seq1=data(randperm(100)); seq2=data(randperm(100)); Fore ...

Generating two Random sequences

Hint: One Way, you can do multiple ways data=repmat([1,-1],[1,50]) seq1=data(randperm(100)); seq2=data(randperm(100)); Fore ...

1 day ago | 1

Answered

how can I divide the vector into parts

data_cell=mat2cell(data,1,[20*ones(1,3276),16]) Result, save the all sub array data in cell array having cell elements 3227, wh...

how can I divide the vector into parts

data_cell=mat2cell(data,1,[20*ones(1,3276),16]) Result, save the all sub array data in cell array having cell elements 3227, wh...

1 day ago | 0

| accepted

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

1 day ago

Solved

Verify Law of Large Numbers

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

1 day ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

1 day ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

1 day ago

Answered

Error "Index in position 2 exceeds array bounds (must not exceed 1)."

Problem due to typo error (Note MATLAB is case sensitive). The preallocated variable named as Vxai, Vyai (upper case V), later u...

Error "Index in position 2 exceeds array bounds (must not exceed 1)."

Problem due to typo error (Note MATLAB is case sensitive). The preallocated variable named as Vxai, Vyai (upper case V), later u...

1 day ago | 0

Answered

calculate multi-level DWT of an image

"the numbers should be between 0-255" No, pixel values depend on the data types, the original image probably uint8 data type,...

calculate multi-level DWT of an image

"the numbers should be between 0-255" No, pixel values depend on the data types, the original image probably uint8 data type,...

1 day ago | 0

Answered

Plot Receiver Operating Characteristics (ROC) curve from a given probability distribution of an input variable

Hint: Define rupture time (asssuming vector data) t= Define other Known Parameters k= F= d= Kb= T= Calculate P(t), w...

Plot Receiver Operating Characteristics (ROC) curve from a given probability distribution of an input variable

Hint: Define rupture time (asssuming vector data) t= Define other Known Parameters k= F= d= Kb= T= Calculate P(t), w...

1 day ago | 0

Answered

How do I obtain smoothen the linesin my graph and make it all look less sharp?

smooth https://in.mathworks.com/help/curvefit/smooth.html

How do I obtain smoothen the linesin my graph and make it all look less sharp?

smooth https://in.mathworks.com/help/curvefit/smooth.html

1 day ago | 0

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 days ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 days ago

Answered

display value if it lies between x and y

Try with single "&" Note "x_array{b}>ymin" or "x_array{b}<ymax" return logical array data. If all the array elements of the ar...

display value if it lies between x and y

Try with single "&" Note "x_array{b}>ymin" or "x_array{b}<ymax" return logical array data. If all the array elements of the ar...

2 days ago | 0

Answered

How to run nested loop (from 1 to mean value) & (from mean value to last value) of an image?

Is this? mean_val=mean2(grayImage); Image_I1=grayImage(grayImage>mean_val); Image_I2=grayImage(grayImage<=mean_val); subplot...

How to run nested loop (from 1 to mean value) & (from mean value to last value) of an image?

Is this? mean_val=mean2(grayImage); Image_I1=grayImage(grayImage>mean_val); Image_I2=grayImage(grayImage<=mean_val); subplot...

3 days ago | 0

Answered

How to extract value at a given time in ode 45

Hope I have understood your question, if not, please do not hesitate to correct me. Lets understand with an example, say t as ...

How to extract value at a given time in ode 45

Hope I have understood your question, if not, please do not hesitate to correct me. Lets understand with an example, say t as ...

3 days ago | 1

Answered

Images segmentation methods in MATLAB

As the region of interest is clearly distinct, you can directly obtain the results by binarization of the input image. You may h...

Images segmentation methods in MATLAB

As the region of interest is clearly distinct, you can directly obtain the results by binarization of the input image. You may h...

3 days ago | 0

| accepted

Answered

Newton's Law of Cooling Euler's method, don't understand how it works in matlab

As you have tried, so sufficient Hint here dt=0.5; T_amb=10; t=0:dt:5; % Check T=zeros(1,length(t)); T(1)=37; k=0.12; fo...

Newton's Law of Cooling Euler's method, don't understand how it works in matlab

As you have tried, so sufficient Hint here dt=0.5; T_amb=10; t=0:dt:5; % Check T=zeros(1,length(t)); T(1)=37; k=0.12; fo...

4 days ago | 0

| accepted

Answered

image segmentation using ANN MATLAB Code

Here, Semantic Segmentation of Multispectral Images Using Deep Learning https://in.mathworks.com/help/images/multispectral-sema...

image segmentation using ANN MATLAB Code

Here, Semantic Segmentation of Multispectral Images Using Deep Learning https://in.mathworks.com/help/images/multispectral-sema...

4 days ago | 0

Answered

How to put a shape on top of an image?

You may try with imfuse https://in.mathworks.com/help/images/ref/imfuse.html or Image Overlay Using Transparency https://in.m...

How to put a shape on top of an image?

You may try with imfuse https://in.mathworks.com/help/images/ref/imfuse.html or Image Overlay Using Transparency https://in.m...

4 days ago | 0

Answered

How to save last three values from for loop?

Save the loop results in array (if scalar data) or in cell arary (in vector results) are good ways to handle the data. From the ...

How to save last three values from for loop?

Save the loop results in array (if scalar data) or in cell arary (in vector results) are good ways to handle the data. From the ...

4 days ago | 0

Answered

I want to remove background in the given image.

As the color of ROIs is quite clear, you can try to get a range of red pixels with different color models. Please note, the defi...

I want to remove background in the given image.

As the color of ROIs is quite clear, you can try to get a range of red pixels with different color models. Please note, the defi...

4 days ago | 0

Answered

Finding coordinates From image

You have do little effort to localize the eye section in the image. You may use imfindcircles function (Read about CHT Image Pro...

Finding coordinates From image

You have do little effort to localize the eye section in the image. You may use imfindcircles function (Read about CHT Image Pro...

8 days ago | 0

| accepted

Answered

How to verify SNR of a signal after using the awgn function

SNR https://in.mathworks.com/help/signal/ref/snr.html

How to verify SNR of a signal after using the awgn function

SNR https://in.mathworks.com/help/signal/ref/snr.html

8 days ago | 0

Answered

need help for plotting of data

>> whos T Name Size Bytes Class Attributes T 10x10x10 8000 double He...

need help for plotting of data

>> whos T Name Size Bytes Class Attributes T 10x10x10 8000 double He...

8 days ago | 0

| accepted