Frage


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

mehr als 5 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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?

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to display units with my answer?
fprintf('%g kg\n', y)

mehr als 6 Jahre vor | 1

| akzeptiert

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 3 Antworten | 0

3

Antworten

Mehr laden