Community Profile

photo

Tawsif Mostafiz


Last seen: 1 month ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How to save multiple output images with same file type as the original input image?
I am taking multiple input images, and doing active contour segmentation like this: [B,L]=bwboundaries(tumor,'noholes'); %draw ...

1 month ago | 0 answers | 0

0

answers

Answered
How to input add in file names manually?
@Stephen can you please elaborate? If the masks ( the binary images of segmentations) are in folder C:\Users\TawsifMostafiz\De...

1 month ago | 0

Question


How to input add in file names manually?
I am using the following code to input all images from a folder: % Specify the folder where the files live. myFolder = 'C:\Use...

1 month ago | 2 answers | 0

2

answers

Question


How to count white pixels in Watershed segmented image?
I am using watershed method to this image: And got the output: Now I want to convert the segmented part within the yellow ...

2 months ago | 2 answers | 0

2

answers

Question


How to count the black pixels in a segmented section of image?
I am using this code to show a segmented image using active contour method. iteration=50; img=im2bw(imageArray,threshlod_value...

2 months ago | 1 answer | 0

1

answer

Question


How to count the values before negative numbers if negative numbers appear multiple times?
My output is like this: 0.2856 -0.2560 -0.2546 -0.2549 -0.3652 -0.2376 0.2469 0.2645 0.2638 0.2635 -0.6...

2 months ago | 0 answers | 0

0

answers

Question


How to count the numbers before consecutive negative values?
Hi, I have a code, whose output is: c = 0.4855 -0.1902 -0.1758 0.3935 -0.1264 -0.1274 -0.0914 -0.1149 -0.0930...

2 months ago | 2 answers | 0

2

answers

Question


How to calculate the number of consecutive negative values in an array before a positive appears?
I am writing a code, where the output is as follows: c = -0.4607 -0.4659 -0.5165 -0.5168 -0.5164 -0.4626 -0.4668 ...

2 months ago | 2 answers | 0

2

answers

Question


How to solve error "Index exceeds the number of array elements (12)."?
Hi, My code is as follows: % Specify the folder where the files live. myFolder = 'location'; filePattern = fullfile(myFolde...

3 months ago | 1 answer | 0

1

answer

Question


How to fix "Error using == Arrays have incompatible sizes for this operation." in this code?
Hi, I am writing the following code: for k = 1 : length(theFiles) % files are alreaady defined in original code p=1; ...

3 months ago | 1 answer | 0

1

answer

Question


How to resolve floating point numbers in if condition?
I want to find max(cor). And when I do this: for k = 1 : length(theFiles) % files are alreaady defined in code p=0; t=0; ...

3 months ago | 0 answers | 0

0

answers

Question


Why maximum value of array is not present in original array?
In this code: arr(p)=abs(c); %absolute value of c if(arr(p)<1) if(arr(p)>0.9) array(t)=white1; cor(t)=arr(p)...

3 months ago | 1 answer | 0

1

answer

Question


How to find first instance of a value in array?
Hi, I am writing a code that as follows: arr(p)=abs(c); %absolute value of c if(arr(p)<1) if(arr(p)>0.9) array(t)=...

3 months ago | 3 answers | 0

3

answers

Question


How to input image in array?
Hi, I am using this part of code to input multiple images. myFolder = 'Folderlocation'; % Check to make sure that folder actua...

3 months ago | 2 answers | 0

2

answers

Question


How to read a subplot as an image and find correlation for two images?
Hi, I am writing a code for image segmentation where it takes multiple images as input and the output is as follow for each imag...

3 months ago | 1 answer | 0

1

answer

Answered
How to change boundary width in Active Contour Method?
Thanks @Steve Eddins! It works beautifully!

3 months ago | 0

Question


How to change boundary width in Active Contour Method?
Hi, I am writing a code, where I am using active contour method for segmentation. The relevent part looks like this: bw1=active...

3 months ago | 2 answers | 0

2

answers

Question


How to apply a prefixed boundary in Active Contour Method?
I have two codes fo image segmentation. One is Watershed Method, and the other is Active Contour Method. In the Active Contour M...

4 months ago | 0 answers | 0

0

answers

Question


How to solve "brace indexing is not supported for variables of this type" for this code?
Excerpt of my code is as follows: s=0; for k = 1 : length(theFiles) for q=0.1:0.01:0.3 histgrm=im2bw(maskedRgbImage,q); ...

4 months ago | 2 answers | 0

2

answers

Question


How to create a Gaussian Curve over a Bar Plot created by Histogram?
Hi, I am trying to fit a Gausian Curve over a histogram plot derived from an image. The code for it is as follows: subplot(2,2,...

4 months ago | 1 answer | 0

1

answer

Question


How can I measure the area covered by a Bar Chart Plot?
I want to calculate the area covered by this histogram plot (considering a boundary all over the figure and calculating the whol...

4 months ago | 2 answers | 0

2

answers

Question


How can I crop selected portion of an image and place it in a white background?
I am trying to modify a code for watershed method segmentation, and the output figure is this. However, I want to subplot anothe...

4 months ago | 2 answers | 0

2

answers