Den onsdagen den 6:e februari 2013 kl. 13:24:27 UTC+1 skrev Arved Sandstrom:
> On 02/06/2013 08:11 AM, Keivan Jafari wrote:
>
> > Den onsdagen den 6:e februari 2013 kl. 12:55:50 UTC+1 skrev Arved Sandstrom:
>
> >> On 02/06/2013 07:23 AM, Keivan Jafari wrote:
>
> >>
>
> >>> Hi again,
>
> >>
>
> >>> some clarification;
>
> >>
>
> >>> Is there any way to compare several boolean matrix�s(25 matrix�s) and bild a new matrix of those 25.
>
> >>
>
> >>>
>
> >>
>
> >>> The elements in the new matrix will be, an example:
>
> >>
>
> >>>
>
> >>
>
> >>> If matrix M(0) to M(5) element(2, 1) have value false
>
> >>
>
> >>>
>
> >>
>
> >>> And if matrix M(6) to M(24) element(2, 1) have value true,
>
> >>
>
> >>> Then most probably the value of element(2, 1) is true, since much more matrix�s shows that element(2, 1) is true
>
> >>
>
> >>>
>
> >>
>
> >>> Java code will be mostly appreciated
>
> >>
>
> >>>
>
> >>
>
> >>> All the Matrixes have same size
>
> >>
>
> >>> NXM
>
> >>
>
> >>>
>
> >>
>
> >>> Best regards/
>
> >>
>
> >>> Keivan
>
> >>
>
> >>>
>
> >>
>
> >> One observation, Keivan. Right now this is all conceptual. There are no
>
> >>
>
> >> matrices in Java, so really we're talking about how you take many
>
> >>
>
> >> datasets (presumably the same size), let's say 25 such datasets, and
>
> >>
>
> >> process the combination to come up with one dataset with the same size..
>
> >>
>
> >>
>
> >>
>
> >> How others might do this would vary perhaps, but before I ever devised
>
> >>
>
> >> an approach I'd want to find out where the data is coming from. After
>
> >>
>
> >> all, since the objective is *one* "matrix" of size M x N, why construct
>
> >>
>
> >> 25 intermediates?
>
> >>
>
> >>
>
> >>
>
> >> AHS
>
> > tankyou.
>
> >
>
> > Consider a matrix as a picture of size boolean[N][M]
>
> > the elements can only get value true or false.
>
> > So I have 25 picture's(Matrix's), I want to build a new picture(Matrix)based
>
> > on 25 picture's(Matrix's)
>
> >
>
> What I'm getting at is, you say you've got 25 pictures (2D arrays I'd
>
> prefer to call them in this scenario). How exactly do you have them?
>
> Actual pixel data from images? Data from somewhere else?
>
>
>
> Regardless of where the data comes from, I doubt that I would ever
>
> construct 25 intermediate 2D arrays. If I had an intermediate at all
>
> there would only be one.
>
>
>
> AHS
I don't have them as exact, that's why I want to extract a exact picture ofthose 25 pictures.
The pixels are as boolean element true or false.
Br/
Keivan
|