Skip to content

OjimaruLife/Iro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iro — Photo to LUT

by OJIMARU

好きな写真の雰囲気を、動画用LUTとして書き出すツール A tool to extract the mood of your favorite photos as a video LUT


目次 / Table of Contents


日本語

特徴

  • 写真モード — 好みの写真を選ぶだけでLUTを生成
  • HALDモード — 自作のLightroomプリセットを正確にLUTに変換
  • Before/Afterプレビュー — 生成後にフレーム画像で確認してから保存
  • DaVinci Resolve対応 — 直接LUTフォルダに書き出し可能
  • 設定の保存・復元 — 前回の作業状態を自動で記憶

必要なもの

  • macOS 10.13以降
  • Python 3.11以降(無料)

※ その他の必要なライブラリはセットアップ時に自動インストールされます。


セットアップ手順(初回のみ・約10分)

STEP 1 — Python3 をインストールする

  1. https://www.python.org/ をブラウザで開く
  2. 「Downloads」→「macOS」から最新版をダウンロード
  3. ダウンロードしたファイルをダブルクリックしてインストール

STEP 2 — setup.command を実行する

ライブラリの自動インストールと、起動スクリプトの貼り付け手順の案内を行います。

  1. ターミナルを開く → Spotlight(Command + Space)→「ターミナル」と入力 → Enter

  2. ターミナルに「bash 」と入力(最後にスペースを1つ)

  3. Finderで Iro フォルダを開き、「setup.command」をターミナルにドラッグ&ドロップ

  4. Enter を押す

  5. ライブラリのインストールが完了すると、次のステップの手順が画面に表示されます

STEP 3 — Automator で起動アプリを作る

Automator は Mac に標準搭載されているアプリです。

  1. Automator を開く → Spotlight(Command + Space)→「Automator」と入力 → Enter

  2. 新規書類を作成する → 「新規書類」をクリック → 「アプリケーション」を選択 → 「選択」をクリック

  3. シェルスクリプトを追加する → 左側の検索欄に「シェル」と入力 → 「シェルスクリプトを実行」が表示されたらダブルクリック

  4. スクリプトを入力する → 右側に表示されたテキスト欄の内容を全て消す → STEP 2 で表示された2行のコマンドをコピーして貼り付ける

  5. 保存する → Command + S を押す → ファイル名に「Iro」と入力 → 保存先を「デスクトップ」に変更 → 「保存」をクリック

  6. 初回起動 → デスクトップに「Iro」アプリが作成される → アプリを右クリック → 「開く」→「開く」 → ※ 初回のみこの操作が必要です → 2回目以降はダブルクリックで起動できます


使い方

写真モード(初心者向け)

好みの雰囲気の写真からLUTを生成します。

項目 説明
Photo 雰囲気を参考にしたい写真
Frame LUTをかけたい動画のフレーム画像(Slog3→Rec709変換済みを推奨)
Strength LUTの適用強度(推奨: 20〜50%)
LUT Size 17=確認用 / 33=標準 / 64=高精度
Filter 追加のトーン調整

推奨ワークフロー(DaVinci Resolve)

① Slog3素材をカラースペース変換(Slog3 → Rec709)
② 変換後のフレームを静止画書き出し → Frameに指定
③ IroでLUT生成(Strength 30〜50%)
④ DaVinciでLUT適用(キー出力 100%)
⑤ シーンごとに微調整

HALDモード(中級者向け)

自作のLightroomプリセットをLUTに変換します。精度が高く法的にも安全な方法です。

  1. 「HALD を書き出す」でPNGを保存
  2. LightroomでHALD PNGにプリセットを適用 → PNG形式で書き出し
  3. 素のHALDと加工済みHALDを読み込んでCreate LUT

※ 局所補正・AIマスク・ノイズ除去はLUTに反映されません。グローバル補正のみが対象です。

Filter

Filter 効果
Standard マッチングをそのまま適用
Night シャドウ持ち上げ・暖色保護。夜間・人工光向け
Day ハイライト抑制・彩度微増。昼間・屋外向け
Film S字コントラスト・クロスプロセス風。フィルム調

著作権・ライセンス

Copyright © 2026 OJIMARU. All rights reserved.

本ツールは個人・商用問わず自由に使用できます。 再配布・改変の際は著作権表示を残してください。無保証です。

用途 可否
自分の動画・写真への適用(個人・商用) OK
LUTファイルの販売・配布(自作プリセット経由) OK
SNS写真からLUTを生成して販売 グレーゾーン・要注意
他者のプリセット商品を元にLUTを販売 NG

English

Features

  • Photo Mode — Generate a LUT from any photo in seconds
  • HALD Mode — Convert your own Lightroom presets into LUTs with high accuracy
  • Before/After Preview — Review results on your footage before saving
  • DaVinci Resolve Support — Export directly to the LUT folder
  • Settings Memory — Automatically restores your last session

Requirements

  • macOS 10.13+
  • Python 3.11+ (free)

※ Other required libraries are installed automatically during setup.


Setup (first time only · approx. 10 min)

STEP 1 — Install Python3

  1. Go to https://www.python.org/ in your browser
  2. Click "Downloads" → "macOS" and download the latest version
  3. Double-click the downloaded file and follow the installer

STEP 2 — Run setup.command

This installs the required libraries and guides you through the next step.

  1. Open Terminal → Press Command + Space, type "Terminal", press Enter

  2. Type "bash " in Terminal (with a space at the end)

  3. Open the Iro folder in Finder and drag "setup.command" into Terminal

  4. Press Enter

  5. After installation, a dialog will appear with the commands for the next step

STEP 3 — Create a launch app with Automator

Automator is a free app included with every Mac.

  1. Open Automator → Press Command + Space, type "Automator", press Enter

  2. Create a new document → Click "New Document" → Select "Application" → Click "Choose"

  3. Add a shell script → Type "shell" in the search box on the left → Double-click "Run Shell Script"

  4. Enter the script → Delete everything in the text field on the right → Copy and paste the 2-line command shown in the STEP 2 dialog

  5. Save → Press Command + S → Name it "Iro" → Change the save location to "Desktop" → Click "Save"

  6. First launch → "Iro" app appears on your Desktop → Right-click the app → "Open" → "Open" → ※ This is only required the first time → After that, double-click to launch


How to Use

Photo Mode (Beginner)

Field Description
Photo Reference photo with the look you want
Frame A still frame from your footage (Slog3→Rec709 converted recommended)
Strength LUT intensity (recommended: 20–50%)
LUT Size 17=draft / 33=standard / 64=high quality
Filter Additional tone shaping

Recommended workflow (DaVinci Resolve)

① Convert Slog3 footage (Slog3 → Rec709)
② Export a still frame → use as Frame input
③ Generate LUT in Iro (Strength 30–50%)
④ Apply LUT in DaVinci (Key Output 100%)
⑤ Fine-tune per scene as needed

HALD Mode (Intermediate)

  1. Click "Export HALD" to save a HALD PNG
  2. Open in Lightroom, apply your preset, export as PNG
  3. Load both the original and graded HALD, then click Create LUT

Note: Local adjustments, AI masking, and noise reduction are not captured.

Filters

Filter Effect
Standard Pure color transfer
Night Lifted shadows, warm tone protection
Day Highlight rolloff, saturation boost
Film S-curve contrast, cross-process color shift

Copyright & License

Copyright © 2026 OJIMARU. All rights reserved.

Free to use for personal and commercial purposes. Please retain the copyright notice when redistributing or modifying. Provided as-is, without warranty.

Use case Status
Apply to your own videos/photos OK
Sell or distribute LUTs (own presets) OK
Generate LUTs from others' photos and sell Gray area
Sell LUTs based on others' commercial presets Not allowed

Technical Notes

  • Color algorithm: Reinhard color transfer (CIE Lab)
  • Output format: Adobe .cube
  • Input formats: JPEG / PNG / TIFF / WebP
  • Platform: macOS (Windows/Linux not officially supported)

Iro (色) means "color" in Japanese. Made with care by OJIMARU.

About

Generate video LUTs from photos or Lightroom presets — by OJIMARU

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors