#include "idima.h"
Go to the source code of this file.
Functions | |
int | IdImaUsedNbY (void *image) |
Returns the number of pixels along the y axis (vertical) actually USED i.e. the current usefull height of the image. This is to be distinguished from IdImaDimY(image) which is the full height of the image as represented in memory. IdImaUsedNbY is typically usefull when working on a subimage. | |
int | IdImaGetUsedNbY (void *image) |
Alias of IdImaUsedNbY. | |
int | IdImaUsedNbX (void *image) |
Returns the number of pixels along the x axis (horizontal) actually USED i.e. the current usefull width of the image. This is to be distinguished from IdImaDimX(image) which is the full width of the image as represented in memory. IdImaUsedNbX is typically usefull when working on a subimage. | |
int | IdImaGetUsedNbX (void *image) |
Alias of IdImaUsedNbX. | |
int | IdImaDimY (void *image) |
Returns the height of the image i.e. the vertical (y axis) number of pixels. | |
int | IdImaDimX (void *image) |
Returns the width of the image i.e. the horizontal (x axis) number of pixels. | |
int | IdImaBitsPerPixel (void *image) |
Returns the number of bits per pixel of image. | |
int | IdImaType (void *image) |
Returns the Ido type of the image (e.g. IMA_CHAR, IMA_UCHAR, IMA_SHORT, IMA_DOUBLE... | |
void | IdImaSetUsedNbY (void *image, int usedNby) |
Sets the number of used pixels in the vertical direction of a given image. | |
void | IdImaSetUsedNbX (void *image, int usedNbx) |
Sets the number of used pixels in the horizontal direction of a given image. | |
void | IdImaSetDimY (void *image, int height) |
Sets an arbitrary height to an given image i.e. the vertical (y axis) number of pixels. | |
void | IdImaSetDimX (void *image, int width) |
Sets an arbitrary width to an given image i.e. the horizontal (x axis) number of pixels. | |
void | IdImaSetBitsPerPixel (void *image, int bits) |
Sets an arbitrary BitsPerPixel to a given image. | |
void | IdImaSetType (void *image, int type) |
Sets an arbitrary type to a given image. | |
int | IdImaGetBit (char **image, int x, int y) |
Returns the value of the pixel coordinates x,y of an image of type PPIMAGE_BIT. | |
void | IdImaPutBit (char **image, int x, int y, int val) |
Sets the value of the pixel of coordinates x,y an image of type PPIMAGE_BIT. | |
int | IdImaSameSize (void *image1, void *image2) |
Determines wether two images are of same dimensions. | |
int | IdImaSameType (void *image1, void *image2) |
Determines wether two images are of same Type. | |
int | IdImaSameSizeAndType (void *image1, void *image2) |
Determines wether two images are of same Type and same dimensions. |
|
Returns the number of bits per pixel of image.
Definition at line 129 of file imabasic.c. References _IdImaPrivate, and image. |
|
|
Returns the height of the image i.e. the vertical (y axis) number of pixels.
Definition at line 104 of file imabasic.c. References _IdImaPrivate, and image. Referenced by _IdImaCreImagetteClear(), DisplayImage2D(), IdAcrWriteFileExtended(), IdCntFillExtPolygon(), IdCntFillPolygon(), IdCntFillPolygonXXX(), IdCntSurfacePoly(), IdDcmReadFileIntoVectorFromDcmHdr(), IdImaAllocLikeImage(), IdImaAllocSubImage(), IdImaCheckSizeAlloc(), IdImaCheckSizeAllocType(), IdImaCheckTypeAlloc(), IdImaClear(), IdImaConcat(), IdImaCopy(), IdImaCreImagette(), IdImaDrawLine(), IdImaExtractSubImage(), IdImaFill(), IdImaFillContour(), IdImaLabel(), IdImaMakeImagetteXYHoriz(), IdImaMakeImagetteXYVertic(), IdImaMaxima(), IdImaMinima(), IdImaMinMax(), IdImaModifSubImage(), IdImaMoyenne(), IdImaMoyVar(), IdImaRecad16To16IgnoreUpper(), IdImaRecad16To8(), IdImaRecad16To8IgnoreUpper(), IdImaRecadTo8ABS(), IdImaRecadTo8DCT(), IdImaRecadTo8LOG(), IdImaReuseSigFromLine(), IdImaSameSize(), IdImaSameSizeAndType(), IdImaScotchImages(), IdImaScotchImagesXYHoriz(), IdImaScotchImagesXYVertic(), IdImaSetValue(), IdImaSetValueAnyType(), IdImaSignalToImage(), IdImaVariance(), IdImaWriteRawFile(), and IdImaZoom(). |
|
Returns the value of the pixel coordinates x,y of an image of type PPIMAGE_BIT.
Definition at line 239 of file imabasic.c. |
|
Alias of IdImaUsedNbX.
Definition at line 91 of file imabasic.c. References IdImaUsedNbX(), and image. |
|
Alias of IdImaUsedNbY.
Definition at line 62 of file imabasic.c. References IdImaUsedNbY(), and image. |
|
Sets the value of the pixel of coordinates x,y an image of type PPIMAGE_BIT.
Definition at line 254 of file imabasic.c. |
|
Determines wether two images are of same dimensions.
Definition at line 269 of file imabasic.c. References IdImaDimX(), and IdImaDimY(). Referenced by IdImaCheckSizeAlloc(), and IdImaCheckSizeAllocType(). |
|
Determines wether two images are of same Type and same dimensions.
Definition at line 301 of file imabasic.c. References IdImaDimX(), IdImaDimY(), and IdImaType(). Referenced by IdImaCheckTypeSizeAlloc(), IdImaCopy(), IdImaScotchImagesXYHoriz(), and IdImaScotchImagesXYVertic(). |
|
Determines wether two images are of same Type.
Definition at line 285 of file imabasic.c. References IdImaType(). Referenced by IdImaCheckTypeAlloc(), and IdImaCheckTypeAllocSize(). |
|
Sets an arbitrary BitsPerPixel to a given image.
Definition at line 212 of file imabasic.c. References _IdImaPrivate, and image. |
|
Sets an arbitrary width to an given image i.e. the horizontal (x axis) number of pixels.
Definition at line 200 of file imabasic.c. References _IdImaPrivate, and image. |
|
Sets an arbitrary height to an given image i.e. the vertical (y axis) number of pixels.
Definition at line 184 of file imabasic.c. References _IdImaPrivate, and image. |
|
Sets an arbitrary type to a given image.
Definition at line 224 of file imabasic.c. References _IdImaPrivate, and image. |
|
Sets the number of used pixels in the horizontal direction of a given image.
Definition at line 168 of file imabasic.c. References _IdImaPrivate, and image. Referenced by IdDcmReadFileIntoVectorFromDcmHdr(), IdImaClear(), IdImaSetValue(), and IdImaSetValueAnyType(). |
|
Sets the number of used pixels in the vertical direction of a given image.
Definition at line 155 of file imabasic.c. References _IdImaPrivate, and image. Referenced by IdDcmReadFileIntoVectorFromDcmHdr(), IdImaClear(), IdImaSetValue(), and IdImaSetValueAnyType(). |
|
Returns the Ido type of the image (e.g. IMA_CHAR, IMA_UCHAR, IMA_SHORT, IMA_DOUBLE...
Definition at line 142 of file imabasic.c. References _IdImaPrivate, and image. Referenced by IdImaAllocLikeImage(), IdImaAllocSubImage(), IdImaCheckSizeAlloc(), IdImaCheckSizeAllocType(), IdImaCheckTypeAlloc(), IdImaCheckTypeAllocSize(), IdImaCheckTypeSizeAlloc(), IdImaClear(), IdImaConcat(), IdImaDrawLine(), IdImaFill(), IdImaLabel(), IdImaMaxima(), IdImaMinima(), IdImaMinMax(), IdImaMoyenne(), IdImaMoyVar(), IdImaRecadTo16(), IdImaRecadTo8(), IdImaRecadTo8ABS(), IdImaRecadTo8DCT(), IdImaRecadTo8LOG(), IdImaSameSizeAndType(), IdImaSameType(), IdImaSetValue(), IdImaSetValueAnyType(), IdImaVariance(), and IdImaZoom(). |
|
Returns the number of pixels along the x axis (horizontal) actually USED i.e. the current usefull width of the image. This is to be distinguished from IdImaDimX(image) which is the full width of the image as represented in memory. IdImaUsedNbX is typically usefull when working on a subimage.
Definition at line 79 of file imabasic.c. References _IdImaPrivate, and image. Referenced by IdAcrWriteFileExtended(), and IdImaGetUsedNbX(). |
|
Returns the number of pixels along the y axis (vertical) actually USED i.e. the current usefull height of the image. This is to be distinguished from IdImaDimY(image) which is the full height of the image as represented in memory. IdImaUsedNbY is typically usefull when working on a subimage.
Definition at line 50 of file imabasic.c. References _IdImaPrivate, and image. Referenced by IdAcrWriteFileExtended(), and IdImaGetUsedNbY(). |