Plugin- new image, set pixels-newbie question
Posted by Liisa Palomaa on
URL: http://imagej.273.s1.nabble.com/Plugin-new-image-set-pixels-newbie-question-tp3701144.html
Hi everyone!
I try to find a plugin -that create a newimage-and lets me to set the
pixelvalues.
I want to have a new image wthat is 384*384 pixels.(8bit)
Should I use this command:
static ImagePlus createByteImage (java.lang.String title, int width,
int height, int fill)
How and where should I put the width and height? How should the plugin
look like? Do I have to write something for string title?
Is there any command for setPixels?
Sorry for sending this kind of newbie questions- but I can't get my
plugin to work.
Thanks in advance
//Liisa