如何使用openjpeg减少将图像转换为jpeg-2000所需的时间 [英] How to reduce time taken for converting images to jpeg-2000 using openjpeg
本文介绍了如何使用openjpeg减少将图像转换为jpeg-2000所需的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我是图像处理的新手。
有没有办法减少使用Openjpeg库将图像编码到Jpeg-2000所需的时间。
提前付款
< b>我尝试了什么:
目前最长时间是在opj_encode函数调用下。
有没有办法减少所花费的时间或者我可以将任何替代变量(如不可逆参数)设置为1以减少压缩图像所需的时间吗?
Hello
I'm new to image processing.
Is there any ways to reduce the time taken for encoding images to Jpeg-2000 using Openjpeg library.
Thanks in advance
What I have tried:
Currently the maximum time taken is under opj_encode function call.
Is there any way to reduce the time taken or can I set any alternate variables like irreversible parameter to 1 to reduce the time taken to compress image?
推荐答案
有损转换通常更快。您也可以尝试不同的编码参数。
您还可以测试不同的编解码器,如开源 JasPer [ ^ ](应该比OpenJPEG快一点)或像Kakadu这样的商业版。
性能的显着提高只能在使用时实现GPU。只需为Nvidia GPU搜索jpeg2000 cuda编码器。
开源结果: CUJ2K:Juda上的Jpeg2000编码器SourceForge.net [ ^ ]。
Lossy conversion is usually faster. You may also try with different encoding parameters.
You can also test different codecs like the open source JasPer[^] (should be a little bit faster than OpenJPEG) or a commercial one like Kakadu.
A significant increase of performance can be only achieved when using the GPU. Just search for "jpeg2000 cuda encoder" for Nvidia GPUs.
An open source result: CUJ2K: Jpeg2000 encoder on Cuda download | SourceForge.net[^].
这篇关于如何使用openjpeg减少将图像转换为jpeg-2000所需的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文