Re: Unshuffle algorithm
- From: "Sven " <sven.holcombe@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 4 Aug 2007 13:31:35 +0000 (UTC)
"John D'Errico" <woodchips@xxxxxxxxxxxxxxxx> wrote in
message <f91sg2$3gh$1@xxxxxxxxxxxxxxxxxx>...
"Sven " <sven.holcombe@xxxxxxxxxxxxxxxxxxxx> wrote in message
<f91dom$3hv$1@xxxxxxxxxxxxxxxxxx>...
Hi there,
I have an array of numbers made up of two sequences that
have been sorted. I am trying to find an algorithm that can
extract separate arrays made up of these sequences.
For example:
arr1 = sort([1:5 7:0.5:10]);
If I might ask, what is the source of this problem?
Its exactly the second time I've seen it come up,
the last being roughly 1.5 years ago.
This is, as I see it, a variant of clustering problem.
I can supply a code that does it, using my
consolidator tool as part of the engine. I'd not
seen a reason to post it on the file exchange the
first time it was asked.
Its a bit long to paste in here though. Send me an
e-mail if you want it.
John
Hi John, thanks for the input.
Actually it was for a way to unshuffle a set of dicom images
that had been converted to flat images without metadata. The
filenames were ordered correctly spatially, but this meant
that two separate series had been intertwined because they
overlapped. I'm using past tense here because the original
dicom files have now been tracked down, and I'm sure that I
can now use the metadata to sort things out correctly.
So it's no longer an issue to work out an unshuffling
algorithm, but thanks very much for your interest.
Cheers,
Sven.
.
- References:
- Unshuffle algorithm
- From: Sven
- Re: Unshuffle algorithm
- From: John D'Errico
- Unshuffle algorithm
- Prev by Date: Re: Unshuffle algorithm
- Next by Date: PSD and sptool
- Previous by thread: Re: Unshuffle algorithm
- Next by thread: using "find" to delete rows in cell and char arrays
- Index(es):
Relevant Pages
|
Loading