Question


find the object closest to the center
i did adaptive threshold and got the output as below for 3 different inputs Now, i wanted to keep only regions marked 1 and 2...

plus de 3 ans il y a | 2 réponses | 1

2

réponses

Question


how to change the e+00 format
on computation i get a vector value as below index = [7.8651e+04;177445] because of the e+04 format, on further computation i ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


Read images from a folder in a particular order
I have a folder, and subfolder of images in it. When i read images it comes in the order 1, 10, 11, 12...etc, instead of 1, 2, ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


how to compute derivative
having all the values in the above equation, is the below code correct for dE(t)/d(t) computation? dEt = beta * (1 - sigma) *...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to stop execution of a program through code?
When i execute a program, if the execution exceeds 2 minutes, i wanted to stop the execution through code. What should i do to c...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


write a row from excel to a text file
How can i write a string row ( not English ) from excel to notepad or wordpad. Is it possible in Matlab? I have attached a samp...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to mirror pad a matrix
How to do mirror padding to the matrix I = [ 1 6 3 3 4 5 1 2 2 5 7 2 2 2 6 2 4 4 6 8 3 5 3 8 5 3 3 4 5 2 2 7 6 5 2 2 7 6 2...

presque 4 ans il y a | 2 réponses | 0

2

réponses

Question


How to change all the colours in the image to black
how to change all the colours in the image to black except the white colour in image?

presque 4 ans il y a | 2 réponses | 0

2

réponses

Question


How to find what percentage of image an object covers
From the given image, how can i find the percentage of cells covers the image or in other words what percentage of cell covers t...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to preserve edges when rotating images
How can i make sure that my images dont cut off when using rotation in image augmentation imageAugmenter = imageDataAugmenter('...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


How create desired number of images in the folder
How to augment a folder of images? Suppose i have 7 images in a folder, i wanted to augment these 7 images and create a total o...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


how can i get the regression values into a variable in neural network
When we fit-data-with-a-neural-network, we can get the regression graph, when we click the Regression button in the nntool windo...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


What does the equation do in the 2 images to combine it to one image
Please can someone explain what happens in the below code cb and cr are chrominance in red and blue channels bmean and rmean ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Find the coordinates nearest to the center coordinate of a patch in an image
i have an image of size [512 512], and xy coordinates values, which have been found on the whole image. (I have attached an exam...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


how to check if (x,y) coordinates fall within another (x,y) coordinate
i have the x,y,w,h --> [x position, y position ,width and height] of the two black boxes and the red boxes inside the black boxe...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Blob segmentation and writing it to folder
i have segmented few blobs using the below code ccnt = 1; for blob = 1 : n thisBoundingBox = measurements(blob).BoundingB...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


draw bounding box around a character
The code i used is Ch = bw(boundrow(1):boundrow(end),boundcol(1):boundcol(end)); i'll get the character into the variable Ch ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


write an image file
i have a image im of uint16 datatype figure(1), imshow(im) figure(2), imshow(uint8(im)) figure(3), imshow(im,[]) all the abo...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


find the next row of an element in a matrix
i have vector v v = [4,5;1,2;1,3;1,4;2,6;5,7;4,7;3,4;1,5;2,3;7,9;3,5;8,9;1,6;8 10;5,9;2,4;6,9;2,5;1,7;4,9;3,7;2,8;7,8;4,6;1,9;3...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


find different combinations of splitting a vector
having a vector V, how can i find the different ways to split this vector v into subvectors such that the sum of each subvector ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to display units with my answer?
fprintf('%g kg\n', y)

plus de 4 ans il y a | 1

| A accepté

Question


Sort matrix to get the row and column position of sorted matrix
how should i sort the matrix M = [0,15,14,13,10,7,4,1,2; 0,0,9,6,4,12,1,3,1; 0,0,0,10,8,5,3,1,2; 0,0,0,0,17,2,11,1,4; 0,0,0...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


how to do the matrix computation
I have a cost matrix, c, with values as c =[0,12,11,7,10,10,9,8,6,12; 12,0,8,5,9,12,14,16,17,22; 11,8,0,9,15,17,8,18,...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


access the respective values of matrix using the cell array cell position value
i have a matrix as shown in figure, with positions marked I have a cell array with values { [ 1 4 ] ; [ 2 3] }; Now i want ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


find values in vector present in cell array
i have a cell array cA and vector V with values cA = {[11,21,3;14,5,63], [11,22], [33;95;66;7]}; V = [14 22 33 66]; i wanted ...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


how to split a vector into small subvectors based on condition
how can i split a vector into smaller sub vectors, such that the sum of each vectors is less than N N = 60 V = [30 35 24 15 14...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


display contents of cell array and a vector together
i have a cell array cell_array = {'A' 'B' 'C'} and value = [ 10 20 30] how can i display the cell_array and value_vector toge...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


compute from a set of parameters
C = 60; % capacity of a truck demand = [30 35 24 15 14 48]; % goods to deliver m = 2; % no of avaible trucks i wanted to comp...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


comparing pixels in 3x3 block
Having a matrix as shown below i wanted to take 3x3 pixel and compare the 3 pixels (highlighted in yellow colour) with th...

presque 5 ans il y a | 1 réponse | 0

1

réponse

Question


fill a boundary region with white colour
i have identified boundaries from a binary image using boundaries = bwboundaries(bw); The output of the above line of code is ...

environ 5 ans il y a | 3 réponses | 0

3

réponses

Charger plus