Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
fix fatal error(import problem)
Browse files Browse the repository at this point in the history
  • Loading branch information
DYGV committed Feb 5, 2020
1 parent 1310a67 commit 7677f7b
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 19 deletions.
Binary file modified png_img/encoded_lena_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions source/app.d
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import img4d;
import std.stdio, std.datetime.systime,img4d_lib.filter, img4d_lib.encode;

import std.stdio, std.datetime.systime, img4d.img4d_lib.filter, img4d.img4d_lib.encode;
mixin bitOperator;
mixin makeChunk;

Expand Down
5 changes: 2 additions & 3 deletions source/img4d/img4d.d
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module img4d.img4d;

import img4d_lib.decode, img4d_lib.encode, img4d_lib.filter, img4d_lib.color_space, img4d_lib.edge,
img4d_lib.template_matching, img4d_lib.quality_evaluation, img4d_lib.threshold;
import img4d.img4d_lib.decode, img4d.img4d_lib.encode, img4d.img4d_lib.filter, img4d.img4d_lib.color_space, img4d.img4d_lib.edge, img4d.img4d_lib.template_matching, img4d.img4d_lib.quality_evaluation, img4d.img4d_lib.threshold;

import std.stdio, std.array, std.bitmanip, std.conv, std.algorithm, std.range, std.file : exists;
import img4d_lib.fourier;
import img4d.img4d_lib.fourier;
import std.complex;
import std.math;

Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/color_space.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.color_space;
module img4d.img4d_lib.color_space;

import img4d, std.stdio, std.array, std.conv, std.algorithm, std.range;

Expand Down
6 changes: 3 additions & 3 deletions source/img4d/img4d_lib/decode.d
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module img4d_lib.decode;
module img4d.img4d_lib.decode;

import img4d, img4d_lib.filter;
import img4d, img4d.img4d_lib.filter;
import std.file : read;
import std.digest.crc : CRC32, crc32Of;
import std.stdio, std.array, std.bitmanip, std.zlib, std.conv, std.algorithm,
std.range, img4d_lib.encode;
std.range, img4d.img4d_lib.encode;

class Decode
{
Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/edge.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.edge;
module img4d.img4d_lib.edge;

import std.stdio, std.array, std.conv, std.algorithm, std.range, std.math;
import std.range.primitives;
Expand Down
4 changes: 2 additions & 2 deletions source/img4d/img4d_lib/encode.d
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module img4d_lib.encode;
module img4d.img4d_lib.encode;

import img4d, img4d_lib.decode, img4d_lib.filter;
import img4d, img4d.img4d_lib.decode, img4d.img4d_lib.filter;
import std.stdio, std.array, std.bitmanip, std.conv, std.zlib, std.digest,
std.digest.crc, std.range, std.algorithm;
import std.parallelism : parallel;
Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/filter.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.filter;
module img4d.img4d_lib.filter;

import std.stdio, std.array, std.conv, std.algorithm, std.range;
import std.parallelism : parallel;
Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/fourier.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.fourier;
module img4d.img4d_lib.fourier;

import img4d;
import std.stdio, std.array, std.conv, std.range, std.algorithm, std.math, std.complex;
Expand Down
12 changes: 12 additions & 0 deletions source/img4d/img4d_lib/package.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module img4d.img4d_lib;

public{
import img4d.img4d_lib.decode;
import img4d.img4d_lib.encode;
import img4d.img4d_lib.filter;
import img4d.img4d_lib.color_space;
import img4d.img4d_lib.edge;
import img4d.img4d_lib.template_matching;
import img4d.img4d_lib.quality_evaluation;
import img4d.img4d_lib.threshold;
}
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/quality_evaluation.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.quality_evaluation;
module img4d.img4d_lib.quality_evaluation;
import std.stdio, std.math;
import img4d;

Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/template_matching.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.template_matching;
module img4d.img4d_lib.template_matching;

import img4d;
import std.stdio, std.array, std.math,std.algorithm.iteration;
Expand Down
2 changes: 1 addition & 1 deletion source/img4d/img4d_lib/threshold.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module img4d_lib.threshold;
module img4d.img4d_lib.threshold;
import img4d;

class Threshold
Expand Down
4 changes: 2 additions & 2 deletions source/test.d
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import img4d;
import img4d_lib.decode, img4d_lib.encode, img4d_lib.filter,
img4d_lib.color_space, img4d_lib.edge;
import img4d.img4d_lib.decode, img4d.img4d_lib.encode, img4d.img4d_lib.filter,
img4d.img4d_lib.color_space, img4d.img4d_lib.edge;

import std.stdio, std.array, std.bitmanip, std.conv, std.algorithm, std.range,
std.math, std.string, std.range.primitives, std.algorithm.mutation,
Expand Down

0 comments on commit 7677f7b

Please sign in to comment.