Functions
vil_copy.cxx File Reference
#include <algorithm>
#include "vil_copy.h"
#include <vil/vil_property.h>
#include <vil/vil_image_resource.h>
#include <vil/vil_blocked_image_resource.h>
#include <vil/vil_new.h>

Go to the source code of this file.

Functions

bool vil_copy_deep (const vil_image_resource_sptr &src, vil_image_resource_sptr &dest)
 Copy src to dest. More...
 
vil_image_resource_sptr vil_copy_deep (const vil_image_resource_sptr &src)
 Creates an in memory vil_image_resource and copies the src to it. More...
 

Detailed Description

Author
Ian Scott, ISBE, Manchester
Date
21 Aug 2003

Definition in file vil_copy.cxx.

Function Documentation

◆ vil_copy_deep() [1/2]

bool vil_copy_deep ( const vil_image_resource_sptr src,
vil_image_resource_sptr dest 
)

Copy src to dest.

This is useful if you want to copy on image into a window on another image. src and dest must have identical sizes, and pixel-types. Returns false if the copy failed. O(size).

Definition at line 45 of file vil_copy.cxx.

◆ vil_copy_deep() [2/2]

vil_image_resource_sptr vil_copy_deep ( const vil_image_resource_sptr src)

Creates an in memory vil_image_resource and copies the src to it.

The size and pixel type of the return vil_image_resource is determined by src O(size)

Definition at line 89 of file vil_copy.cxx.