- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I have an batch/bunch of images which are a result of a filterjet. For further inspection of some statistics of these images i need a accelerated function, that imports the pixelvalues of the images into vectors like this:
vector0 = [image0(0), image1(0), image2(0), ... imageN(0)];
vector1 = [image0(1), image1(1), image2(1), ... imageN(1)];
...
vectorM = [image0(M), image1(M), image2(M), ... imageN(M)];
where imageX(Y) means the Y-th pixel of image X (the image is regarded as 1-dim-vector).
Is there a (bunch of) predefined functions that can do that ?
Thanks for help in advance
best regards
M.W.
edit: alternatively an image can be used, where the vectors are arranged horizontally.
I have an batch/bunch of images which are a result of a filterjet. For further inspection of some statistics of these images i need a accelerated function, that imports the pixelvalues of the images into vectors like this:
vector0 = [image0(0), image1(0), image2(0), ... imageN(0)];
vector1 = [image0(1), image1(1), image2(1), ... imageN(1)];
...
vectorM = [image0(M), image1(M), image2(M), ... imageN(M)];
where imageX(Y) means the Y-th pixel of image X (the image is regarded as 1-dim-vector).
Is there a (bunch of) predefined functions that can do that ?
Thanks for help in advance
best regards
M.W.
edit: alternatively an image can be used, where the vectors are arranged horizontally.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi M.W.
It looks that these data are transposed ( you can check the transpose functions).
The original data are organized as:
[image0(0), image0(1), image0(2), ... image0(m);]
[image1(0), image1(1), image1(2), ... image1(m);]
[image2(0), image2(1), image2(2), ... image2(m);]
The transposed data is like:
[image0(0), image1(0), image2(0), ... imageN(0)];
[image0(1), image1(1), image2(1), ... imageN(1)];
...
[image0(M), image1(M), image2(M), ... imageN(M)];
Maybe you cancheck if such functions can provide some help.
Thanks,
Chao
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page