image - opening a raw with imagej in command prompt -
i'm trying create .bat file read .bsv files , turn them color pngs. first part of using imagej open .bsv, , using "save all" plugin added. tried making macro gives me errors. how i, in command prompt, image j, do:
file->import->raw->myfile.bsv , select 8-bit, width: 4000, height: 2672, offset first image: 0, number of images: 40, gap between images: 0, little-endian byte order.
then
plugins->save all
thanks can offer!
using macro recorder (plugins > macros > record...) in imagej, described procedure produces following code:
run("raw...", "open=/path/to/myfile.bsv image=8-bit width=4000 height=2672 offset=0 number=40 gap=0 little-endian"); run("save all");
if save macro file e.g. mymacro.ijm, should able run imagej macro option (depending on platform):
-macro mymacro.ijm
hope helps.
Comments
Post a Comment