photo

Tawsif Mostafiz


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to make the grey area completely black, so it's a binary image?
Hi, I have a grayscale tumor image like this: I want to make the grey area complely dark, something like this: (This is a ...

2 years ago | 2 answers | 0

2

answers

Question


How to find the closest value to the average in an array?
I get a different one dimentional array for different inputs. Now, I want to take the average value of the array, and find the ...

2 years ago | 3 answers | 0

3

answers

Question


How to overlay a mask on an image with zero transperancy?
I am trying to overly this mask: Onto this bw image: Using this code: maskedRgbImage1 = bsxfun(@times, bw, cast(mask, 'li...

2 years ago | 1 answer | 0

1

answer

Question


How to fill a segmented region of an image with color?
I have used the code MagicWand provided by ImageAnalyst (Huge Thanks btw!) to apply Region Growing segmentation on an image, and...

3 years ago | 0 answers | 0

0

answers

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 ...

3 years ago | 1 answer | 0

1

answer

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...

3 years 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...

3 years 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 ...

3 years 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...

3 years 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...

3 years 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...

3 years 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 ...

3 years 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 years 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 years 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 years 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 years 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 years ago | 3 answers | 1

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 years 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 years ago | 1 answer | 0

1

answer

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

3 years 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 years 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...

3 years 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); ...

3 years ago | 1 answer | 0

1

answer

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,...

3 years 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...

3 years 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...

3 years ago | 2 answers | 0

2

answers