Skip to main content

Pacote de processamento de imagens

Project description

bergcastro-image-processing

Um pacote Python para processamento de imagens, incluindo funcionalidades para comparar imagens, transferir histogramas e redimensionar imagens.

Descrição

O pacote bergcastro-image-processing oferece ferramentas para:

  • Comparar imagens usando similaridade estrutural.
  • Transferir histogramas entre imagens.
  • Redimensionar imagens com diferentes proporções.

Instalação

Use o gerenciador de pacotes pip para instalar bergcastro-image-processing.

pip install bergcastro-image-processing

Uso

Comparando imagens

import numpy as np from skimage import io from bergcastro_image_processing.similarity import find_difference

Carregue as imagens

image1 = io.imread('imagem1.png') image2 = io.imread('imagem2.png')

Encontre a diferença entre as imagens

difference_image = find_difference(image1, image2)

Salve a imagem da diferença

io.imsave('diferenca.png', difference_image)

Histograma

from skimage import io from bergcastro_image_processing.histogram import transfer_histogram

Carregue as imagens

image1 = io.imread('imagem1.png') image2 = io.imread('imagem2.png')

Transfira o histograma da imagem2 para a imagem1

matched_image = transfer_histogram(image1, image2)

Salve a imagem resultante

io.imsave('histograma_transferido.png', matched_image)

Autor

Licença

Este projeto está licenciado sob a Licença MIT - veja o arquivo LICENSE para detalhes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bergcastro_image_processing-0.1.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bergcastro_image_processing-0.1.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file bergcastro_image_processing-0.1.3.tar.gz.

File metadata

File hashes

Hashes for bergcastro_image_processing-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5ac8d0267526a41b1d95c77bcba976dd46e4d72ae34c79a36d12206a150d524d
MD5 7902b2f4dc435cdb3a3490ad96def0d9
BLAKE2b-256 14d03d8de5d44dd22e6a71944567c8728186c889d00e33dac08039bd9c3ae520

See more details on using hashes here.

File details

Details for the file bergcastro_image_processing-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for bergcastro_image_processing-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0d7be38093db4bd301d347959c149451289e6291eee58fdd3a8bf9f2287c3d33
MD5 17c20bd9f826b5d9e24bda65c91c5f07
BLAKE2b-256 e7cba4510e623324002e63b58764026575d21ebbc2dbc9c903a85def01769e18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page