|
Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
| enum | IconSize |
Static Public Member Functions | |
| static BufferedImage | getImageWithTags (AbstractFile file, Collection< ImageTagRegion > tagRegions) throws IOException, InterruptedException, ExecutionException |
| static BufferedImage | getThumbnailWithTags (AbstractFile file, Collection< ImageTagRegion > tagRegions, IconSize iconSize) throws IOException, InterruptedException, ExecutionException |
Private Member Functions | |
| ImageTagsUtil () | |
Static Private Member Functions | |
| static BufferedImage | getImageFromFile (AbstractFile file) throws IOException, InterruptedException, ExecutionException |
| static Mat | getImageMatFromFile (AbstractFile file) throws InterruptedException, ExecutionException, IOException |
| static MatOfByte | getResizedMatrix (MatOfByte taggedMatrix, IconSize size) |
| static MatOfByte | getTaggedImageMatrix (Mat sourceImage, Collection< ImageTagRegion > tagRegions) |
Static Private Attributes | |
| static final String | AWT_PNG = "png" |
| static final String | OPENCV_PNG = ".png" |
Utility for drawing rectangles on image files.
Definition at line 47 of file ImageTagsUtil.java.
|
private |
Definition at line 217 of file ImageTagsUtil.java.
|
staticprivate |
Get the image from file.
| file |
| IOException | |
| InterruptedException | |
| ExecutionException |
Definition at line 91 of file ImageTagsUtil.java.
References org.sleuthkit.autopsy.coreutils.ImageUtils.isGIF(), and org.sleuthkit.autopsy.coreutils.ImageUtils.newReadImageTask().
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageMatFromFile().
|
staticprivate |
Reads the image and converts it into an OpenCV equivalent.
| file | Image to read |
| IOException | |
| InterruptedException | Calling thread was interrupted. |
| ExecutionException | Error while reading image from AbstractFile |
Definition at line 117 of file ImageTagsUtil.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageFromFile().
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageWithTags(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getThumbnailWithTags().
|
static |
Creates an image with tags applied.
| file | Source image. |
| tagRegions | Tags to apply. |
| IOException | |
| InterruptedException | Calling thread was interrupted |
| ExecutionException | Error while reading image from AbstractFile |
Definition at line 66 of file ImageTagsUtil.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageMatFromFile(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getTaggedImageMatrix().
Referenced by org.sleuthkit.autopsy.report.modules.html.HTMLReport.addThumbnailRows().
|
staticprivate |
Resizes the image matrix.
| taggedMatrix | Image to resize. |
| size | Size of thumbnail. |
Definition at line 201 of file ImageTagsUtil.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.IconSize.getSize().
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getThumbnailWithTags().
|
staticprivate |
Adds tags to an image matrix.
| sourceImage | |
| tagRegions |
Definition at line 141 of file ImageTagsUtil.java.
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageWithTags(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getThumbnailWithTags().
|
static |
Creates a thumbnail with tags applied.
| file | Input file to apply tags & produce thumbnail from |
| tagRegions | Tags to apply |
| iconSize | Size of the output thumbnail |
| InterruptedException | Calling thread was interrupted. |
| ExecutionException | Error while reading image from file. |
Definition at line 174 of file ImageTagsUtil.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getImageMatFromFile(), org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getResizedMatrix(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsUtil.getTaggedImageMatrix().
Referenced by org.sleuthkit.autopsy.report.modules.html.HTMLReport.addThumbnailRows().
|
staticprivate |
Definition at line 50 of file ImageTagsUtil.java.
|
staticprivate |
Definition at line 53 of file ImageTagsUtil.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.