Community Profile

photo

Salad Box


Last seen: 15 days ago Active since 2017

Statistics

  • Thankful Level 4
  • Promoter

View badges

Content Feed

View by

Question


When chromaticity diagram meets a line
Hi, I used Matlab to plot a chromaticity diagram, then I plotted a line with a function y=ax+b with known a and b. I am jus...

1 month ago | 2 answers | 0

2

answers

Question


How to generate colour blindness confusion lines?
Hi, How are the confusion lines (red lines) generated in the image below?

2 months ago | 0 answers | 0

0

answers

Question


box detection/rectangle detection
Hi Here is my sample image. How to automatically grab/crop/know the region of each colour square without using 'get rect' fun...

6 months ago | 2 answers | 0

2

answers

Question


Using 'getrect' on the main design window - App Designer
Hi Below is my main design window. As you can see, within the blue box it is an Image Object, not an Axes Object. There is n...

6 months ago | 1 answer | 0

1

answer

Question


ButtonDownFunction on an image in App Designer
Hi I haven't really figured out how to use the 'BottonDownFcn' on an image in the new App Designer. Here is what I would li...

6 months ago | 1 answer | 0

1

answer

Question


How to display an image within the figure in App Designer?
Hi, I used to work with GUI and I am very new to the 'App Designer'. As you can see here I have created an interface. ...

6 months ago | 1 answer | 0

1

answer

Question


How to do colour clustering on a PNG image with a transparent background?
Hi, I have a sample PNG image the background of which has been removed. See below ( well it shows the white background here b...

1 year ago | 0 answers | 0

0

answers

Question


How to separate the foreground from the background of the image?
Hi, How to separate the foreground from the background OR how to remove the background of an image? Below are a few exampl...

1 year ago | 0 answers | 0

0

answers

Question


How to remove the background of the images?
Hi, Below are the sample images. How to remove the background including both the surface and the shadow in the above im...

1 year ago | 0 answers | 0

0

answers

Question


'word2vec' not found
Hi I'm using 2018b and 'text analytics toolbox' appears in my toolbox list. However, when I type >> which word2vec 'wor...

1 year ago | 1 answer | 0

1

answer

Question


Looking for the RGB values of the 8-bit 256 colours?
Hi, My question is below at the bottom. So what are the RGB values of these 256 colours mentioned in the red box above? ...

1 year ago | 1 answer | 0

1

answer

Question


How to select only ADJECTIVES from a list of strings?
Hi I have a list of words in the string format. See below I would like to only select adjectives from this list. How...

1 year ago | 1 answer | 0

1

answer

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

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

2 years 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 = ...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 years ago | 1 answer | 0

1

answer

Load more