Specifications

ImageCreationandAccess
4-1
4
Thischapterdescribesthefunctionsthatprovidethefollowing
functionalities:
Creatingandaccessingattributesofimages(bothtiledandnon-tiled)
Allocatingmemoryfordataofrequiredtype(seealsothefunctions
CreateConvKernelinChapter6andCreateColorTwist
inChapter9)
Setting,copying,exchanging,andscalingimagedata.
Generatingandaddingnoisetoimagedata.
WorkingintheWindowsDIB(device-independentbitmap)
environment.
Table4-1 ImageCreation,DataExchangeandWindowsDIBFunctions
Group FunctionName Description
Creating
Images
iplCreateImageHeader
Createsanimageheaderaccordingto
thespecifiedattributes.
iplCloneImage
Createsacopyofanimage.
iplAllocateImage
Allocatesmemoryforimagedataofall
supportedtypesexcept32-bitFPdata.
iplAllocateImageFP
Allocatesmemoryforimagedataof
32-bitfloating-pointtype.
iplDeallocateImage
Freesmemoryforimagedatapointed
tointheimageheader.
iplCreateROI
Createsaregionofinterest(ROI)
headerwithspecifiedattributes.
iplDeallocate
Deallocatesheaderattributesorimage
dataorROIoralloftheabove.
continued