Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Registered User
Join Date: Jul 2020
Posts: 8
|
Conversion to and from Numpy
So I'm trying to use the bm3d plugin that Vapoursynth has. Right now, I have the image as a numpy array. The bm3d plugin requires a clip as an input. Is there a way to convert a numpy array to a clip and then back to a numpy array after bm3d?
Code:
from vapoursynth import core from skimage import io import mvsfunc as mvf import numpy as np I = io.imread('D:/Jia Lab/ACsN/Python/Python Test Images/TIRF_01_10ms.tif') I = np.array(I[0]) # ERRORS flt = mvf.BM3D(I[0], sigma=3.0, profile1="fast") |
![]() |
![]() |
Tags |
clip, numpy, python |
Thread Tools | Search this Thread |
Display Modes | |
|
|