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

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

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

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 2 answers | 0

2

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

4 years 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? ...

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

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

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

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

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

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

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

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

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

5 years ago | 1 answer | 0

1

answer

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

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

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

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

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

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

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

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

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

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

5 years 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(...

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

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

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

5 years ago | 2 answers | 1

2

answers

Load more