665 total contributions since 2017

#Freelancer (Part-Time)

#Image Processing

#Alma-mater Tezpur University India

Answered

How to find the largest area in this grayscale image with discontinuities in between?

Convert to binary image (Proper segmentation) Finding the largest blob (bwlabel) Sum of all pixels in largest blobs (binary i...

How to find the largest area in this grayscale image with discontinuities in between?

Convert to binary image (Proper segmentation) Finding the largest blob (bwlabel) Sum of all pixels in largest blobs (binary i...

약 2시간 ago | 0

Answered

patch extraction of an image

im=imread('new.jpeg'); k=1; [rows colm]=size(im); for i=1:10:rows-10 for j=1:10:colm-10 im_sub=im(i:i+9,j:j+9); ...

patch extraction of an image

im=imread('new.jpeg'); k=1; [rows colm]=size(im); for i=1:10:rows-10 for j=1:10:colm-10 im_sub=im(i:i+9,j:j+9); ...

약 4시간 ago | 0

Answered

how to open a thermal image in matlab

How to open a thermal image in matlab? im=imread('image name.jpg'); imshow(im); Is there any issue?

how to open a thermal image in matlab

How to open a thermal image in matlab? im=imread('image name.jpg'); imshow(im); Is there any issue?

약 6시간 ago | 0

| accepted

Answered

identify numbers greater than a specific number

T =[3 5 6 7 8 9 2 6 9 10 2 12 13]; idx=find(T>7) % Gives index position num=T(idx) % Gives Numbers

identify numbers greater than a specific number

T =[3 5 6 7 8 9 2 6 9 10 2 12 13]; idx=find(T>7) % Gives index position num=T(idx) % Gives Numbers

약 6시간 ago | 0

| accepted

Answered

Optimizing nested for loops for image analysis

TPFsum=sum(TPFstack(:,:,1:z,:)); Is this?

Optimizing nested for loops for image analysis

TPFsum=sum(TPFstack(:,:,1:z,:)); Is this?

약 9시간 ago | 0

Answered

save the slices of a deformes volume

for slice_number=1:430 b_slices=b(:,:,slice_number); % Save Individually end Or b_slices={}; for slice_number=1:430 b_sli...

save the slices of a deformes volume

for slice_number=1:430 b_slices=b(:,:,slice_number); % Save Individually end Or b_slices={}; for slice_number=1:430 b_sli...

약 20시간 ago | 0

Answered

When inserting an image into MATLAB, how do you read the n-by-3 array for pixels?

When Matlab read the image, it now matrix having elements value (Pixel Value) and spatial co-ordinates (x,y) that is position of...

When inserting an image into MATLAB, how do you read the n-by-3 array for pixels?

When Matlab read the image, it now matrix having elements value (Pixel Value) and spatial co-ordinates (x,y) that is position of...

약 20시간 ago | 0

Answered

discriminant analysis with tensor representation

"I found one question that there is different repeat times when running the same data with the same algorithm" Yes, data may be...

discriminant analysis with tensor representation

"I found one question that there is different repeat times when running the same data with the same algorithm" Yes, data may be...

1일 ago | 0

| accepted

Answered

What represents the Y-axis in matlab's histogram?

What represents the Y-axis in matlab's histogram? it represents bins Read here, you will get the idea. Still issue, let us kno...

What represents the Y-axis in matlab's histogram?

What represents the Y-axis in matlab's histogram? it represents bins Read here, you will get the idea. Still issue, let us kno...

2일 ago | 0

Answered

How to convert RGB to hsv?

For one frame, you can check here, as you mentioned the reference (wiki), I have implmented the same from here I assumed, you c...

How to convert RGB to hsv?

For one frame, you can check here, as you mentioned the reference (wiki), I have implmented the same from here I assumed, you c...

4일 ago | 0

Answered

How to use blockproc by location?

#Edited Considering Input Image is Gray, let say image1 and location of pixel is x,y image1(y-1:y+1,x-1:x+1)=255;

How to use blockproc by location?

#Edited Considering Input Image is Gray, let say image1 and location of pixel is x,y image1(y-1:y+1,x-1:x+1)=255;

4일 ago | 0

Answered

select the odd or even frames of a volume

Let say Image1 is the original 3D image resultant_image=image1(:,:,1:2:430)

select the odd or even frames of a volume

Let say Image1 is the original 3D image resultant_image=image1(:,:,1:2:430)

4일 ago | 0

| accepted

Answered

Matlab code to solve an integral

#Edited syms x kw = 91371; CaO= 1.81 * 10 ^ -4; FaO= 0.1233; K = 2; fun = (FaO*(1+(K*CaO)*(1-x)))/(kw*CaO*(1-x)) int(fun)...

Matlab code to solve an integral

#Edited syms x kw = 91371; CaO= 1.81 * 10 ^ -4; FaO= 0.1233; K = 2; fun = (FaO*(1+(K*CaO)*(1-x)))/(kw*CaO*(1-x)) int(fun)...

5일 ago | 0

Answered

How do I calculate the precision, recall and F1score for an image database?

To calcuate the precision and recall you need ground truth images Lets clear the issue You have dermoscopy images You applied...

How do I calculate the precision, recall and F1score for an image database?

To calcuate the precision and recall you need ground truth images Lets clear the issue You have dermoscopy images You applied...

5일 ago | 0

Answered

How can I create a loop and plot a graph after each loop?

w = 0:50E3:300E3; omega = w.*2.*pi./60; % Array of omega values for beta=1:1:4 omega_n = 3*beta; % Omega_n is...

How can I create a loop and plot a graph after each loop?

w = 0:50E3:300E3; omega = w.*2.*pi./60; % Array of omega values for beta=1:1:4 omega_n = 3*beta; % Omega_n is...

6일 ago | 0

Answered

How do I linspace this plot?

stem(freq/1e+12,2*abs(X(1:NFFT/2+1))) Use stem, instead of plot

How do I linspace this plot?

stem(freq/1e+12,2*abs(X(1:NFFT/2+1))) Use stem, instead of plot

6일 ago | 0

| accepted

Answered

How to separate matrix elements based on randomized indices

a=rand(2,10) [rows colm]=size(a); rand_colm=randi(colm-3); mat1=a(:,1:rand_colm) mat2=a(:,rand_colm+1) mat3=a(:,rand_colm+2...

How to separate matrix elements based on randomized indices

a=rand(2,10) [rows colm]=size(a); rand_colm=randi(colm-3); mat1=a(:,1:rand_colm) mat2=a(:,rand_colm+1) mat3=a(:,rand_colm+2...

6일 ago | 0

Answered

HOW TO CONVERT GRAY IMAGE TO HUE IMAGE?

Have you read about Hue? Read here in wiki I dont think there is any conversiotion way, if you do somehow, all gray pixels=0 i...

HOW TO CONVERT GRAY IMAGE TO HUE IMAGE?

Have you read about Hue? Read here in wiki I dont think there is any conversiotion way, if you do somehow, all gray pixels=0 i...

7일 ago | 0

| accepted

Answered

Open image, read block of pixels, average the intensity of the block, display average intensity matrix

Considering Gray Image, if not convert to grayscale then perform im=imread('Image.jpg'); %.................^^ Change as per i...

Open image, read block of pixels, average the intensity of the block, display average intensity matrix

Considering Gray Image, if not convert to grayscale then perform im=imread('Image.jpg'); %.................^^ Change as per i...

7일 ago | 0

Answered

How to fill holes in binary image

"How to fill holes in binary image" J = imerode( binary_image_name , SE ) ; % chosse the structuring elment as per your requir...

How to fill holes in binary image

"How to fill holes in binary image" J = imerode( binary_image_name , SE ) ; % chosse the structuring elment as per your requir...

7일 ago | 0

Answered

How can I keep MATLAB command window always on top

If you are using 2015b or later just drag window and drop

How can I keep MATLAB command window always on top

If you are using 2015b or later just drag window and drop

8일 ago | 0

Answered

How to assign value at the particular location of a 2-D array? replace the values of (u,v) 2-D array at (u1,v1) positions with 20?

array_name(u1,v1) =20

How to assign value at the particular location of a 2-D array? replace the values of (u,v) 2-D array at (u1,v1) positions with 20?

array_name(u1,v1) =20

8일 ago | 0

| accepted

Answered

Label multiple boxplots in same figure

As you didnot provided the K and M, so I did not able to cehck my code, this is perfectly works on bar charts, please try and le...

Label multiple boxplots in same figure

As you didnot provided the K and M, so I did not able to cehck my code, this is perfectly works on bar charts, please try and le...

9일 ago | 0

| accepted

Answered

How to add multiple input image file in the program? I am having images from a1 to a10. Kindly help me to resolve this problem

Keep all images in same working directory (Keep all 10 images only on current directory)- clc; list=dir('*.jpg'); for j=1:len...

How to add multiple input image file in the program? I am having images from a1 to a10. Kindly help me to resolve this problem

Keep all images in same working directory (Keep all 10 images only on current directory)- clc; list=dir('*.jpg'); for j=1:len...

9일 ago | 0

Answered

how to swap two bits in matlab.? which cammond is used for this..?

>> a=de2bi(28) a = 0 0 1 1 1 Here swap first and Fifth Elements (Change as per your requirements) ...

how to swap two bits in matlab.? which cammond is used for this..?

>> a=de2bi(28) a = 0 0 1 1 1 Here swap first and Fifth Elements (Change as per your requirements) ...

9일 ago | 1

| accepted

Answered

How do I multiply an integer with a single value from the matrix?

Here Module_Information is cell >> whos Module_Information Name Size Bytes Class Attribu...

How do I multiply an integer with a single value from the matrix?

Here Module_Information is cell >> whos Module_Information Name Size Bytes Class Attribu...

9일 ago | 0

Answered

Help Writing One's Own Functions

I have tried with similar, I have no issue If I misundestood the question, please clarify?

Help Writing One's Own Functions

I have tried with similar, I have no issue If I misundestood the question, please clarify?

10일 ago | 2

| accepted

Answered

multiple plots on same axis

Ckwh=0.0001; n=1:2:20; A=[]; for i=3:12 A=(((1+i).^n(:)-1)/(i*(1+i).^n(:)))*Ckwh*8760; plot(n,A); hold on; en...

multiple plots on same axis

Ckwh=0.0001; n=1:2:20; A=[]; for i=3:12 A=(((1+i).^n(:)-1)/(i*(1+i).^n(:)))*Ckwh*8760; plot(n,A); hold on; en...

10일 ago | 1

| accepted

Answered

Generate random variables over an interval

I wanted to generate a standard normal variate 'zn' over the interval (0,1). zn=rand(1)

Generate random variables over an interval

I wanted to generate a standard normal variate 'zn' over the interval (0,1). zn=rand(1)

10일 ago | 0