[DIP] Function plot and Image display

2023. 9. 26. 23:08·Programming/DIP
728x90
728x90

Image는 수학적으로 independent variable이 2개인 multi-variable function $f(x,y)$로 표시할 수 있음. 

  • gray-scale image일 때는 multi-variable scalar-valued function (또는 multi-variate function이라도 부른다)
  • color image라면 multi-variable vector-valued function

color image 의 경우, 함숫값이 RGB와 같이 3개의 component를 가진 vector임

 

용어관련 참고 : https://dsaint31.tistory.com/389

 

[Math] Multi-variable vs. Multi-variate and Multiple Regression

1. Multi-variable vs Multi-variate (in Regression) Regression에서 많이 사용되는 경우이며, 위의 용어에서 variable은 독립변수에 해당하며, variate는 종속변수에 해당함. variable (변수) : 독립변수에 해당. univariabl

dsaint31.tistory.com

 

이를 그리는 방법으로는 image를 일종의 signal로 보고 

  • $(x,y)$ point의 값의 크기로 표시하는 functional plot이 있고,
  • 2D matrix에 $(x,y)$ 를 열과 행의 index로 삼고, 해당 element의 값을 $f(x,y)$로 표시하는 image display방식이 있음.

ref.  Medical Imaging: Signals and Systems, 2nd ed. Pearson 의 2.2 장

다음 URL은 matplotlib를 이용하여 위와 같이 image를 표시하는 code snippet 를 보여주는 jupyter note파일임.

https://gist.github.com/dsaint31x/bf88f3dfc2491aa6594a1fe8c17f4754

 

matplotlib_how-to-use-plot_surface.ipynb

matplotlib_how-to-use-plot_surface.ipynb. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

 

'Programming > DIP' 카테고리의 다른 글

[DIP] functional plot and image plot.  (0) 2024.01.21
[DIP] Image Quality 관련 정량화 지표들: Resolution, Contrast, SNR  (0) 2023.10.04
[DIP] Radial distortion : barrel and pincushion distortions  (0) 2023.09.26
[DIP] Basic Operations (on a binary image) for Morphological Operations  (0) 2023.05.11
[OpenCV] imshow 창설정 및 종료 처리 (x버튼 처리)  (0) 2023.04.07
'Programming/DIP' 카테고리의 다른 글
  • [DIP] functional plot and image plot.
  • [DIP] Image Quality 관련 정량화 지표들: Resolution, Contrast, SNR
  • [DIP] Radial distortion : barrel and pincushion distortions
  • [DIP] Basic Operations (on a binary image) for Morphological Operations
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (748)
      • Private Life (13)
      • Programming (194)
        • DIP (112)
        • ML (26)
      • Computer (119)
        • CE (53)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (351)
        • Signals and Systems (103)
        • Math (172)
        • Linear Algebra (33)
        • Physics (42)
        • 인성세미나 (1)
      • 정리필요. (54)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (1)
        • PET Study 2009 (1)
        • 방사선 장해방호 (4)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    opencv
    numpy
    math
    Vector
    linear algebra
    Optimization
    DIP
    fourier transform
    Convolution
    signal_and_system
    SIGNAL
    Programming
    Probability
    SS
    Python
    signals_and_systems
    function
    인허가제도
    Term
    cv2
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
[DIP] Function plot and Image display
상단으로

티스토리툴바