Ir para o conteúdo
Node packVerificadoExterno
Fonte aberta

ComfyUI-Fisheye-effects

Add and remove fisheye distortion effect to images

Mantenedor@KidevUnratednota

Perfil do pacote

Status
Verificado
Publicador
@Kidev
Fonte
GitHub

README

ComfyUI Fisheye Effects Nodes

Provides tools for applying and removing fisheye lens effects from images.

Example

Features

  • FisheyeNode: Apply fisheye distortion to images
  • DefisheyeNode: Remove fisheye distortion from images
  • Multiple distortion mappings: equidistant, equisolid, orthographic, stereographic
  • Format options: fullframe and circular
  • Adjustable FOV and PFOV parameters
  • Adjustable center
  • Option to always display the full image uncropped

Installation

Using ComfyUI Manager

You can simply find and install this node from the "Custom Nodes Manager" inside the ComfyUI Manager menu

Manually

  1. Clone this repository into your ComfyUI custom_nodes folder:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Kidev/ComfyUI-Fisheye-effects
    
  2. Install the required dependencies:

    cd ComfyUI-Fisheye-effects
    python install.py
    # Or using venv of ComfyUI
    source [venv]/bin/activate
    pip install -r requirements.txt
    
  3. Restart ComfyUI

Usage

The nodes will appear in the node menu under the "image/processing" category:

  • "Apply Fisheye Effect"
  • "Remove Fisheye Effect"

Parameters

  • image: Input image
  • mapping: Distortion mapping mode (equidistant, equisolid, orthographic, stereographic)
  • format: Output format (fullframe, circular)
  • fov: Field of view in degrees (0.0-360.0)
  • pfov: Perspective field of view in degrees (0.0-360.0)
  • entire_image: Always show the full image uncropped not matter the FOV/PFOV values (True-False)
  • wcenter: Horizontal center of the effect (0.0-1.0)
  • hcenter: Vertical center of the effect (0.0-1.0)

Examples

Check the examples folder for a sample workflow and images demonstrating various use cases. Example

Nós neste pacote

Nós 2
  • Defisheye
  • Fisheye

Fontes

3 fontes
GitHubFonteVersão 9fe048a5c6d3881e7007a2751328c4828377a63e
github.com/Kidev/ComfyUI-Fisheye-effects

Verificado 9 de out.

GitHubFonte
github.com/Kidev/ComfyUI-Fisheye-effects

Verificado 2 de nov.

Trechos de fonte

1 trecho

Source context: Repo Kidev/ComfyUI-Fisheye-effects