LArbys / LArCV

Liquid Argon Computer Vision
11 stars 9 forks source link

added EmbedImage module. #76

Closed twongjirad closed 7 years ago

twongjirad commented 7 years ago

Added an EmbedImage module. It does a very similar operation as to ResizeImage. However, ResizeImage asks the user to specify the new meta data for each image. For situations where this might change event-to-event, e.g. HiRes cropped images, the new meta will change. Instead, EmbedImage, changes the rows and cols (expanding them) and uses the original meta of the given image to infer the other new meta parameters.