Skip to content

Missing 16-bit images #159

@AntonSax

Description

@AntonSax

Description

In the PSII pipeline tutorial one of the last steps is to analyze FLU signal. The function requires 16-bit images, with no exception. I'm using the images provided on the github page in docs\img\tutorial_images\psII however they are in jpeg, which is only up to 8-bit. I can use other pictures for testing the function and the PSII pipeline, I'm just don't know if there is information I'm missing or if there are pictures I don't have.

The error I receive:

RuntimeError                              Traceback (most recent call last)
<ipython-input-94-d85a91fdbfe9> in <module>()
     11 fmax = cv2.imread(Fmax_img_file, -1)
     12 
---> 13 device, fvfm_header, fvfm_data = pcv.fluor_fvfm(fdark,fmin,fmax,kept_mask, device, outdir+'/'+filename, 1000, debug)
     14 
     15 # Output shape and color data

C:\Users\askz6\plantcv\plantcv\fluor_fvfm.pyc in fluor_fvfm(fdark, fmin, fmax, mask, device, filename, bins, debug)
     48     # Check that fdark, fmin, and fmax are 16-bit images
     49     if not all(i.dtype == "uint16" for i in [fdark, fmin, fmax]):
---> 50         fatal_error("The fdark, fmin, and fmax images must be 16-bit images.")
     51 
     52     # QC Fdark Image

C:\Users\askz6\plantcv\plantcv\fatal_error.pyc in fatal_error(error)
     12     """
     13 
---> 14     raise RuntimeError(error)

RuntimeError: The fdark, fmin, and fmax images must be 16-bit images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions