|
Class: Depth64Image
Object
|
+--Image
|
+--Depth64Image
- Package:
- stx:libview
- Category:
- Graphics-Images
- Version:
- rev:
1.14
date: 2021/08/26 18:13:02
- user: cg
- file: Depth64Image.st directory: libview
- module: stx stc-classLibrary: libview
this class represents 64 bit images as possibly provided by png 4x16bit rgba images.
Such images are normally not used in real world applications, as humans cannot differentiate
more than roughly 200 distinct color tone values. However, in image processing (false-color) applications,
such a fine grain image makes sense and is sometimes used.
For now, the rest of the system (for example, the image editor) cannot really deal with
such images. So some work may be required in the future.
copyrightCOPYRIGHT (c) 2009 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
queries
-
defaultPhotometric
-
return the default photometric pixel interpretation
-
imageDepth
-
return the depth of images represented by instances of
this class - here we return 64
accessing-pixels
-
pixelAtX: x y: y
-
retrieve a pixel at x/y; return a pixelValue.
The interpretation of the returned value depends on the photometric
and the colormap. See also Image>>atX:y:)
Pixels start at x=0 , y=0 for upper left pixel, end at
x = width-1, y=height-1 for lower right pixel.
The pixel value contains r/g/b/a in msb order (i.e. r at high, a at low bits)
-
pixelAtX: x y: y put: aPixelValue
-
set the pixel at x/y to aPixelValue.
The interpretation of the pixelValue depends on the photometric
and the colormap. (see also: Image>>atX:y:put:)
Pixels start at x=0 , y=0 for upper left pixel, end at
x = width-1, y=height-1 for lower right pixel
initialization
-
initialize
-
queries
-
bitsPerPixel
-
return the number of bits per pixel
-
bitsPerRow
-
return the number of bits in one scanline of the image
-
bytesPerRow
-
return the number of bytes in one scanline of the image
-
hasAlphaChannel
-
|