Community Profile

photo

Tawsif Mostafiz


Last seen: alrededor de 1 año hace Con actividad desde 2021

Estadísticas

  • Thankful Level 3

Ver insignias

Content Feed

Ver por

Pregunta


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

casi 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 2 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

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

más de 2 años hace | 0

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 2 años hace | 3 respuestas | 1

3

respuestas

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 2 años hace | 1 respuesta | 0

1

respuesta

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

más de 2 años hace | 0

Pregunta


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

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
How can I crop selected portion of an image and place it in a white background?
Nevermind, found it!

casi 3 años hace | 0

Pregunta


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

casi 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 3 años hace | 2 respuestas | 0

2

respuestas