티스토리 뷰
간단하게 쓰면 초당 2m 속도로 움직이는 전기강판에 칼라 센서로 색상 정보를 측정해서 표면의 산화 정도를 알아내 보겠다 그런건데. 지금은 아직 시작하는 단계라서 만들어 놓은 실험 장치에 철판은 없고 대신 종이를 붙여서 테스트하고 있다. 문제는 이 센서가 흔히 사용하는 000000 ~ FFFFFF 범위의 RGB 값을 주는게 아니라 각각 0 ~ 32767 범위의 RGB component 값과 intensity(명암) 값을 따로 준다는거. 이걸 적당히 변경해서 지금 입력으로 들어오는 색을 보여주고 싶은데 이리저리 삽질을 해봐도 답이 안나오네. 매뉴얼에도 달랑 몇줄만 적혀 있어서 별로 도움이 안되고. 혹시 converting 방법 아는분 있으면 가르쳐 주세요~
The colour share arises from the share of a specific sensor value (elements ColorValues[red/green/blue]) in the sum (element sIntensity) which cannot exceed 1. The colour shares obtained upon requesting the measurement results have a value range of 0…32767. Value 32767 corresponds to a colour share of 1, the resolution thus amounts to 1/32767th.
The colour share arises from the share of a specific sensor value (elements ColorValues[red/green/blue]) in the sum (element sIntensity) which cannot exceed 1. The colour shares obtained upon requesting the measurement results have a value range of 0…32767. Value 32767 corresponds to a colour share of 1, the resolution thus amounts to 1/32767th.
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- EBS 지식채널 e
- 달삼밴드
- 밤
- 효자
- 핀란드
- 정유미
- 요시다 슈이치
- 취향
- 상엽
- abba
- 학회
- Sigur Ros
- 가족
- 엠티
- 포항
- Happy new year
- 연구실
- 포커스
- 프로젝트
- Arco
- 평해연수원
- 교육
- 경쟁
- 졸업
- Grand Mint Festival
- 홍상수
- 영화
- 루시드폴
- 요코야마 히데오
- 한겨레신문
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함