Community Profile

photo

Salad Box


Last seen: 6 months ago
70 total contributions since 2017

Salad Box's Badges

  • Thankful Level 3
  • Promoter

View details...

Contributions in
View by

Question


what does it mean and what do i need to do? (warning message)
Warning: MATLAB previously crashed due to a low-level graphics error. To prevent another crash in this session, MATLAB is using...

7 months ago | 0 answers | 0

0

answers

Question


Is this a valid expression?
Hi offsets = [32 48 64 80 96 112]; [X,Y,Z] = ndgrid([-1, 0, 1]); offsetArray = [Z(:), Y(:), X(:)]; offsetA...

7 months ago | 2 answers | 0

2

answers

Question


'combnk' enumeration of combinations
Hi, If I use 'combnk' in a all positive region, it gives me all the possible combinations. >> c = combnk(1:3,2) c = ...

7 months ago | 1 answer | 0

1

answer

Question


How to evaluate the performance of K-means?
Hi, I would like to evaluate the performance of k-means. I saw the below cost function (1) online, where wik=1 for data point...

8 months ago | 1 answer | 0

1

answer

Question


'break' in 'while' loop
Hi, I have a 'while' loop inside a 'while' loop. while %%% while %%% break end %%% sta...

9 months ago | 1 answer | 0

1

answer

Question


Sort matrix based on values in the first row from small to large
Hi, I have a matrix M M = 39 93 143 64 36 1 2 3 4 5 I would like to sort the matrix M by v...

9 months ago | 1 answer | 0

1

answer

Question


How to use 'center pixel' in a sliding block to represent this block using 'nlfilter'?
Hi, I am dealing with all the coloured images rather than greyscale images. So a lot of the filtering algorithms appear sligh...

10 months ago | 0 answers | 0

0

answers

Question


To apply a median filter on a coloured image, why do I have to use 'medfilt2' on each channel separately rather than use 'medfilt3'?
Hi, I have a color image and would like to use a 9 x 9 median filter. Method A - using 'medfilt2' on each channel separatel...

10 months ago | 0 answers | 0

0

answers

Question


How to apply a median filter on a coloured image?
Hi, I'm not exactly sure how 'median filter' works on a coloured image. I can understand how the median filter work on a b...

10 months ago | 0 answers | 0

0

answers

Question


Sliding Neighbourhood Operation (Image Filtering)
Hi, I have a sample image and I would like to apply a 4 by 5 'sliding block' to this image. In each 4 x 5 block, I would ...

10 months ago | 0 answers | 0

0

answers

Question


Does 'imresize' generate artificial pixel RGB values which are not contained in the original image?
Hi, I would like to know whether 'imresize' generate artificial pixel values which are not contained in the original image. ...

10 months ago | 1 answer | 0

1

answer

Question


How to know the real row and column indices of a pixel in the image
Hi, I have an image. See below. >> fn = 'Unknown.jpg'; >> RGB = imread(fn); >> whos RGB Name Size ...

10 months ago | 1 answer | 0

1

answer

Question


How to replace values of certain rows in a matrix?
Hi, I have a matrix "a" a = 1 1 2 2 3 3 4 4 I would like to replace the 2nd and...

10 months ago | 1 answer | 0

1

answer

Question


Evaluation of k-means performance in terms of 'sumd'
Hi, To give a simple example: I have 4 data points p1, p2, p3, p4 (in blue dots). I performed k-means twice with k = 2 and...

11 months ago | 1 answer | 0

1

answer

Question


Initial centroids selection - Kmeans
Hi, Am I allowed to choose k initial centroids that are not contained in the original data set, in another word, not using th...

11 months ago | 1 answer | 0

1

answer

Question


Is there a 'value range' of INITIAL CENTROIDS for kmeans and kmeans ++?
Hi, We know that the initial centroids are randomly generated for Matlab's default 'kmeans' function. I wonder whether th...

11 months ago | 1 answer | 0

1

answer

Question


How to draw circle in a 3D space?
Hi, I would like to draw 2 circles. One in plane [P1 P6 P5], the other in plane [P1 P8 P5]. RGB values of points P1, P5,...

11 months ago | 2 answers | 0

2

answers

Question


Initial centroids for K-means clustering
If I have an array (i.e., 5 by 3 matrix) can serve as the initial centroids for kmeans clustering, how can I properly initialize...

11 months ago | 1 answer | 0

1

answer

Question


How to save the image WITHOUT the white background using imwrite (advanced problem)
Hi RGB = imread('bird1.png'); figure imshow(RGB) Then I get: Then: s = size(RGB); rectangle('position',[1 1 s(2) s(...

12 months ago | 2 answers | 0

2

answers

Answered
How to add box to an image?
clear close all clc RGB = imread('bird1.jpg'); s = size(RGB); figure imshow(RGB); rectangle('position',[1 1 s(2) ...

12 months ago | 0

Question


How to add box to an image?
Hi I have two images ('yellow.png' and 'bird.png'). See below. How can I make a box AROUND...

12 months ago | 4 answers | 0

4

answers

Question


Why my 'bboxes' and 'scores' variables are all empty while certainly my image contains a person?
Hi, This is my example image clearly with a person in it. I would like to use Matlab's 'people detector' to detect the p...

1 year ago | 2 answers | 1

2

answers

Question


How to identify skin or detect human or skin in an image using Matlab (detection problem not recognition problem) ?
Hi, I would like to detect whether there is any human or just skin in an image using Matlab. It doesn't have to be the face t...

1 year ago | 0 answers | 0

0

answers

Question


Text Analytics Toolbox seems making lots of mistakes on recognizing language and PartOfSpeech
Hi, My input is a list of VERY BASIC ENGLISH words shown below. I would like to find out the part of speech of them. k...

1 year ago | 1 answer | 0

1

answer

Question


How to parse noun and adjective words from an array of texts
Hi I have an array (n x 1) of strings. See example below. 'I thought about illness' 'I think I associated it with fresh or ...

1 year ago | 0 answers | 0

0

answers

Question


Any possibilities of using sortrows for strings
Hi, I have a cell named 'b' consisted of n by 1 of strings, each row in a cell is a string. See below. The 1,2,3,4 is n...

1 year ago | 1 answer | 0

1

answer

Question


Saving texts read from edit box in GUI
Hi, I have a edit box in GUI design. This edit box is specifically for puting texts/strings in rather than numbers. So I ...

1 year ago | 0 answers | 0

0

answers

Question


GUI editbox can't evoke a pushbotton?
Hi, I'm working on a GUI design and I created a edit box and a pushbutton. Shown in the picture below. What I woul...

1 year ago | 1 answer | 0

1

answer

Question


Is it possible to make 'uisetcolor' integrated in GUI?
Hi I'm trying to build 'uisetcolor' into my GUI. At the moment, if I run my GUI, the 'uisetcolor' pops up in a seperate w...

1 year ago | 2 answers | 0

2

answers

Question


How to make a colour picker similar to this one in Matlab?
Hi, Below is the screenshots for a commercial colour picker available online. The good thing about designing the colour p...

1 year ago | 1 answer | 0

1

answer

Load more