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.


Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 20th July 2020, 16:49   #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?

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])

flt = mvf.BM3D(I[0], sigma=3.0, profile1="fast")
JarJarRuss is offline   Reply With Quote

clip, numpy, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 10:38.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.