TIwilliam hill官网
直播中

h1654155275.5994

7年用户 281经验值
私信 关注
[问答]

Jpeg质量

大虾们,
用DM8168, 同时保存yuv420,jpeg数据, 然后将yuv420使用opencv转成bmp。发现jpeg要比bmp模糊很多,
想问下怎么改善jpeg质量。
谢谢!

回帖(8)

吴立节

2018-6-21 14:06:03
JPEG本來就是有損壓縮,一定會比BMP畫質有差。
要提升JPEG效果,可以在編碼處修改Q值參數。詳情可見RDK包內的Jpeg encoder usr guide
举报

吴立节

2018-6-21 14:14:22
I saw your thread on e2e. Could you provide the screenshot of JPEG/BMP to let me know how much the difference are ?
举报

h1654155275.5994

2018-6-21 14:33:03
引用: sunsiyi92 发表于 2018-6-21 14:06
JPEG本來就是有損壓縮,一定會比BMP畫質有差。
要提升JPEG效果,可以在編碼處修改Q值參數。詳情可見RDK包內的Jpeg encoder usr guide

你好, 谢谢你的回复。
问下怎么修改Q? 我查看了http://wenku.baidu.com/link?url=eFDqCirAcCkf5tJ8ILeezW0wbrt0H80Nd5u7S4L7LfmnQVLiLgltqegJ5osx-Sf9t76ebE5YGznJpptFnA8aCxdTbaZQV8fuNZo-0SdpjnW 还是没找到怎么修改啊。
举报

吴立节

2018-6-21 14:49:56
引用: uuwjjfsf 发表于 2018-6-21 14:33
你好, 谢谢你的回复。
问下怎么修改Q? 我查看了http://wenku.baidu.com/link?url=eFDqCirAcCkf5tJ8ILeezW0wbrt0H80Nd5u7S4L7LfmnQVLiLgltqegJ5osx-Sf9t76ebE5YGznJpptFnA8aCxdTbaZQV8fuNZo-0SdpjnW 还是没找到怎么修改啊。

########################################################################
# Encoder Control
########################################################################

FrameWidth = 176 # Frame width should be multiple of 16
FrameHeight = 144 # Frame height should be multiple of 16

QualityFactor = 20 # Quality Setting to be used.
# Ranges between 2 and 97.
# 2 => Lowest Quality. 97 => Best Quality.

CaptureWidth = 176 # Image width to compute image pitch.
# If Capture Width is > Image Width then
# use the former for image pitch.
generateHeader = 0 # Set 1 => Generate Header Only
debugTraceLevel = 0 # Specifies the debug trace level
lastNFramesToLog = 0 # Specifies the number of past frames
# to log debug trace. If debugTraceLevel is
# greater than 0, lastNFramesToLog must range
# between 0 and 10.
tilerEnable = 1 # 1 => Luma in TILER8, 0=> Luma in Raw.
chromaTilerMode = 0 # Valid only if tilerEnable = 1
# 1 => Chroma in TILER8, 0 => Chroma in
# TILER16
举报

更多回帖

发帖
×
20
完善资料,
赚取积分