1,269 total contributions since 2017

#Image Processing

#Whatsapp+91-8387942066

#Freelancer

Answered

Number of Object in binary image

Yes, the correct answer is 31, not 6. Actually it counts the all white pixels, blobs (having 1 white pixel with sourounding by b...

Number of Object in binary image

Yes, the correct answer is 31, not 6. Actually it counts the all white pixels, blobs (having 1 white pixel with sourounding by b...

17 hours ago | 1

Question

Image Write in Excel

Hello all, I am trying to write image pixels values in excel file, the size of image 2048x1365 uint8. presently using windows ...

18 hours ago | 1 answer | 0

Answered

How to manually add matrices using only for loops

Here Loop is not required result=C+D

How to manually add matrices using only for loops

Here Loop is not required result=C+D

6 days ago | 0

Answered

Properly scale histogram in subplot and error handling

IMG = imread('img.tif'); subplot(1,2,1); imshow(IMG); subplot(1,2,2); histogram(IMG);

Properly scale histogram in subplot and error handling

IMG = imread('img.tif'); subplot(1,2,1); imshow(IMG); subplot(1,2,2); histogram(IMG);

9 days ago | 0

| accepted

Answered

index exceeds array bounds

#Is this one, please do check & confirm? while(1) % mass spring damper system m=20; %Default mass in kg k1=100; %default sp...

index exceeds array bounds

#Is this one, please do check & confirm? while(1) % mass spring damper system m=20; %Default mass in kg k1=100; %default sp...

9 days ago | 0

Answered

find main area of image

#Approximate Here se = strel('line',3,3); BW1=imdilate(binaryImage,se); BW2=bwareafilt(~BW1,1); se = strel('line',3,3); BW...

find main area of image

#Approximate Here se = strel('line',3,3); BW1=imdilate(binaryImage,se); BW2=bwareafilt(~BW1,1); se = strel('line',3,3); BW...

9 days ago | 0

| accepted

Answered

Variable plot title and legend

Other way apart from @Star's Answered: For variable data title plot, see this example: xmin=input('please input your minimum va...

Variable plot title and legend

Other way apart from @Star's Answered: For variable data title plot, see this example: xmin=input('please input your minimum va...

9 days ago | 0

Answered

Finding the Sum of a Finite Series

No need any loop, just check here https://in.mathworks.com/help/symbolic/symsum.html Still having trouble, let me know?

Finding the Sum of a Finite Series

No need any loop, just check here https://in.mathworks.com/help/symbolic/symsum.html Still having trouble, let me know?

9 days ago | 0

| accepted

Answered

How to save image with its original name?

Please see this example, you may able to fix it Images=dir('C:\Lab\Hand stage 4\*.png'); % Complete path outDirectory='C:\Lab...

How to save image with its original name?

Please see this example, you may able to fix it Images=dir('C:\Lab\Hand stage 4\*.png'); % Complete path outDirectory='C:\Lab...

10 days ago | 0

| accepted

Answered

for loop inside a if else loop

In each iteration code store the p2(i, j) element. After the loop execute, you may use unique function, ?? result=unique(p2); ...

for loop inside a if else loop

In each iteration code store the p2(i, j) element. After the loop execute, you may use unique function, ?? result=unique(p2); ...

11 days ago | 0

Answered

Sum two arrays using logical indices

c=a.*(a_logical)+b.*(b_logical) c = 1 3 4

Sum two arrays using logical indices

c=a.*(a_logical)+b.*(b_logical) c = 1 3 4

11 days ago | 1

| accepted

Answered

Matrix Dimension does not agree when using ==

May be both Image having different size. Please make them same size and type and do compare. Use this way isequal(I1,I11) W...

Matrix Dimension does not agree when using ==

May be both Image having different size. Please make them same size and type and do compare. Use this way isequal(I1,I11) W...

11 days ago | 1

| accepted

Answered

how to get exact pixel value of the point marked in pen

Steps: Use loop to call one by one image Read the image (RGB2GRAY) / For Color thesoholding RGB2GRAY is not required Segment...

how to get exact pixel value of the point marked in pen

Steps: Use loop to call one by one image Read the image (RGB2GRAY) / For Color thesoholding RGB2GRAY is not required Segment...

11 days ago | 0

| accepted

Answered

Normalize y axis in Matlab histogram2 Percentage

This example gives you the hints, just divide the y with total elements ran_data=randi(15,[1 150]); % Just random data [resul...

Normalize y axis in Matlab histogram2 Percentage

This example gives you the hints, just divide the y with total elements ran_data=randi(15,[1 150]); % Just random data [resul...

11 days ago | 0

Answered

How to store each for loop array values in avariable?

ret=[]; for n=1:b(2) ret=[ret P1*P2(n)] end

How to store each for loop array values in avariable?

ret=[]; for n=1:b(2) ret=[ret P1*P2(n)] end

11 days ago | 1

| accepted

Answered

How to raise a matrix to multiple powers 0 to 100.

mat=..?? % Define the given Matrix mat_result=cell(1,100); for i=1:100 mat_result{i}=mat.^i; end

How to raise a matrix to multiple powers 0 to 100.

mat=..?? % Define the given Matrix mat_result=cell(1,100); for i=1:100 mat_result{i}=mat.^i; end

12 days ago | 0

| accepted

Answered

Error: Index in position 1 is invalid. Array indices must be positive integers or logical values

Here is the issue? In first iteration, when i=1; temp_data=data_final(find(data_final(:,2)==i),:); Does not find any data, wh...

Error: Index in position 1 is invalid. Array indices must be positive integers or logical values

Here is the issue? In first iteration, when i=1; temp_data=data_final(find(data_final(:,2)==i),:); Does not find any data, wh...

12 days ago | 1

| accepted

Answered

Finding the minima or maxima point on a graph

You can find local min islocalmin (first return array) or #Example x=1:100; c=2; m=3; y=m*x+c; data1=find(y==min(y)...

Finding the minima or maxima point on a graph

You can find local min islocalmin (first return array) or #Example x=1:100; c=2; m=3; y=m*x+c; data1=find(y==min(y)...

12 days ago | 0

Answered

What is the meaning of this line?

"why 2 times sumX2 and what is the purpose of using 2times and can anyone do let me know?" sumX2=sumX2+... Here sumX2 updated ...

What is the meaning of this line?

"why 2 times sumX2 and what is the purpose of using 2times and can anyone do let me know?" sumX2=sumX2+... Here sumX2 updated ...

12 days ago | 1

| accepted

Answered

Plotting only highest peaks from multiple signals

fs = 2e3; t = (0:1/fs:1-1/fs)'; A= sin(2*pi*19*t); B= chirp(t-0.6,61,t(end),603,'quadratic'); C=cos(2*pi*19*t); peakSig= ma...

Plotting only highest peaks from multiple signals

fs = 2e3; t = (0:1/fs:1-1/fs)'; A= sin(2*pi*19*t); B= chirp(t-0.6,61,t(end),603,'quadratic'); C=cos(2*pi*19*t); peakSig= ma...

13 days ago | 1

Answered

Search subarray closest other array

One way: A = [4, 5.5, 7, 8.1, 1, 5, 6, 7, 8, 9]; B = [5.5, 6.2, 7, 7.9]; for i=1:length(A)-4 result(i)=sum(A(i:i+3)-B); ...

Search subarray closest other array

One way: A = [4, 5.5, 7, 8.1, 1, 5, 6, 7, 8, 9]; B = [5.5, 6.2, 7, 7.9]; for i=1:length(A)-4 result(i)=sum(A(i:i+3)-B); ...

13 days ago | 0

| accepted

Answered

Integration over function between two limits

syms x f_x=@(x) sin(x) q = integral(f_x,0,pi)

Integration over function between two limits

syms x f_x=@(x) sin(x) q = integral(f_x,0,pi)

13 days ago | 0

Answered

matrix summation inside loop

#Without Loop Recomended syms i F_result=symsum((cos(q1)+cos(q2))*i,i,1,100) More detail, please check here কল্যাণ :)

matrix summation inside loop

#Without Loop Recomended syms i F_result=symsum((cos(q1)+cos(q2))*i,i,1,100) More detail, please check here কল্যাণ :)

13 days ago | 0

Answered

Switch case transition statement

I assume you have multiple cases n=input('Enter the case number: '); switch n case 1 if Conditionstatemnet/If this is tr...

Switch case transition statement

I assume you have multiple cases n=input('Enter the case number: '); switch n case 1 if Conditionstatemnet/If this is tr...

13 days ago | 0

Answered

Help i get this error: Array indices must be positive integers or logical values. Error in simulering (line 35) plot(v(t),t)

plot(v,t)

Help i get this error: Array indices must be positive integers or logical values. Error in simulering (line 35) plot(v(t),t)

plot(v,t)

13 days ago | 0

Answered

I want to check the list [2:N] for values that are devisible by 2 and remove those from the list, help plz

N = 10; list=2:N list(find(mod(list,2)==0))=[] Result: list = 2 3 4 5 6 7 8 9 10 list ...

I want to check the list [2:N] for values that are devisible by 2 and remove those from the list, help plz

N = 10; list=2:N list(find(mod(list,2)==0))=[] Result: list = 2 3 4 5 6 7 8 9 10 list ...

13 days ago | 1

| accepted

Answered

Transfering results form one function to another one

"how i can take values from one function to another one?" Its nesting of function, just call the 1st function to the 2nd functi...

Transfering results form one function to another one

"how i can take values from one function to another one?" Its nesting of function, just call the 1st function to the 2nd functi...

13 days ago | 0

| accepted

Answered

How do I do random integers between (100*pi and 200*pi)?

100*pi or 200*pi are not integers >> 100*pi ans = 314.1593 For randi case randi([IMIN IMAX],1); here the input must be a...

How do I do random integers between (100*pi and 200*pi)?

100*pi or 200*pi are not integers >> 100*pi ans = 314.1593 For randi case randi([IMIN IMAX],1); here the input must be a...

13 days ago | 0

| accepted