Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.1K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

How to convert multiple excel files into images at once?

Posted 12 years ago
POSTED BY: ?? ?
2 Replies
Posted 12 years ago

Thank you Clarke, I will try it .

POSTED BY: ?? ?

Step 1. Get a list of all the files. This can be done with SetDirectory and FileNames:

SetDirectory["D:\\GROUP\\PERSONAL FILES\\CHIH LIN\\output"]
files = FileNames[];

Step 2. Apply your functions to the image. There are many different ways of doing this. It can be done efficiently with Map or ParallelMap:

   slices = Map[Composition[InverseRadon,Image,Import], files];

Step 3. Put the images together:

Image3D[slices]
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard