필터 지우기
필터 지우기

make the boundaries smoother while still keeping the bit depth

조회 수: 1 (최근 30일)
sahar kheibarihafshejani
sahar kheibarihafshejani 2023년 5월 11일
댓글: sahar kheibarihafshejani 2023년 5월 19일
Hi there! I modified my image by reducing its gray depth from 255 to 16. However, this caused some unpleasant flickering at the boundaries when I tested the image on my display. The changes at the boundaries are quite noticeable. I'm wondering if there's a way to make the boundaries smoother while still keeping the bit depth between 0 and 15 bits.

답변 (1개)

Sarthak
Sarthak 2023년 5월 17일
Hi Sahar,
As per my understanding, you can make the boundaries smoother by using some image processing technique. One such technique can be error diffusion. Error diffusion distributes the error across neighbouring pixels giving the image a more natural appearance instead of just rounding the pixel value to the closest available color. You can write your own function or leverage this function from file exchange as well. You can also use any such other techniques to make your image boundaries smoother.
Attaching a link for your reference
  댓글 수: 1
sahar kheibarihafshejani
sahar kheibarihafshejani 2023년 5월 19일
but seems completely change the image. i for me contast of image is very important

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by