Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Am not able to convert set of image coordinates into training set

2 visualizaciones (últimos 30 días)
Balaji M. Sontakke
Balaji M. Sontakke el 25 de Abr. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
plz see attachment herewith for my problem.
[Merged from Attachment]
First of all a set of n images I have obtained. This can be represented as the following set.
A=[I1,I2,I3,I4……………….Im].
Each image has a set of coordinates which represent the pictures. Each coordinate is represented by (x,y) pair denoting the position in the image. M represents the number of images in the training set. The matrix is as follow:
But am not able to convert the set of coordinates into a training set, which is represented as follows: Please help for sorting it out…………. thanks
  3 comentarios
Walter Roberson
Walter Roberson el 25 de Abr. de 2016
What data type is your veinmat? Is it a cell array in which each entry is a row vector of two values?
Balaji M. Sontakke
Balaji M. Sontakke el 25 de Abr. de 2016
yes sir, it is a cell array, actually it requires for reducing the variation in the element of the training set and to make it standardize.

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Abr. de 2016
T = zeros(size(veinmat) .* [2 1]);
T(1:2:end,:) = cellfun(@(V) V(1), veinmat);
T(2:2:end,:) = cellfun(@(V) V(2), veinmat);
  3 comentarios

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by