def default_NDVI(widgets):
    """
    global panelA,modified_tif,bandarrays,workbandarrays
    if RGB is not None and Infrared is not None and Infrared.size==RGB.size:

        #upper=-(Inf0-RGBg)
        #lower=Inf0+RGBg
        #lower=np.where(lower==0,1,lower)

        upper=Infrared.bands[0,:,:]-RGB.bands[0,:,:]
        lower=Infrared.bands[0,:,:]+RGB.bands[0,:,:]
        lower=np.where(lower==0,1,lower)
        NDVI=upper/lower
        tempdict={'LabOstu':NDVI}
        bandarrays.update(tempdict)


        if 'LabOstu' not in workbandarrays:
            worktempdict={'LabOstu':cv2.resize(NDVI,(450,450),interpolation=cv2.INTER_LINEAR)}
            workbandarrays.update(worktempdict)
        if 'Greenness' not in workbandarrays:
            worktempdict={'Greenness':cv2.resize(Greenness,(450,450),interpolation=cv2.INTER_LINEAR)}
            workbandarrays.update(worktempdict)

        out_fn='tempNDVI.tif'
        gtiffdriver=gdal.GetDriverByName('GTiff')
        out_ds=gtiffdriver.Create(out_fn,upper.shape[1],upper.shape[0],1,3)
        out_band=out_ds.GetRasterBand(1)
        out_band.WriteArray(NDVI)
        out_ds.FlushCache()

        modified_tif=cv2.resize(NDVI,(450,450),interpolation=cv2.INTER_NEAREST)
        pyplt.imsave(out_png,modified_tif)
        image=cv2.imread(out_png)
        image=Image.fromarray(image)
        image=ImageTk.PhotoImage(image)
        if panelA is not None:
            panelA.destroy()
        panelA=Label(ctr_left,image=image)
        panelA.image=image
        panelA.grid(row=0,column=0)
    """
    global panelB
    (calframe, RGBframe, Infframe, Heightframe, Opframe, Numframe, Entframe,
        entbox, button) = widgets[:9]
    calframe.grid_forget()
    RGBframe.grid_forget()
    Infframe.grid_forget()
    Heightframe.grid_forget()
    Opframe.grid_forget()
    Numframe.grid_forget()
    Entframe.grid_forget()
    entbox.pack_forget()
    button.pack_forget()
    for widget in widgets[9:]:
        widget.pack_forget()
    pass
