GithubHelp home page GithubHelp logo

hyradus / imageprocessingutils Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 178 KB

Main Utilitiy to convert, resize and tile JP2 into GeoTiff, PNG, JPEG, mantaining georeference. Dedicated utility to remove black border of images by cropping max enclosed rectangle

License: GNU General Public License v3.0

Python 51.38% Dockerfile 3.48% Shell 0.45% Jupyter Notebook 44.69%
border convert crop georeference geotiff gtiff jp2 jpg png remove resize tile

imageprocessingutils's People

Contributors

hyradus avatar

Stargazers

 avatar  avatar

Watchers

 avatar

imageprocessingutils's Issues

name 'cog_cfg' is not defined

following git pull of db46c25
converting jp2 to png with LIM:n

Generating Images: 0%| | 0/1 [00:00<?, ?File/s]


NameError Traceback (most recent call last)
Input In [7], in <cell line: 1>()
85 dst_folder = dst_folder+'/'+fold_name
86 os.makedirs(dst_folder, exist_ok=True)
---> 88 main()

Input In [6], in main()
50 chunk = list(filtered)
51 if len(chunk)>0:
---> 52 tmp_df = parallel_crops(files, JOBS, bc, sqcrp, res, cell_size, lim, limit_size, cog, cog_cfg, bit, dem)
53 for df in tmp_df:
54 proc_df = proc_df.append(df,ignore_index=True)

NameError: name 'cog_cfg' is not defined

"Done" but no output image

I'm trying to convert a 1.6 GB jp2 to png (or jpeg)

When I "run all cells", it says:

Generating Images: 100%|██████| 1/1 [00:00<00:00, 5957.82File/s]

and I have a Processed.csv file containing:

Name,Status,Errors
myInput,Done,

but there is no output file.

I'm using the provided config, except IXT=jp2, OXT=png

I can see parallel_crops is supposed to be doing the work, but it returns immediately.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.