Convert Objects To Image
converts objects you have identified into an image.
This module allows you to take previously identified objects and convert them into an image according to a colormap you select, which can then be saved with the SaveImages modules.
If you would like to save your objects but do not need a colormap, you can by bypass this module and use the SaveImages module directly by specifying "Objects" as the type of image to save.
Select the input objects
Choose the name of the objects you want to convert to an image.
Name the output image
Enter the name of the resulting image.
Select the color format
Select which colors the resulting image should use. You have the following
- Color: Allows you to choose a colormap that will
produce jumbled colors for your objects.
- Binary (black & white): All object pixels will be assigned 1 and all
background pixels will be assigned 0, creating a binary image.
- Grayscale: Gives each object
a graylevel pixel intensity value corresponding to its number (also
called label), so it usually results in objects on the left side of the
image being very dark, progressing toward white on the right side of
- uint16: Assigns each object a different number,
from 1 to 65535 (the numbers that you can put in
a 16-bit integer) and numbers all pixels in each
object with the object's number. This format can
be written out as a .mat or .tiff file if you
want to process the label matrix image using
You can choose Color
with a Gray
colormap to produce
jumbled gray objects.
Select the colormap
(Used only if Color output image selected)
Choose the colormap to be used, which affects how the objects are colored.
You can look up your default colormap under File > Preferences.