INRTU_project
Данный репозиторий создан для работ по предмету “Проектная деятельность” Иркутского Национально-Исследовательского Технического Университета
После окончания работы утилит, в папке запуска появится текстовый файл с названием исходного файла.
Данные о пикселях, в текстовом файле, записаны в формате RGBA. Начальный пиксель левый нижний, конечный правый верхний
Экскурс по папкам
Windows_progs - готовые программы под Windows
Linux_progs - готовые программы под Linux
Sources - исходные коды
examples&resources - примеры результатов работы некоторых утилит
ВНИМАНИЕ !!!!! Реализация метода Ниблека работает только с серыми изображениями
программа bmp_to_text работает только с изображениями в bmp формате c глубиной цвета 24bit
Убедитесь в правильном определении размера изображения утилитами
Инструкция 1) в папку с программой, вставить файл данных (.bmp для bmp_to_text и .txt для остальных программ) 2) запустить программу 3) ввести полное имя файла 4) ввести дополнительные данные если они потребуются
Сборка
Для всех проектов:
cd Sources g++ -static %filename%
Для оператора Кенни
cd ./Sources/Canny g++ -static main.cpp Canny.cpp
This repository was created for the works on the subject “Project Activity” of Irkutsk National Research Technical University
After the utilities are finished, a text file with the name of the source file will appear in the startup folder.
The pixel data, in the text file, is written in RGBA format. The starting pixel is lower-left, the ending pixel is upper-right
A tour of the folders
Windows_progs - ready programs for Windows
Linux_progs - ready programs for Linux
Sources - source codes
examples&resources - examples of some utilities’ results
ATTENTION !!!!!
Implementation of Niblack’s method works only with gray images
bmp_to_text program works only with images in bmp format with 24bit color depth.
Make sure that the utilities define the image size correctly
Instructions
1) in the folder with the program, insert the data file (.bmp for bmp_to_text and .txt for other programs)
2) start the program
3) enter the full name of the file
4) enter additional data if required
Building
For all projects:
cd ./Sources g++ -static %filename%
For Canny edge detection project:
cd ./Sources/Canny g++ -static main.cpp Canny.cpp