diff --git a/src/plugins/opencv/edge/tabname.tsx b/src/plugins/opencv/edge/tabname.tsx index 84e5a4f..987a6be 100644 --- a/src/plugins/opencv/edge/tabname.tsx +++ b/src/plugins/opencv/edge/tabname.tsx @@ -1 +1 @@ -export const edgeTabName = ['OpenCV', 'Edge']; +export const edgeTabName = ['OpenCV', 'Edge / Gradients']; diff --git a/src/plugins/opencv/geometricTransformations/CVResizeComponent.tsx b/src/plugins/opencv/geometricTransformations/CVResizeComponent.tsx index 73b393f..0b6644b 100644 --- a/src/plugins/opencv/geometricTransformations/CVResizeComponent.tsx +++ b/src/plugins/opencv/geometricTransformations/CVResizeComponent.tsx @@ -3,10 +3,10 @@ import { CVFNodeProcessor } from '../../../core/types/node'; import cv, { Mat, Size } from 'opencv-ts'; import { PropertyType } from '../../../ide/types/PropertyType'; import GCStore from '../../../core/contexts/GCStore'; -import { cvInputTabName } from './tabname'; +import { cvGeoTransTabName } from './tabname'; export class CVResizeComponent extends CVFIOComponent { - static menu = { tabTitle: cvInputTabName, title: 'Resize' }; + static menu = { tabTitle: cvGeoTransTabName, title: 'Resize' }; static processor = class ResizeNode extends CVFNodeProcessor { properties = [ { name: 'dsize', type: PropertyType.Size }, diff --git a/src/plugins/opencv/others/PyrDownComponent.ts b/src/plugins/opencv/geometricTransformations/PyrDownComponent.ts similarity index 91% rename from src/plugins/opencv/others/PyrDownComponent.ts rename to src/plugins/opencv/geometricTransformations/PyrDownComponent.ts index ed916d0..c6aed63 100644 --- a/src/plugins/opencv/others/PyrDownComponent.ts +++ b/src/plugins/opencv/geometricTransformations/PyrDownComponent.ts @@ -4,14 +4,14 @@ import cv, { Size } from 'opencv-ts'; import { PropertyType } from '../../../ide/types/PropertyType'; import { BorderTypes } from 'opencv-ts/src/core/CoreArray'; import GCStore from '../../../core/contexts/GCStore'; -import { othersTabName } from './tabname'; +import { cvGeoTransTabName } from './tabname'; /** * Pyr Down Transform component and node */ export class PyrDownComponent extends CVFIOComponent { - static menu = { tabTitle: othersTabName, title: 'PyrDown' }; + static menu = { tabTitle: cvGeoTransTabName, title: 'PyrDown' }; static processor = class PyrDownNode extends CVFNodeProcessor { properties = [ { name: 'dstsize', type: PropertyType.Size }, diff --git a/src/plugins/opencv/others/PyrUpComponent.ts b/src/plugins/opencv/geometricTransformations/PyrUpComponent.ts similarity index 91% rename from src/plugins/opencv/others/PyrUpComponent.ts rename to src/plugins/opencv/geometricTransformations/PyrUpComponent.ts index e873661..ea509ef 100644 --- a/src/plugins/opencv/others/PyrUpComponent.ts +++ b/src/plugins/opencv/geometricTransformations/PyrUpComponent.ts @@ -4,14 +4,14 @@ import cv, { Size } from 'opencv-ts'; import { PropertyType } from '../../../ide/types/PropertyType'; import { BorderTypes } from 'opencv-ts/src/core/CoreArray'; import GCStore from '../../../core/contexts/GCStore'; -import { othersTabName } from './tabname'; +import { cvGeoTransTabName } from './tabname'; /** * Pyr Up Transform component and node */ export class PyrUpComponent extends CVFIOComponent { - static menu = { tabTitle: othersTabName, title: 'PyrUp' }; + static menu = { tabTitle: cvGeoTransTabName, title: 'PyrUp' }; static processor = class PyrUpNode extends CVFNodeProcessor { properties = [ { name: 'dstsize', type: PropertyType.Size }, diff --git a/src/plugins/opencv/geometricTransformations/index.tsx b/src/plugins/opencv/geometricTransformations/index.tsx index 5ab699b..d5f3998 100644 --- a/src/plugins/opencv/geometricTransformations/index.tsx +++ b/src/plugins/opencv/geometricTransformations/index.tsx @@ -1 +1,3 @@ export * from './CVResizeComponent'; +export * from './PyrDownComponent'; +export * from './PyrUpComponent'; diff --git a/src/plugins/opencv/geometricTransformations/tabname.tsx b/src/plugins/opencv/geometricTransformations/tabname.tsx index 19f743e..6f1fa3c 100644 --- a/src/plugins/opencv/geometricTransformations/tabname.tsx +++ b/src/plugins/opencv/geometricTransformations/tabname.tsx @@ -1 +1 @@ -export const cvInputTabName = ['OpenCV', 'Geometric Transformations']; +export const cvGeoTransTabName = ['OpenCV', 'Geometric Transformations / Resize']; diff --git a/src/plugins/opencv/others/index.ts b/src/plugins/opencv/others/index.ts index abcc17d..6b0cf76 100644 --- a/src/plugins/opencv/others/index.ts +++ b/src/plugins/opencv/others/index.ts @@ -2,5 +2,3 @@ export * from './DistanceTransformComponent'; export * from './EqualizeHistComponent'; export * from './BackgroundSubtractorMOG2Component'; export * from './GrabCutComponent'; -export * from './PyrDownComponent'; -export * from './PyrUpComponent';