Community Profile

photo

Sourav Bairagya


MathWorks

36 total contributions since 2019

I am an Engineer in the Engineering Development Group here at MathWorks.

My interest lies in the field of Image Processing, Computer Vision and Deep Learning.

DISCLAIMER: Any advice or options here are my own, and in no way reflect that of MathWorks.

Sourav Bairagya's Badges

  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
how to change the color output of segmentation?
For "imshowpair" function, inputs should be grayscale/ binary/ truecolor images and for "jaccard" function, inputs sholud be bin...

3 days ago | 0

Answered
Error using Semantic Segmentation Using Deep Learning
I have tried to replicate that same example (mentioned in the provided link) on MATLAB R2019b and it sucessfully ran. On MATLAB...

3 days ago | 0

Answered
image labeler_Label Pixels Image
You can use "object DetectorTrainingData" function to create table form the labelled ground truth objects which are returned fro...

5 days ago | 0

Answered
How to TRAIN further a previously trained agent?
In this case, you can resume your training with the previous experience buffer as a starting point. You have to set the 'SaveE...

5 days ago | 0

Answered
How to do the sum for 2 gradient objects in the deep learning toolbox?
As in this case, 'gradients1.Value' and 'gradients2.Value' both are cell arrays and each one contains another cell arrays as ele...

6 days ago | 0

Answered
What is the error histogram in neural network matlab?
Error histogram is the histogram of the errors between target values and predicted values after training a feedforward neural ne...

6 days ago | 0

Answered
Is there any way to use "activations" function for a dlnetwork ?
The "activations" function supports only SeriesNetwork object or DAGNetwork object, but doesn't support 'dlnetwork' object. Ho...

6 days ago | 0

| accepted

Answered
How to create and plot a Gaussian Dist with specified parameters?
You can follow this example to create and plot a Gaussian distribution. a = -100; b = 100; x = a + (b-a) * rand(1, 500); mu =...

6 days ago | 0

Answered
question about vector multiplication
The first two options of your question are performing matrix multiplication of the vectors A and B by considering them nX1 and 1...

6 days ago | 0

Answered
dlnetwork with two inputs
Currently, to build 'dlnetwork' object, network must contain only one input layer. Hence, in current framework you cannot conver...

6 days ago | 0

Answered
Average NDVI from RGB image
You can follow this example to get an idea how NDVI values are computed. https://www.mathworks.com/help/images/finding-vegetati...

7 days ago | 0

Answered
Lat/Lon to Row/Colmn
There are two functions which you can use. If you have the GeoTIFF file, then “geotiffread”helps to read a georeferenced graysc...

7 days ago | 0

Answered
how to change these parts to 0??
Assuming the dct image is ‘dct_img’ and the indexes of the sections are as shown here in this figure, you can create four inve...

7 days ago | 0

Answered
How to keep fix the CNN accuracy result in MATLAB?
As the training progresses, for each iteration, weights of the network got updated. Hence, after some iterations of training, wh...

3 months ago | 0

Answered
Difference between gTruth and pixellabeldata images
‘ImagePixelCount’ represents the total number of pixels present in the image. ‘PixelCount’ represents the number of pixels corr...

3 months ago | 0

| accepted

Answered
How to do autocorrelation with audio signal and parameters
To perform correlation between two signals, you can use ‘xcorr’ function. In ‘xcorr’, if you provide only one input, output wil...

3 months ago | 0

| accepted

Answered
Error in image size U-Net
In U-Net, generally the patch sizes are determined in accordance with the subsequent max-pool layers, so that the down-sampling ...

3 months ago | 0

Answered
Simout does not produce the timeseries data
To export data from Simulink to MATLAB workspace, you can use ‘To Workspace’ block from ‘Sinks’ in ‘Simulink’ library and set th...

3 months ago | 0

| accepted

Answered
Gaussian pyramid vs imresize
In ‘imresize’ function, by default bicubic interpolation is used to resize an image. However, there is also option to specify th...

3 months ago | 0

Answered
Boost/Enhance white pixels
First, you can binarize the image and then use ‘bwmorph’ function to thicken the white lines present in the image. Format of us...

3 months ago | 1

| accepted

Answered
Image reading and processing
After reading the image properly, you can separate the channels using this code segment. a=imread('test.jpg'); a_red=a(:,:,...

3 months ago | 0

| accepted

Answered
Table for neural network regression
To retrieve the data from the text file, you can use “readtable” function in this way: tbl=readtable('test.txt','Format','%s%f'...

4 months ago | 0

| accepted

Answered
Invalid Transformation in trainNetwork (on pixelLabelImageDatastore)
The error you are getting is coming from the use of “imresize” function over pixel-label image datastore object i.e. “pximds”. T...

4 months ago | 0

Answered
Invalid training data. X and Y must have the same number of observations for training a network with MFCC coefficients..
To use the “XTrain”and “YTrain” in “trainNetwork” function, you should reshape those properly, otherwise it will throw this type...

4 months ago | 0

Answered
How can i get frames of a signal using peaks as reference?
“findpeaks” function returns the values of the peaks as well as their locations. Hence, you can store both information in two ar...

4 months ago | 0

| accepted

Answered
How to find MSE for different number of iterations when i have an audio signal
To calculate Mean Squared Error (MSE) between the two signals, first you have to calculate the difference between the two signal...

4 months ago | 0

Answered
Why is jordan() much slower than eig()? Both in symbolic forms
Difference between speed of two functions came from the difference between the algorithms used in the implementation of the two ...

4 months ago | 1

| accepted

Answered
how to drive this equations in simulink ? can anyone help me?
To model differential equations in Simulink, you should follow these steps: First, make a list of all the constant valued varia...

4 months ago | 2

| accepted

Answered
Error using plot Vectors must be the same length.
In your code, “Acceleration” and “ds_mapping”are row vectors whether “t_sec” is a column vector. Hence, you should first conve...

4 months ago | 0

Answered
How to remove the lines in the image?
After inspecting the script that you are using, it seems that data stored in the “input_data.txt” is stored in channels first fo...

4 months ago | 1

| accepted

Load more