| Author |
Comment/Response |
Johannes
|
10/11/11 00:29am
I want to map image processing functions like ImageResize[] on lists within lists.
I can do it for simple lists in the following way:
myArray = {picture1, picture2,...};
myBlurArray = Map[Blur[#, 2] &, myArray];
Unfortunately, I have no idea how to do the same thing if my list contains sublists, so to speak if I have a lists containing lits of pictures like that:
myBigArray = {{pic11,pic12,..},{pic21,pci22,...},...}
Right now I am doing it with a for loop within a for loop and AppendTo[] but that is horribly slow and I'd like to use the Parallelize[] function as well.
I hope someone has an idea. Thanks!
URL: , |
|