Skip to content

How much image would an image chipper chip if an image chipper could chip images?

License

Notifications You must be signed in to change notification settings

caseykneale/ImageChipper.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageChipper.jl

Stable Dev Build Status Codecov Coveralls Build Status

Overview

Image chipping

faux_image = rand( 256, 256 )
# chip( image/Matrix, ( Chip width, Chip height ), ( Overlap X, Overlap Y ) )
chipped = chip( faux_image, ( 64, 64 ), ( 0.0, 0.0 ) )

where the returned array is a 3-tensor of size ( Chip width, Chip height, Chip # )

Image chipping with labels

images with associated bounding boxes may also be chipped with known ObjectDetectionStats.jl bounding boxes.

faux_image = rand( 256, 256 )

boxes = [   Box(   1,   1,  22,  22 ),
            Box(  55,  55, 222, 222 ),
            Box( 222, 222, 264, 264 )   ]
IoU_thresh = 0.0
chips, boxassignments = chip_with_boxes( faux_image, boxes, ( 64, 64 ) ( 0.0, 0.0 ), IoU_thresh )

Enjoy!

About

How much image would an image chipper chip if an image chipper could chip images?

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages