<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Image Processing on Kelly Dev</title><link>https://kelly-chui.github.io/tags/image-processing/</link><description>Recent content in Image Processing on Kelly Dev</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 09 Feb 2026 17:36:10 +0900</lastBuildDate><atom:link href="https://kelly-chui.github.io/tags/image-processing/index.xml" rel="self" type="application/rss+xml"/><item><title>미방문록. PoC 대표 색상 추출 Picker 만들기</title><link>https://kelly-chui.github.io/posts/mibangmurok-dev-log-colorpicker/</link><pubDate>Mon, 09 Feb 2026 17:36:10 +0900</pubDate><guid>https://kelly-chui.github.io/posts/mibangmurok-dev-log-colorpicker/</guid><description>&lt;img src="https://kelly-chui.github.io/posts/mibangmurok-dev-log-colorpicker/image-001-optimized-image.webp" alt="" loading="lazy"&gt;
&lt;p&gt;음식 사진에서 색상을 뽑아서 카드의 배경색에 적용하는 기능을 구현해야 했다.&lt;/p&gt;
&lt;h2 id="처음-생각한-방향"&gt;처음 생각한 방향&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;원본 이미지를 그대로 다루면 비용이 크다.&lt;/li&gt;
&lt;li&gt;색이 너무 많으면 후보가 지저분해진다.&lt;/li&gt;
&lt;li&gt;원하는 색이 반드시 많이 나오는 색은 아니다.&lt;/li&gt;
&lt;li&gt;결과를 화면에 어떻게 보여줄지도 같이 고민해야 한다.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="직접-구현해보자"&gt;직접 구현해보자.&lt;/h2&gt;
&lt;p&gt;외부 라이브러리를 쓰기보다는, 가능한 경우에는 항상 먼저 구현해보고 그 이후에 외부 라이브러리를 쓰는 방향을 선호하기 때문에, 직접 구현해보기로 했다.&lt;/p&gt;
&lt;p&gt;학부 시절에 이미지 프로세싱을 하기도 했고 나름대로 흥미롭게 접근했다.&lt;/p&gt;
&lt;h3 id="coregraphics에서-픽셀-읽기"&gt;CoreGraphics에서 픽셀 읽기&lt;/h3&gt;
&lt;p&gt;색상을 추출하려면 결국 이미지의 픽셀 값에 접근해야 했다.&lt;/p&gt;</description></item></channel></rss>