Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

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

oltre 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 4 anni fa | 2 risposte | 1

2

risposte

Carica altro