989 total contributions since 2017

#Image Processing

#Whatsapp+91-8387942066

#Alma-mater Tezpur University India

Answered

Randi command for a matrix

Wrong here,you read a txt file as A and Divide it by 9>>B, Is there any sense?? % Read a text file, variable name A A = (textr...

Randi command for a matrix

Wrong here,you read a txt file as A and Divide it by 9>>B, Is there any sense?? % Read a text file, variable name A A = (textr...

alrededor de 6 horas ago | 0

Answered

how to create a function from a script

Is this? Pass the different input arguments (y=drying_rate_1) to the function, as a result you will get the different plots as p...

how to create a function from a script

Is this? Pass the different input arguments (y=drying_rate_1) to the function, as a result you will get the different plots as p...

1 día ago | 0

| accepted

Answered

How to plots the graphs with multiple y axes with one common x-axis?

Two y-axes yyaxis The graphs are seen as U/Ue vs y with different x values See the following example, you might get some hint...

How to plots the graphs with multiple y axes with one common x-axis?

Two y-axes yyaxis The graphs are seen as U/Ue vs y with different x values See the following example, you might get some hint...

1 día ago | 0

Answered

Hiw to save the image as best resolution image

How to save the image in the fastest way as png. I am not sure about fastest way, one way: [~,~,I]=histcounts(peaks,5); I = I...

Hiw to save the image as best resolution image

How to save the image in the fastest way as png. I am not sure about fastest way, one way: [~,~,I]=histcounts(peaks,5); I = I...

1 día ago | 0

| accepted

Answered

Fit multidimensional array into other multidimensional matrix with changing index

Suppose, as per your question, considering random A and B A=rand(4,4,2); B=rand(2,2,2); Now you want for A(:,:,1) to paste B...

Fit multidimensional array into other multidimensional matrix with changing index

Suppose, as per your question, considering random A and B A=rand(4,4,2); B=rand(2,2,2); Now you want for A(:,:,1) to paste B...

1 día ago | 0

Answered

How to form a matrix ?

name= {'Ajay';'Sekhar';'Tom'} mark1=[20;30;40]; mark2=[25;35;45]; mark3=[23;33;43]; Varibles_Names={'Name', 'Mark1',...

How to form a matrix ?

name= {'Ajay';'Sekhar';'Tom'} mark1=[20;30;40]; mark2=[25;35;45]; mark3=[23;33;43]; Varibles_Names={'Name', 'Mark1',...

1 día ago | 0

Answered

save column values of different multiple .txt files without overwriting in a for loop.

I want to bring the 4th column of all the files in the sructure to one data_array, Read the txt file one by one (As you mention...

save column values of different multiple .txt files without overwriting in a for loop.

I want to bring the 4th column of all the files in the sructure to one data_array, Read the txt file one by one (As you mention...

2 días ago | 1

| accepted

Answered

Replace Row in a Matrix with an Vector

Replace Row in a Matrix with an Vector matrix(n,:)=vector_data n is row number, Ensured that vector_data length and row length...

Replace Row in a Matrix with an Vector

Replace Row in a Matrix with an Vector matrix(n,:)=vector_data n is row number, Ensured that vector_data length and row length...

2 días ago | 0

Answered

How to bridge the gaps

"I want to retain the same thickness but to get them elongated in a way so they can connect". I tried using se=strel('line',h...

How to bridge the gaps

"I want to retain the same thickness but to get them elongated in a way so they can connect". I tried using se=strel('line',h...

2 días ago | 1

| accepted

Answered

Subscript indices must either be real positive integers or logicals.

The error is v(i) %..^ In Matlab indexing, the i value must be positive interger, like 1,2,3,,,, v(1)>> Allow v(0)>> No...

Subscript indices must either be real positive integers or logicals.

The error is v(i) %..^ In Matlab indexing, the i value must be positive interger, like 1,2,3,,,, v(1)>> Allow v(0)>> No...

3 días ago | 1

Answered

Initial centroids for K-means clustering

Before I share the helpful link, I requested you to watch the Andrew Ng. lecture on Random Initialization of K menas (Machine Le...

Initial centroids for K-means clustering

Before I share the helpful link, I requested you to watch the Andrew Ng. lecture on Random Initialization of K menas (Machine Le...

3 días ago | 0

Answered

Selecting cross values from two arrays

Form the question, if you pattern the s,d, and J , it becomes 1 1 1 2 1 3 2 2 2 Have you find any pattern on the sequence?...

Selecting cross values from two arrays

Form the question, if you pattern the s,d, and J , it becomes 1 1 1 2 1 3 2 2 2 Have you find any pattern on the sequence?...

3 días ago | 0

Answered

signal Processing data plot

Please do change as per your requirements T=table; for k=1:100 data1=k; %fprintf('The value is %d \n',data1); d...

signal Processing data plot

Please do change as per your requirements T=table; for k=1:100 data1=k; %fprintf('The value is %d \n',data1); d...

6 días ago | 0

| accepted

Answered

How to write MSE and PSNR values in table form ?

a=imread('coverimage.jpg'); [m,n,d]=size(a); kmax=floor((m*n)/(m+n+1)); da=double(a); U=zeros(m,m);S=zeros(m,n);V=zeros(n,n)...

How to write MSE and PSNR values in table form ?

a=imread('coverimage.jpg'); [m,n,d]=size(a); kmax=floor((m*n)/(m+n+1)); da=double(a); U=zeros(m,m);S=zeros(m,n);V=zeros(n,n)...

6 días ago | 0

| accepted

Answered

How to remove error 'matrix dimensions must agree' in XOR code ?

Before apply the XOR logic operation, please make sure that both and b images have same dimension. Or If the a and b images ar...

How to remove error 'matrix dimensions must agree' in XOR code ?

Before apply the XOR logic operation, please make sure that both and b images have same dimension. Or If the a and b images ar...

6 días ago | 1

| accepted

Answered

How can I find maximums in the intensity profile and display it in the original image ?

My problem is why I got points outside the red curve ? here is my code? scatter(cy(locs(:)),cx(locs(:)),'b') I dot think ther...

How can I find maximums in the intensity profile and display it in the original image ?

My problem is why I got points outside the red curve ? here is my code? scatter(cy(locs(:)),cx(locs(:)),'b') I dot think ther...

7 días ago | 1

Answered

Why autocorr(x) and xcorr(x,x) give different results?

Please read here (Difference between autocorr & xcorr)

Why autocorr(x) and xcorr(x,x) give different results?

Please read here (Difference between autocorr & xcorr)

7 días ago | 1

Answered

How to get the threshold values so i can just get my hand in the binary image?

Hi Akshat, In your image the object (ROI) and image is clearly separable, you can directly apply the imbinirize function on th...

How to get the threshold values so i can just get my hand in the binary image?

Hi Akshat, In your image the object (ROI) and image is clearly separable, you can directly apply the imbinirize function on th...

7 días ago | 0

Answered

confront values in 2 matrix

"i have 2 different matrix with same dimensions and i need to know the min value against 2 values in the same position:" A=rand...

confront values in 2 matrix

"i have 2 different matrix with same dimensions and i need to know the min value against 2 values in the same position:" A=rand...

7 días ago | 0

| accepted

Answered

Problem with 'disp' function while using 'sym'

You are trying to diplay displaying a description and variable value in the same line using disp, please look at fprintf functio...

Problem with 'disp' function while using 'sym'

You are trying to diplay displaying a description and variable value in the same line using disp, please look at fprintf functio...

8 días ago | 1

| accepted

Answered

generate a crc bit using P(x)= 1 1 0 1 0 0 1 0 10 and G(x)=x3 + x +1

Matlab Documentation here I tried to implement the CRC from here %Transmitter: disp('###### Transmitter ######'); p=[1 1 0 1...

generate a crc bit using P(x)= 1 1 0 1 0 0 1 0 10 and G(x)=x3 + x +1

Matlab Documentation here I tried to implement the CRC from here %Transmitter: disp('###### Transmitter ######'); p=[1 1 0 1...

10 días ago | 0

Answered

How I can solve, index exceeds matrix dimensions

In your example PDF C1 is >> whos c1 Name Size Bytes Class Attributes c1 1x1 ...

How I can solve, index exceeds matrix dimensions

In your example PDF C1 is >> whos c1 Name Size Bytes Class Attributes c1 1x1 ...

10 días ago | 0

Answered

How to make changes in the code for determining grain size using Matlab?

Have you gone though? Recommended use of grain size parameters Find the way to get the volume-weighted average grain size d as...

How to make changes in the code for determining grain size using Matlab?

Have you gone though? Recommended use of grain size parameters Find the way to get the volume-weighted average grain size d as...

10 días ago | 0

| accepted

Answered

How to Sum the N newest data

One way: % Assuming E1,E2,E3...are scalars n= %total_data t1,t2,t3........ s=0; E=zeros(1,); for t=1:n % t time repr...

How to Sum the N newest data

One way: % Assuming E1,E2,E3...are scalars n= %total_data t1,t2,t3........ s=0; E=zeros(1,); for t=1:n % t time repr...

10 días ago | 0

Answered

How can In convert video to 3d image

One Way (Considering Gray Images): Extract the individuals frames and save in cell array reshape(all_frames,[row_frame,col_fra...

How can In convert video to 3d image

One Way (Considering Gray Images): Extract the individuals frames and save in cell array reshape(all_frames,[row_frame,col_fra...

10 días ago | 0

Answered

need to create a loop to load images

Assuming, you are trying to compare the images from same folder, suppose image1 and image2, image2 and image 3...so on.. %S...

need to create a loop to load images

Assuming, you are trying to compare the images from same folder, suppose image1 and image2, image2 and image 3...so on.. %S...

12 días ago | 1

| accepted

Answered

how to display images from a nifti file?

Read the individuals slices and convert them to binary, is there any issue? slice_test=Y(:,:,400) % Just as example of slice nu...

how to display images from a nifti file?

Read the individuals slices and convert them to binary, is there any issue? slice_test=Y(:,:,400) % Just as example of slice nu...

15 días ago | 0

Answered

What am i doing wrong in this code?

syms beta epsilon_r=2.1; f=(7e12); w=(2*3.1416*f); surface_conductivity = (0.00012164049 - 0.0053497497i); c=(3e8); epsil...

What am i doing wrong in this code?

syms beta epsilon_r=2.1; f=(7e12); w=(2*3.1416*f); surface_conductivity = (0.00012164049 - 0.0053497497i); c=(3e8); epsil...

15 días ago | 0

Answered

not enough input arguments

I assumed that num1 and num2 are number function s=test(num1, num2) s=num1+num2; end Save the above function as test.m file ...

not enough input arguments

I assumed that num1 and num2 are number function s=test(num1, num2) s=num1+num2; end Save the above function as test.m file ...

16 días ago | 0

| accepted