Primary scene of a parsed image (FullResolution if present, else the first)
Source:R/qptiff_metadata.R
qpi_primary_scene.RdPrimary scene of a parsed image (FullResolution if present, else the first)
Examples
path <- system.file("extdata", "PA_HNC_sample.ome.tiff", package = "bgnormR")
scene <- qpi_primary_scene(metadata(read_qptiff(path)))
#> Reading TIFF directory structure ...
#> Reading OME-TIFF metadata ...
#> Reading IFD page layouts ...
#> Loading 5 channel(s) ...
#> Loading 5 channel(s) ...
#> Error: unable to find an inherited method for function ‘metadata’ for signature ‘x = "QPTIFFImage"’
scene$image_info$image_type
#> Error: object 'scene' not found