Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Misc::Misc(3)	      User Contributed Perl Documentation	 Misc::Misc(3)

NAME
       IPA::Misc - miscellaneous uncategorized routines

       split_channels IMAGE, [ MODE = 'rgb' ]
	   Splits IMAGE	onto channels, with the	selected MODE, which currently
	   can be 'rgb'	or 'hsv' string	constants.  Returns channels as
	   anonymous array of image objects.

	   rgb Supported types:	RGB .  Returns:	3 Byte images .

	   hsv Supported types:	RGB .  Returns:	3 float	images - with hue,
	       saturation, and value .	Ranges:	hue: 0-360, saturation:	0-1,
	       value: 0-1 .

       combine_channels	[IMAGES], [ MODE = 'rgb' ]
	   Combines list of channel IMAGES into	single image, with the
	   selected MODE, which	currently can be 'rgb' , 'hsv',	'alphaNUM'
	   string constants.  Returns the combined image.

	   rgb Supported types:	Byte .	Returns: RGB image .

	   hsv Supported types:	Float .	 Returns: RGB image .  Channel ranges:
	       hue: 0-360, saturation: 0-1, value: 0-1

	   alphaNUM
	       Supported types:	RGB, Byte .  Returns: Same type	as input .
	       NUM range: 0 - 255 .

       histogram IMAGE
	   Returns array of 256	integers, each representing number of pixels
	   with	the corresponding value	for IMAGE.

	   Supported types: 8-bit

perl v5.32.0			  2011-05-08			 Misc::Misc(3)

NAME

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=IPA::Misc&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help